Cal Poly Computer Science Department
CPE 315 Simulator (SIM)
Note: SIM was written at Michigan State University by
Dr. Richard Reed and his students. They have kindly given us permission to
use SIM at Cal Poly.
You can read the Michigan State
lab notes (Postscript file) if you wish. Some of it
doesn't apply at Cal Poly and much of it is unnecessary detail but there is
a lot of relevant material and several examples.
Platform
SIM runs on Linux (Fedora Core 5)
It is not an executable; rather it is a library of method calls.
The user calls appropriate methods and builds an executable.
Documentation
Getting Started
Schematic Descriptors
Signals
Hierarchical Modules
SIM Command Line
SIM Interactive Control
Bugs and Gotchas
If you find a bug or a problem, please let Prof. Stearns know. This will
benefit your fellow students.
Resources
SIM library signatures (links to several examples)
8 bit adder example
SIM files
If you wish to run SIM on your own machine, install Fedora Core 5.
Place the following files in directories LIBDIR and INCDIR specified in your makefile.
Do NOT try to create a makefile; copy the lab makefile and modify LIBDIR and INCDIR.
Copy these files from the /home/dstearns/simbin directory.
libsim.a
all files in include directory
Last updated 1/5/08