IRSIM

You must have setup you .login to source the cdsmeta file. See Setup.

Users Guides and Examples.

Online Manual: Provide by Case Western Reserve University

Online Tutorial: Provide by Case Western Reserve University

Back to U-MASS Design-Flow
Back to U-MASS Cadence Tools

IRSIM : Logical Verification Example

1. To generate a test file of your circuit follow the procedure extracting an netlist file in Cadence. This creates a netlist which you can convert to one compatible with IRSIM. Run the perl code schm2sim.pl found in your sim directory.

2. Suppose the following extracted netlist is in the directory sim/nor and schm2sim.pl is in sim/.

* net 1 = vdd!
* net 0 = gnd!
* net 2 = /b
* net 4 = /a
* net 5 = /c
* net 7 = /pu1
.model model1 pmos level=13
* pmos(0) = /M3
m0 7 2 1 model1 w=360e-9u l=960e-9u ad=216e-15 as=216e-15
+pd=1.92e-6 ps=1.92e-6 FALSE m=1
* pmos(1) = /M2
m1 5 4 7 model1 w=360e-9u l=960e-9u ad=216e-15 as=216e-15
+pd=1.92e-6 ps=1.92e-6 FALSE m=1
.model model2 nmos level=13
* nmos(2) = /M1
m2 5 2 0 model2 w=360e-9u l=240e-9u ad=216e-15 as=216e-15
+pd=1.92e-6 ps=1.92e-6 FALSE m=1
* nmos(3) = /M0
m3 5 4 0 model2 w=360e-9u l=240e-9u ad=216e-15 as=216e-15
+pd=1.92e-6 ps=1.92e-6 FALSE m=1

Use schm2sim.pl as show here.

example >../schm2sim.pl
Input read from...netlist
Output is in...sch.sim

The resulting file will have the following format.

| units: 100 tech: spice2sim format: MIT
| gate drain source l w
p b pu1 vdd .960 .360
p a c pu1 .960 .360
n b c gnd .240 .360
n a c gnd .240 .360

3. Now you are ready to run IRSIM. Use the tutorial above to get the hang of all the commands. I like to run IRSIM with a command file. Here is one to test this nor gate.

|sim.cmd stepsize 50
analyzer a b c
vector in a b
set in 00
s
set in 01
s
set in 10
s
set in 11
s

4. Run the simulation

example > irsim ../scmos.prm sch.sim -sim.cmd

The three arguments include the scmos.prm file located in the sim directory, your circuit and command files. Here is the output:

5. IRSIM can potentially approximate timing and power information for your system please refer to the references.