Difference between revisions of "Tutorials:Cadence:TransistorDCAnalysis"

From EDA Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= Schematic Simulation of Test Transistor =
 
= Schematic Simulation of Test Transistor =
  
In the schematic of test_transistor, left click '''Editing:Launch → ADE L'''. The spectre window should appear.
+
In the schematic of test_transistor, left click '''Schematic Editor: Launch → ADE L'''. The Spectre window should appear.
  
: [[File:Tutorials-Cadence-Test_transistor7.gif]]
+
: [[File:Tutorials-Cadence-TransistorDCAnalysis-001.png]]
  
We want to specify the type of analysis we want to  perform.  We are going to select a DC analysis. Left click <strong>Analog Artist:Analyses-&gt;Choose?</strong> Click on the <strong>dc</strong> button for Analysis. Click '''Component Parameter''' button for sweep variable. In the '''Sweep Range''', fill '''0  and  5V''' for the start and stop. Left click on the '''Select Component'''.  Now go back to the schematic and select the voltage source you want to sweep. Click on the vdc that is connected to the input of the inverter.  This will pop-up a small window, which requests the Parameter Name.  Click on '''dc''' to sweep the voltage.  Go back to your Analysis Choose window, which should look like the one  below, and click on OK.
+
We want to specify the type of analysis we want to  perform.  We are going to select a ''DC analysis''. Left click '''Analog Artist: Analyses &rarr; Choose...'''. Click on the '''dc''' button for ''Analysis''. Left click '''Component Parameter''' button for under ''Sweep Variable''. In the ''Sweep Range'', fill '''0''' and  '''5V''' for the ''Start'' and ''Stop''. Left click on the '''Select Component'''.  Now go back to the schematic and select the ''voltage source'' you want to sweep. Click on the '''vdc''' that is connected to the input of the inverter.  This will pop-up the '''Select Component Parameter''' form shown below, which requests the selection for the '''Parameter Name'''.
  
: [[File:Tutorials-Cadence-Test_transistor8.gif]]
+
: [[File:Tutorials-Cadence-TransistorDCAnalysis-002.png]]
  
Second, we want to select which output voltages to  be  plotted. Left click on '''Analog Artist: Outputs &rarr; To be  Plotted &rarr; Select  on Schematic.''' We want to plot the drain-source current of the transistor. Click on the square of a symbol where the current is flowing through (example the square of the drain terminal of the transistor symbol).  There  will be a circle around the square node indicating that a current is  selected. Once you have selected the current to be plotted, the schematic will look as follows:
+
Left click on '''dc''' to sweep the voltage and then click '''OK''' to go back to your Analysis Choose window, which should look like the one below.
  
: [[File:Tutorials-Cadence-Test_transistor9.gif]]
+
: [[File:Tutorials-Cadence-TransistorDCAnalysis-003.png]]
  
Your Analog Environment window should appear similar  to the figure bellow:
+
Left click '''OK'''.
  
: [[File:Tutorials-Cadence-Test_transistor10.gif]]
+
Second, we want to select which output voltages to be plotted. Left click on '''Analog Artist: Outputs &rarr; To Be Plotted &rarr; Select On Schematic.''' We want to plot the drain-source current of the transistor. Click on the square of a symbol where the current is flowing through (in this example, the square of the drain terminal of the transistor symbol).  There will be a circle around the square node indicating that a current is selected. Once you have selected the current to be plotted, the schematic will look as follows:
  
You are ready to run the simulation. Left Click '''Simulation &rarr; Run''' or click on the green play  icon in the Analog Environment window. The  result window, as the one below will appear shortly. Explore the pull  down menus in this window in order to customize your results. For  instance,  left click '''Axes &rarr; Strip''' in order to separate the different  curves. Press on the calculator icon.  This icon will bring up a calculator and you  can perform various operations on the  output waveform, such as derivatives, square root, max, min, etc.
+
: [[File:Tutorials-Cadence-TransistorDCAnalysis-004.png]]
  
: [[File:Tutorials-Cadence-Test_transistor11.gif]]
+
Your '''Analog Design Environment''' window should appear similar to the figure below:
  
To plot the results left click '''Waveform Window: Window &rarr; hardcopy'''.  Select the option to Send Plot Only to File and also don't forget to  disable  the header option in order not to waste paper. You might also disable  Mail  Log To to prevent it from mailing you about the status of printing.
+
: [[File:Tutorials-Cadence-TransistorDCAnalysis-005.png]]
  
Now exit the Cadence Spice. Left click on '''Analog Environment:Session &rarr; Quit'''.  Remember NOT to save the current state. If you choose to save the current state, several hundreds of megabytes will be used in order to save your  last simulation.
+
You are ready to run the simulation. Left click '''Simulation &rarr; Run''' or click on the green play icon in the '''Analog Design Environment''' window.  The '''Spectre output''' window appears as shown below, followed immediately by the '''Waveform''' window:
 +
 
 +
: [[File:Tutorials-Cadence-TransistorDCAnalysis-006.png]]
 +
 
 +
The results appear in the '''Waveform''' window, as shown below:
 +
 
 +
: [[File:Tutorials-Cadence-TransistorDCAnalysis-007.png]]
 +
 
 +
