Professional Documents
Culture Documents
Princ cess Sum maya Universit for Te ty echnolo ogy De epartme of E ent Electron Engin nic neering g
ht Copyrigh 2011
VLSI Course
Table of Contents
Page Number
Introduction and Objectives Running the Software for the First Time Project Creation Using ASIC Design Kit Setting up Simulations 3 4 6 13
2|Page
VLSI Course
Introduction and Objectives Mentor Graphics provides one of the most well known commercial IC design software in the world. The department of Electronic Engineering at Princess Sumaya University for Technology has subscribed the license file for IC Nanometer Design tool from Mentor Graphics. The software tool provides the options of design and simulation integrated circuit layout and parasitic extraction for highly accurate circuit design. This tutorial will give a brief introduction on how to use the software tool to design the circuit schematic and do the simulation. For circuit schematic design and simulation, ASIC Design Kit Design Architect IC (ADK_DAIC) and ASIC Design Kit IC (ADK_IC) are used. In the following sections we will learn how to draw the circuit schematic using ADK_DAIC and deploy a layout for the design using ADK_IC and run the simulation using ELDO.
You need a student account to login to the lab computer. There is a default user name and password for the lab computers. If you need the login information, contact our network Administrator (Eng. Munther Zabin) or the course teaching assistant (Eng. Hazem Marar).
3|Page
VLSI Course
4|Page
VLSI Course
NOTE: Please con ntact the co ourse teach hing assist to assu that you impleme tant ure u ented der chy ctly. Impro oper hierar rchy will prevent th program of he m the fold hierarc correc executin correctl in future work. ng ly e
In Mento Graphics and in many other IC de or y esign softwa a certain hierarchy s are, n should be us in sed order to get the job done right. First, you h have to creat a project a we did ea te as arlier; inside that e we ee hierarchy: L Libraries, Ce ells, and the actual sche ematic and la ayout project w have thre levels of h files.
NOTE: When it comes to naming yo librarie cells, f our es, filesetc b sure to use be o phabets, as using num s mbers and other s d/or special cha aracters wi cause er ill rrors only alp in late simulation in the program. Also avo using spaces be ns oid etween wo ords. cores _ can be used to separa words if needed. c d ate Undersc
5|Page
VLSI Course
This will initiate the Design_architect_IC window from where you can create your projects, schematics, layouts etc. the window should appear as follows
6|Page
VLSI Course
NOTE: At this point make sure that you get no error messages in the status bar at the bottom of the software window.
The Open Schematic dialog will appear as seen in the figure below. Click on the browse button and browse to your schematic folder which we name previously VLSI_Inverter. Make sure that you open it in editable mode.
When you click the OK button you have created a schematic file inside the cell called VLSI_Inverter. The program screen should now appear as seen below.
7|Page
VLSI Course
As seen from the program, it is divided into four sections. The first section is the workspace; in which you place the components needed and connect them through wires to create the entire schematic. The second section is the options pane. In here you will find some useful shortcuts as delete, copy, undoetc. these options are also found under the menus in the program. The third section is the menu bar. These menus contain all the needed functionality to control your design. There exist several commands and functions which are advanced and are out of the scope of this tutorial. The commands that we are going to use will be mentioned during the text. The fourth right sided pane Edit Palette contains necessary operations which are used during the design such as simulating the final design. Now we are going to start designing the inverter. As you know, an inverter consists of one NMOS and one PMOS transistor. Thus, we should start by inserting these two transistors. To do this, click on ADK IC LIBRARY from the Edit Palette as seen in the figure below.
8|Page
VLSI Course
A new side pane will appear where you can all the components you need such as NMOS, PMOS, capacitors, resistorsetc. Add an NMOS transistor and a PMOS transistor to the workspace as follows
The next step will be connecting the transistors terminal to form an inverter. To do this choose Add -> Wire and connect the required terminals. At this point so far, the schematic should look like the figure below.
9|Page
VLSI Course
Note that when placing different components, they have default properties in terms of size, length, widthetc. To change these default settings and parameters click on an instant (component) and then press the Q button on your keyboard. A new pop-up window will appear containing all the parameters of that component. When changing these parameters, make sure to enter acceptable values, since, in some cases, the program will not warn you if you have entered an invalid value, and thus errors will appear in late simulation results. Thus, always make sure to enter a valid value for a certain parameter.
A professional design method that you should follow is to design the inverter as we did without connecting any supplies or input signals to it. Instead, you will create a symbol, just like a block diagram or a black box that is an inverter and includes all the transistors you used before. This black box will only have input and output pins where you can connect sources to. So, first we
10 | P a g e
VLSI Course
start with the pins, in our inverter case, we have four pins; an input pin, output pin, ground pin, and an operating voltage source pin. To add a pin click on Add Pin found in the left sided option pane as seen in the figure below. After that, rename each pin by clicking the Q button and changing its value to a desired name.
Once you have done this, you have built your first inverter. To make sure that what you did was correct, click the Save and Check button in the menu bar. A window will appear and shows the results of the schematic test. In case of an error, a message will appear denoting the place where the error occurred and the nature of that error.
11 | P a g e
VLSI Course
After that, we have to create a symbol for our schematic. To do this, simply click on the Miscellaneous menu found in the menu bar and choose Generate Symbol. Be sure to choose save and edit symbol from the once generate in the window that appears.
After doing this, you will see an inverter just like a black box. Place it and save your work.
12 | P a g e
VLSI Course
As you can notice from the figure above, the inverter is now a black box. To see the transistor level all you have to do is to double click on the inverter, and that will take you to the transistor level back again. At this level only the four pins that we added are viewed. For these pins, we are going to connect the supply voltages and the input signal and observe the change on the output pin in the simulation mode. The simulation tool for the Mentor Graphics application is ELDO.
Setting-up Simulations:
To start your simulation you need to create a new schematic file; a test bench file. To do this, click on File -> Open and then locate the VLSI_Inverter_TB folder that we created earlier. A new empty schematic file will be created. We need to ass the inverter that we designed. To do this, click on Add -> Instance -> Choose Symbol from the menu bar as below
13 | P a g e
VLSI Course
Locate the folder VLSI_Inverter and double click it. You will notice the inverter symbol being inserted to the schematic. From the Edit Palatte pane insert the voltage sources and the input signal. Apply suitable values for their properties. When finished, your design should look similar to this
To simulate the circuit you need to go to the simulation mode. Select Simulation option on the Edit Palette and this will allow you to select model files, setup analysis mode, run the simulation and view outputs.
14 | P a g e
VLSI Course
Simulation Setup:
Now select the Analyses option from the DA_IC window. A Setup Simulation Analysis window will appear. This will give you to setup different types of simulation settings for your circuit. Select the Transient check box and click Setup. This will allow you how long you want to do the transient simulation. Set 100 for the STOP time and a print time step of 1us.
15 | P a g e
VLSI Course
16 | P a g e
VLSI Course
Successful Simulation:
From the simulation window, press the RUN ELDO option. Press OK one more time and you will see the simulation running. Once the simulation is completed you will see the message Simulation Completed Successfully in the Message Area. You dont get this message recheck all of your setup.
17 | P a g e
VLSI Course
DC or AC simulations can be done in the same manner. Multiple simulation types can be done at the same time.
18 | P a g e