Post layout simulation is done in the Lsim simulator. To use the Lsim simulator you need to create a
stimulus file with the name layout_file.i where layout_file is replaced with the name of
your layout. A sample stimulus file is given in the file /nfs/XHK0/class/EE571/examples/lsim.i
. You can
copy this file and edit it. To run the Lsim simulator type: lsim (layout\_file)
where
(layout_file) is the name of your layout. There are several options that you can pass to the lsim
script. The two most important ones are:
-mode adept
This tells Lsim to use a true analog model for transistors. Otherwise Lsim
uses a resistive switch model for the simulation.-w (directory)
This tells Lsim to use a the directory (directory) for its temporary
spool files. Lsim will otherwise use the /usr/tmp directory on your current node for those files. For
large simulations there may not be space on all nodes for those files and they should be redirected to a
node with more free disk space.