[Prev]

2.3 Running the simulation

The simulation script are simulated using ocean. Start ocean within the testbench directory.

 > cd testbench1
 > ocean

Load the EDDA skill functions using

 > load "log_data.il"

Now we can run the simulation using

 > sim "script.ocn"

If we don't specify a corner the default corner "typ" will be used. To specify another corner we can type

 > sim "script.ocn" "fast"

Assuming we have a cornerfile named "fast" in the corners directory.

If the schematic is modified we recreate the netlist from Analog artist using the menu Simulation->Netlist->Recreate

To rerun the simulation script using the previous script file and corner it is enough to type

 > sim

A batch simulation simulating many corners can be created, for example by creating a file all containing the lines

 sim "script.ocn" "typ"
 sim "script.ocn" "fast"
 sim "script.ocn" "slow"

and simulating this file using

 sim "all"

will simulate over corners typ, fast and slow.


[Prev | Next]