Things that might be useful for IRSIM,
- The manual can be found here
-
Q: I want to save the state of my simulation, so that I don’t have to keep running my dorky setup command file every time. How can I do this?
There are 2 ways to save the state of a simulation in irsim. The first way saves the state of the sim as well as the history. The second way only saves the state.
The command dumph will dump the history of the simulation to a specified file. The readh command will read that history back out. Please take a look at the irsim manual page for specifics.
The > command will write only the state (not the history) of a simulation to a file. The < command will read this back out. This is especially useful for running very long tests, where the history buffer of irsim gets huge. You can break up your test and at the end of each piece, write the state to a file. When you start up the next piece, just read that state back in.
Q: I have a vector nodes from a7 to a0. Is there easy way to define vector without typing all vector nodes?
vector A a{7:0} is equivalent to
vector A a7 a6 a5 a4 a3 a2 a1 a0 - In the analyzer window you can print the graph to postscript using the print|file option (obviously)
- This pageis good, this one is brief but has some good guidance notes.
- Comments are preceded by ‘//’, Text to be output by IRSIM when it is run is preceded by |
- This article is totally useless for anyone not doing the Digital Chip Design course in the 4th Year, the website of which is here

