Sim+ : Creating and Executing Simulation
Sim+ is a 'terminal application' - which means there is no graphical user interface. It is recommended to run the Sim+ translator (as well as the C++ compiler and the executable simulation program) from a DOS window.
If you follow the installation instructions, then you should have the following directories on your hard drive:
c:\simplus\bin
c:\simplus\work\orcadsdt
c:\simplus\work\actcad
c:\simplus\work\microsim
First thing after you open a DOS window, you should run the batch file
'c:\simplus\bin\setenv.bat'
this will set the PATH and other environment variables.
Depending on the EDA package you are using, you should change directory to one of the
'c:\simplus\work\...' subdirectories, and run one of the translation/compilation batch
files -
| Batch file | EDA package |
|---|---|
| transsdt.bat | OrCAD SDT |
| transact.bat | Aldec Active-CAD |
| microsim.bat | MicroSim Design Lab |
All these batch files are located in 'c:\simplus\bin' , it is recommended that you look at the appropriate batch file and understand it.
Note: the translation and compilation can only take place after the simulated system's
netlist have been created, the above batch files assume certain name and path for the
netlist files -
| EDA Package | netlist file full name (including path) |
|---|---|
| OrCAD SDT | c:\simplus\systems\OrCAD\SDT\systemname\system.net |
| Aldec Active-CAD | c:\simplus\systems\ActCAD\systemname\systemname.net |
| MicroSim Design Lab | c:\simplus\systems\MicroSim\systemname\top.tan |
remember to replace systemname with the actual name of the system you wish to
simulate.
These batch files also copy the 'user.h' file (if exists) from the netlist file directory
to the working directory, so you may maintain a customized header file for each of the
simulated systems you are working on, and they will automatically be used by the batch
file.
Example:
To create and run the 16 points QAM simulation from the example pages -
cd \simplus\work\orcadsdt
load 'pse.sig';
plot(pse);