Beruflich Dokumente
Kultur Dokumente
Course Objectives
Algorithms and architectures High-level and software techniques Gate and circuit-level methods Test Power
3
QuestaSim
Designing, compiling and simulating designs ASIC and standard cell synthesis Schematic Capture Circuit simulation and verification
4
LeonardoSpectrum
DesignArchitect-IC
HSPICE
PowerPlay
PrimeTime PX
NanoSim
HSPICE
Download sample.bashrc file from Dr. Nelson's website. Rename file to .bashrc and save it on your home directory. http://www.eng.auburn.edu/~nelson/courses/ elec5250_6250/bashrc
QuestaSim
Invoked using the command vsim at the shell prompt Create HDL models (behavioral/structural)
QuestaSim
After writing your HDL code, you should compile it to check for errors and/or inconsistencies.
If no errors are there, the compiled code will be available in your work library.
To run the simulation, you can double click the module in the work library.
9
10
Load technology library in the database Load the HDL file in the database Specify design constraints (timing, area) Compile/optimize design Generate technology specific HDL netlists
Synthesis Steps
Tcl file contains the list of spectrum commands which are executed sequentially.
12
Load Library
tsmc018_typ
ami12_typ ami05_typ
13
Optimize Design
optimize <design> (default is current design) Various switches can change the functionality of the command -effort quick (one pass) or standard (multiple passes) -area, -delay, -auto (default) -hierarchy preserve, flatten or auto (default)
15
write <filename>
-silent (no warnings or messages) -format <format name>
Verilog (.v)
VHDL (.vhd)
SDF (.sdf) EDIF (.edf)
16
Area Report
17
Delay Report
-start_points
-clock_frequency
-critical_paths
-from <start_points> -to <end_points>
18
Spectrum Documentation
In shell prompt, type mgcdocs $LEO_DOCS User's Manual Reference Manual HDL Synthesis Manual
DesignArchitect-IC
Invoked using the command adk_daic at the shell prompt. Loads the ADK libraries set up at the .bashrc file. Import the newly synthesized verilog netlist
DesignArchitect-IC
Click Open Schematic, and point to the folder where the design was saved. Click Update LVS to create a SPICE netlist which will be edited and used to run the simulations. The netlist will be named module.src.net and will be in the design folder.
21
The length and width parameters need to be changed while keeping the ratios constant. Change the L value to match the technology file specifications. Change the W values w.r.t the L values such that the previous ratios are maintained.
A top level module needs to be created which instantiates the primary inputs and outputs.
.end command is added at the end of the netlist which shows the end of SPICE netlist.
23
Independent DC Sources
Dependent DC Sources
.vec 'filename'
Step indicates at how many intervals in the period the signals will be sampled. PERIOD means till what time the circuit will be analyzed.
HSPICE invoked by writing hspice in the shell prompt. Opens up a xterm window, then hspice is invoked for a specific netlist.
Waveform viewer invoked using the command ezwave from the shell prompt. Used to view the waveforms of the probed signals after the SPICE simulations.
29
NanoSim
Invoked with nsim command at shell prompt, then typing nanosimgui at the xterm window.
References