Functional Simulation with Accusim


1. Create a schematic of a CMOS inverter using DA in SDL components
 
1.1  Create a directory under your home for the VLSI class and keep all of your work in there:
>> mkdir egre533
>> cd egre533
Be sure and change into this directory after you login and before you create any new designs for this class.

1.2  Create a directory for this lab and move into it. Then start Design Architect, IC version (DAIC):

>> mkdir lab1
>> cd lab1
>> adk_daic &
1.3  In DAIC open a sheet called inv and click on the ADK IC Library item in the palette to bring up the library of transistors that you will use to develop your IC cells. Use your knowledge of DAIC to create a schematic of an inverter using PMOS and NMOS devices, VDD, GND, and portin and portout components. Don't forget to connect the body contacts of the transistors and change the width of the PMOS device to 10 from the default. The resulting schematic should look like the one below:

1.4  Check and save the sheet, fixing any errors then exit DAIC.
 

2. Simulate the transient response of the inverter
  3. Simulate the switching characteristeristics of the inverter
Now you will change the simulation to simulate the DC switching characteristics of the inverter.  You will program the simulator to sweep the input voltage from 0V to 5V and plot the resulting output voltage.  This plot of VOUT vs. VIN will show the switching threshold and noise margin for your design.  You will need to delete the FORCE and PROBES from the previous exercise and setup a DC analysis instead of a transient analysis.

3.1  Delete the previous FORCE by left clicking on the Forces button under Setup then choosing Edit/Delete/Show.  Select the force in the dialogue box by left clicking once on it then left click on the Delete Selected button.  The force should be erased.  Then left click on the Exit button.

3.2  Delete the previous PROBES by left clicking on the Probes/Plots button under Setup then choosing Edit.  Select then delete each entry by first left clicking once on the entry to select it then left clicking on the Delete button to delete it.  When you have deleted all probes from the previous exercise then left click the OK button.

3.3  Add a DC force to the input signal (you will need a DC force to sweep for voltage characteristics) by first selecting the in1 signal in the schematic window.  Then left click on the Forces button under Setup and choose Add.  Use the DC tab and make the dialogue box look as shown then left click OK.  You have defined a DC force necessary for the sweep.

3.4  Left click on the Analyses button under Setup.  Uncheck Transient and check DC.  Then left click on the Setup button beside DC.  Fill out the Setup DC Analysis dialogue box as shown then left click OK.  Left click OK in the Setup Simulation Analysis dialogue box also.

3.5  Setup the signals to plot.  This time you want both in1 and out1 plotted on the same chart (normal for viewing transfer characteristics).  First select in1 by left clicking on it in the schematic window.  Next hold down the control key on the keyboard and left click on the out1 signal.  Both signals should now be selected (dashed).  Now left click on the Probes/Plots button under Setup and choose Save Selected.  Mkake sure the resulting dialogue box looks as before (Save Voltage selected, Plot Items checked) then left click on the OK button.  This time, since you have specifed more than one signal to plot, the simulator will bring up an additional dialogue box.  Fill it out as shown below then left click OK.

3.6  Run the DC sweep by left clicking on the Run ELDO button under Execute.  As before, wait for the netlist window then the simulation window to open and close.  After a few seconds the waveform window should open and you should see a plot similar to the one below.  As before, if you do not get the desired results then left click on the ASCII Files button under Results and choose View Log.  Look through the log file to find your errors and correct them.


 

3.7  Close the EZ wave window.  Then select the End Sim button under schematic sim to terminate simulation.  Then close your DAIC window.
 
 

Based on the tutorial prepared by David Zar.