Skip to content
Create your model for Proteus VSM CAD (7/8) in Lua!
Branch: master
Clone or download
Latest commit 7be72c7 Mar 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MSVC
bin2source fixed build Feb 11, 2018
dll
examples
externals Added UART module Feb 26, 2018
include UART and FIFO modules are in touch now Feb 26, 2018
src UART and FIFO modules are in touch now Feb 26, 2018
.gitattributes Fixed build under Windows with mingw32 Feb 11, 2018
.gitignore Fixed build under Windows with mingw32 Feb 11, 2018
.gitmodules
.travis.yml
Doxyfile Fixed build under Windows with mingw32 Feb 11, 2018
LICENSE
Makefile
README.md Fixed build under Windows with mingw32 Feb 11, 2018
relgen.sh Fixed build under Windows with mingw32 Feb 11, 2018

README.md

OpenVSM

Build Status

OpenVSM is a model sumulation engine with C and Lua API for Proteus 7/8 CAD

Lua logo

Powered by Lua http://www.lua.org/

Documentation can be found at http://pugnator.github.io/openvsm

Prebuild DLL and symbols or installer are in Release section

Written in C and gcc-ready (mingw/cygwin) for Linux and Windows

  • You don't need to recompile anything - one DLL for all models in Lua
  • You can create your model as a standalone DLL or use DLL and Lua script together while prototyping
  • You can write your own Lua scripts that will be precompiled and built-in into DLL
  • Function prototypes have similar syntax in C and Lua API
  • Designed with hope to make simulation as simple as possible for electronics enthusiasts

Visit 'examples' directory for sample project files. There is no tutorial yet but I'm working on it

Please kindly send all your remarks and ideas to my mail [o o kami (at) ma il.ru] or submit a bug or feature request

There are plenty to do!

Version

0.2

Generally you need to compile DLL from the sources only if you want to include custom scripts.

Installation

  • Download OPenVSM MSI installer from release section
  • Run installer and install it
  • Visit exmples for some example projects

How to build

  • Install mingw32 and cygwin for you platform
  • Install Lua 5.3 or higher compiler
  • Clone: https://github.com/Pugnator/openvsm.git openvsm
  • Change to the openvsm
  • Issue "make" command in Linux or "mingw32-make" under Windows
  • Create environment variable containing path to the script directory, issuing the following command:
setx LUAVSM "C:\script"
  • In this case you should place your model script to c:\script directory

License

GPL 2

You can’t perform that action at this time.