Explore the pull down menus in this window in order to customize your results. For instance, left click '''Axes &rarr; Strip''' in order to separate multiple curves (you must have more than one output selected for plotting for this to be available).  Press on the calculator icon.  This icon will bring up a calculator and you can perform various operations on the output waveform, such as derivatives, square root, max, min, etc.
 +
 
 +
To plot the results left click '''Waveform Window:  File &rarr; Print'''.
 +
 
 +
: [[File:Tutorials-Cadence-PrintSim-001.png]]
 +
 
 +
Select the option to '''Print To File''' to save it as Post Script.  Left click '''Print'''.
 +
 
 +
: [[File:Tutorials-Cadence-PrintSim-002.png]]
 +
 
 +
Create a directory named '''plots'''.  Then type a name for the Post Script file and left click '''OK'''.  A plot of the waveform is now created.  Note, this can be converted to PDF using the UNIX command '''ps2pdf'''.
 +
 
 +
Now exit the Cadence Spice. Left click on '''Analog Artist: Session &rarr; Quit'''.  Cadence will ask whether or not you want to save the current state as shown below:
 +
 
 +
: [[File:Tutorials-Cadence-SaveState-001.png]]
 +
 
 +
If you choose '''Yes''' to save the current state, the '''Saving State''' form will appear:
 +
 
 +
: [[File:Tutorials-Cadence-SaveState-002.png]]
 +
 
 +
Type a name for the state in the '''Save As''' field and left click '''OK'''.
 +
<noinclude>
 +
 
 +
[[Tutorials:Cadence:CreatingSchematicTransistorIV|Prev]] : [[Tutorials:Cadence:CreatingSchematicInverter|Next]] : [[Tutorials:Cadence:Main|Up]]
  
  
 
----
 
----
 
{{Template:CadenceDisclaimer}}
 
{{Template:CadenceDisclaimer}}
 +
</noinclude>

Latest revision as of 15:51, 12 November 2010

Schematic Simulation of Test Transistor

In the schematic of test_transistor, left click Schematic Editor: Launch → ADE L. The Spectre window should appear.

Tutorials-Cadence-TransistorDCAnalysis-001.png

We want to specify the type of analysis we want to perform. We are going to select a DC analysis. Left click Analog Artist: Analyses → Choose.... Click on the dc button for Analysis. Left click Component Parameter button for under Sweep Variable. In the Sweep Range, fill 0 and 5V for the Start and Stop. Left click on the Select Component. Now go back to the schematic and select the voltage source you want to sweep. Click on the vdc that is connected to the input of the inverter. This will pop-up the Select Component Parameter form shown below, which requests the selection for the Parameter Name.

Tutorials-Cadence-TransistorDCAnalysis-002.png

Left click on dc to sweep the voltage and then click OK to go back to your Analysis Choose window, which should look like the one below.

Tutorials-Cadence-TransistorDCAnalysis-003.png

Left click OK.

Second, we want to select which output voltages to be plotted. Left click on Analog Artist: Outputs → To Be Plotted → Select On Schematic. We want to plot the drain-source current of the transistor. Click on the square of a symbol where the current is flowing through (in this example, the square of the drain terminal of the transistor symbol). There will be a circle around the square node indicating that a current is selected. Once you have selected the current to be plotted, the schematic will look as follows:

Tutorials-Cadence-TransistorDCAnalysis-004.png

Your Analog Design Environment window should appear similar to the figure below:

Tutorials-Cadence-TransistorDCAnalysis-005.png

You are ready to run the simulation. Left click Simulation → Run or click on the green play icon in the Analog Design Environment window. The Spectre output window appears as shown below, followed immediately by the Waveform window:

Tutorials-Cadence-TransistorDCAnalysis-006.png

The results appear in the Waveform window, as shown below:

Tutorials-Cadence-TransistorDCAnalysis-007.png

Explore the pull down menus in this window in order to customize your results. For instance, left click Axes → Strip in order to separate multiple curves (you must have more than one output selected for plotting for this to be available). Press on the calculator icon. This icon will bring up a calculator and you can perform various operations on the output waveform, such as derivatives, square root, max, min, etc.

To plot the results left click Waveform Window: File → Print.

Tutorials-Cadence-PrintSim-001.png

Select the option to Print To File to save it as Post Script. Left click Print.

Tutorials-Cadence-PrintSim-002.png

Create a directory named plots. Then type a name for the Post Script file and left click OK. A plot of the waveform is now created. Note, this can be converted to PDF using the UNIX command ps2pdf.

Now exit the Cadence Spice. Left click on Analog Artist: Session → Quit. Cadence will ask whether or not you want to save the current state as shown below:

Tutorials-Cadence-SaveState-001.png

If you choose Yes to save the current state, the Saving State form will appear:

Tutorials-Cadence-SaveState-002.png

Type a name for the state in the Save As field and left click OK.


Prev : Next : Up



Information is provided "as is" without warranty or guarantee of any kind. No statement is made and no attempt has been made to examine the information, either with respect to operability, origin, authorship, or otherwise.

Please use this information at your own risk--and any attempt to use this information is at your own risk--we recommend using it on a copy of your data to be sure you understand what it does and under what conditions. Keep your master intact until you are personally satisfied with the use of this information within your environment."

Cadence® is a trademark of Cadence Design Systems, Inc., 555 River Oaks Parkway, San Jose, CA 95134

For web related questions contact: Viktor Gruev, Michael Hall