Professional Documents
Culture Documents
Simulation For An Inverter Circuit Using The Design Architect-IC (DA-IC)
Simulation For An Inverter Circuit Using The Design Architect-IC (DA-IC)
Copyright2006
Table of Contents
1. Objective..........................................................................................................................4
2. Basic Test Circuit Creation..............................................................................................5
Adding Instance to the test circuit .................................................................................. 5
Setting up the simulation parameters..............................................................................7
Setting up the simulator / Viewer....................................................................................8
2. DC Analysis...................................................................................................................10
Editing and simulating the test circuit .......................................................................... 10
Setting up the simulation parameters.............................................................................11
Executing the simulation setup......................................................................................13
Viewing the results using EZWave viewer................................................................... 13
Printing the plots:...........................................................................................................14
3. DC Operating Point Analysis........................................................................................ 16
Editing and simulating the test circuit .......................................................................... 16
Setting up the simulation parameters.............................................................................16
Viewing the results using EZWave viewer................................................................... 17
Power consumption of the circuit..................................................................................18
4. Transient Analysis......................................................................................................... 20
Editing and simulating the test circuit .......................................................................... 20
Setting up the simulation parameters.............................................................................21
Setting up the signals to be probed................................................................................22
Executing the simulation setup......................................................................................23
Viewing the results using EZWave viewer................................................................... 23
5. AC Analysis...................................................................................................................26
Editing and simulating the test circuit........................................................................... 26
Setting up the simulation parameters.............................................................................27
Setting up the signals to be probed................................................................................28
Copyright2006
Executing the simulation setup.....................................................................................28
Viewing the results using EZWave viewer................................................................... 28
Copyright2006
1. Objective
This Tutorial contains a step-by-step procedure for simulating an inverter circuit in the
Mentor Graphics Design Architect tool. It covers DC Analysis, Transient Analysis, DC
Operating Point Analysis and AC Analysis simulation of the inverter circuit.
This tutorial assumes that the schematic of the inverter is already created. For help with
creating schematic and symbol, please refer to Schematic Entry tutorial for Inverter
Circuits.
Copyright2006
2. Basic Test Circuit Creation
Open icstudio from the command prompt as mentioned in the Schematic Entry
tutorial
Create a new view in the created library (Demo_Inverter) and name it as
test_inverter with view type as Schematic. We will use this sheet to create basic test
circuit required for the simulations.
Copyright2006
iii. Add a PORTIN, PORTOUT, VDD and Ground from Generic Lib
iv. Name the ports as INPUT & OUTPUT respectively and wire them to the IN and
OUT pins of the inverter symbol as shown in the figure.
v. Add a DC source by selecting IC_Library Sources Library DC.
vi. Highlight the DC source, right click mouse, PropertiesEdit to modify the
voltage value of the source from 1V to 3.3V.
vii. Connect the positive node of the DC source to VDD symbol and negative terminal
to the Ground symbol. The circuit should look like as shown in the figure below.
Copyright2006
viii. Click Check & Save the sheet. And then click on simulation from the
schematic_edit palette on the RHS to enter the simulation mode. A popup window
appears with a Warning message that the schematic will be closed. Click OK to
accept default options.
The screen now would look like the figure included below
Copyright2006
Setting up the simulator / Viewer
Copyright2006
Click on check & save and then click on end simulation to get back in schematic_edit
mode.
Copyright2006
2. DC Analysis
For DC analysis, we sweep the input voltage from 0V to 3.3V and view its effect on the
output.
1) Open the test_inverter sheet that you had created with the symbol of your
inverter and make sure that you are in schematic_edit mode.
2) Add a DC voltage source between the INPUT pin and Ground as shown in the
following figure. Name this source as VIN. (Note that the value of the DC voltage
source is 1V, by default. For DC analysis, this value does not matter and so you
can leave it as it is!)
Copyright2006
3) Click Check & save the sheet and then enter the simulation mode by clicking on
simulation from the schematic_edit palette on RHS. Click OK to accept default
options in the Warning popup window appeared.
Copyright2006
Select the wires connected to INPUT and OUTPUT pins on the sheet.
Click Setup Outputs Save from the Menu Bar. This opens the Set
Plots dialog box.
Select Voltage for the Plot type and from Advanced tab select DC for the
Analysis type and click OK.
Setup Difference Plot window will appear. Select individually for the
plot type.
Copyright2006
Executing the simulation setup
Copyright2006
To view the results of your DC analysis in EZWave, do the following:
On the schematic_sim palette:
Click Results -> View Waves. A new window will open with waveform plot
as shown below.
Copyright2006
Copyright2006
3. DC Operating Point Analysis
In this section, you will find the DC operating point of several nodes in the circuit and
look at the transfer function of the input.
Open the test_inverter sheet that you had created with the symbol of your inverter
and make sure that you are in schematic edit mode. The setup is exactly similar to
the DC Analysis setup and we will carry out DCOP analysis for input voltage of
1V.
Add a DC voltage source between the INPUT pin and ground as shown in the
following figure. Name this source as VIN and make sure that its value is 1V.
Copyright2006
Click ExecuteNetlist and then Run ELDO.
Copyright2006
Current and Voltage values at various nodes will be displayed as shown in the above
figure.
Alternately, you can select voltages or current option, if you want to see only voltages or
currents.
The power consumption of the circuit for the given operating point is calculated
during the DCOP simulation.
To check it out,
Click on Results ASCII Files, right click mouse button View Log.
Scroll down in the log window to find the information about the power
consumption as shown in the figure below:
Copyright2006
Copyright2006
4. Transient Analysis
In this section, you will provide a pulse at the input and view the input & output
waveforms.
Copyright2006
Check & save the sheet and then enter the simulation mode by clicking on
simulation from the schematic_edit palette on RHS. Click OK to accept default
options in the Warning popup window appeared.
You need to setup the signals to be plotted and probed in order to view the results after
simulation. To view the input and output waveforms of your inverter,
Highlight INPUT and OUTPUT wires on the sheet
Click Setup Wave Outputs. Select Voltage for Plot Type; check TRAN for
Analysis type in Advanced and then click OK
Setup Difference Plot window will appear select individually for the plot type.
Copyright2006
Executing the simulation setup
Copyright2006
To view the Input & Output waveforms separately, select V (OUTPUT) from
Currently Open database test_inverter_eldonet TRAN V
(OUTPUT) and click delete and then right click on V (OUTPUT) and click
PLOT. Two different plots as shown below will appear.
Copyright2006
Copyright2006
5. AC Analysis
In this section, you will run AC analysis and trace and measure your results. In AC
Analysis, the input signal is swept over a range of frequencies. First you have to disable
the earlier Transient setup that you applied during the transient analysis.
1) Open the test_inverter sheet that you had created with the symbol of your
inverter and make sure that you are in schematic_edit mode.
2) Add an AC voltage source between the INPUT pin and Ground as shown in the
following figure. Name this source as VIN.
3) Change the value of Mag field to 3.3 V
Copyright2006
4) Click Check & save the sheet and then enter the simulation mode by clicking on
simulation from the schematic_edit palette on RHS. Click OK to accept default
options in the Warning popup window appeared.
Copyright2006
Setting up the signals to be probed
You need to setup the signals to be plotted and probed in order to view the results after
simulation. To view output waveforms of your inverter,
Highlight INPUT and OUTPUT wires
Click Setup Output Save Selected components tab.
Check AC, select DB-Phase, and then click OK.
Setup Difference Plot window will appear select individually for the plot type.
Select Results -> ASCII Files -> View Log from the palette menu to see netlist.
Make sure it does not show any ERROR.
To view the results of your AC analysis, invoke the EZWave viewer by clicking
on Results -> View Waves
Copyright2006
Finally I
understand
this stuff!
Copyright2006