Difference between revisions of "Tutorials:Cadence:AdvancedTopics"

From EDA Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 23: Line 23:
  
 
:[[File:Tutorials-Cadence-Padframe-001.png]]
 
:[[File:Tutorials-Cadence-Padframe-001.png]]
 +
 +
== Vector File Simulation ==
 +
Now we are introducing a new simulation method under Cadence Spectre Simulator: Using Vector File. Vector file is a very convenient way to do large scale digital simulation, the manual for how to write digital vector file can be download from here:
 +
:[[Media:Digital_vector_file_guide.pdf]]
 +
In Cadence, first we create a NAND2 cell schematic view:
 +
:[[File:vector-simulation1.png]]
 +
In this NAND2, we have two input ports: A and B, one output ports: C. Then in vector file, we assign values to A and B. The example vector file NAND2.vec:
 +
:[[File:vector-simulation2.png]]
 +
In a basic vector file, you need define the radix, i/o, tunit, and value for the input or output ports, moreover, you can also define your rise/fall time, high/low voltage.
 +
Next, we open the Cadence ADE L:
 +
:[[File:vector-simulation9.png]]
 +
Then left click Setup->stimuli...,  the window of stimuli will jump out:
 +
:[[File:vector-simulation3.png]]
 +
Then left click to select the Globe Sources at the first row, then select vdd!, click select enable, fill the DC voltage with a value, here we just define it 3V, (Note: by giving the value to vdd! here, we don't need to load vdc module anymore), then click apply:
 +
:[[File:vector-simulation4.png]]
 +
After we click OK, the window will disappear, we left click Setup-> Simulation Files, then select "Vector Files" tab at the top row, add NAND.vec as the Vector Files:
 +
:[[File:vector-simulation5.png]]
 +
Click OK, then left click choose Analyses-> Choose..., on the "Choosing Analyses" tab, select tran, then fill the stop time with a value, here we fill it as 40n s:
 +
:[[File:vector-simulation6.png]]
 +
Click OK, then select the ports you want to view in the schematic by using Outputs-> To Be Plotted-> Select On Schematic, then click Netlist and Run button:
 +
:[[File:vector-simulation7.png]]
 +
Finally, we get the waveform of this NAND2 gate:
 +
:[[File:vector-simulation8.png]]
  
  

Latest revision as of 23:13, 8 February 2011

Advanced Topics

Pad frame

One tiny chip unit is 1.5mm x 1.5mm. The pad frame provided here has a total of 40 pins. The 4 corner pins are used for VDD and GND (note the +/- symbols in the layout) and the remaining 36 pins are available for I/O.

To use the pad frame, please do the following steps:

  1. Download Padframe_C5N.tgz into $HOME/cadence/library.
  2. Type "cd $HOME/cadence/library".
  3. Type "tar -xzvf Padframe_C5N.tgz". This will extract the pad library.
  4. Type "cd ..".
  5. Edit cds.lib and add the following line:

    DEFINE pad library/pad
    
  6. Execute virtuoso. The pad library will now appear in the Library Manager.


The pad frame layout is shown below.

Tutorials-Cadence-Padframe-001.png

Vector File Simulation

Now we are introducing a new simulation method under Cadence Spectre Simulator: Using Vector File. Vector file is a very convenient way to do large scale digital simulation, the manual for how to write digital vector file can be download from here:

Media:Digital_vector_file_guide.pdf

In Cadence, first we create a NAND2 cell schematic view:

Vector-simulation1.png

In this NAND2, we have two input ports: A and B, one output ports: C. Then in vector file, we assign values to A and B. The example vector file NAND2.vec:

Vector-simulation2.png

In a basic vector file, you need define the radix, i/o, tunit, and value for the input or output ports, moreover, you can also define your rise/fall time, high/low voltage. Next, we open the Cadence ADE L:

Vector-simulation9.png

Then left click Setup->stimuli..., the window of stimuli will jump out:

Vector-simulation3.png

Then left click to select the Globe Sources at the first row, then select vdd!, click select enable, fill the DC voltage with a value, here we just define it 3V, (Note: by giving the value to vdd! here, we don't need to load vdc module anymore), then click apply:

Vector-simulation4.png

After we click OK, the window will disappear, we left click Setup-> Simulation Files, then select "Vector Files" tab at the top row, add NAND.vec as the Vector Files:

Vector-simulation5.png

Click OK, then left click choose Analyses-> Choose..., on the "Choosing Analyses" tab, select tran, then fill the stop time with a value, here we fill it as 40n s:

Vector-simulation6.png

Click OK, then select the ports you want to view in the schematic by using Outputs-> To Be Plotted-> Select On Schematic, then click Netlist and Run button:

Vector-simulation7.png

Finally, we get the waveform of this NAND2 gate:

Vector-simulation8.png



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