User Guide - Using Mentor Graphics Design Kit
User Guide - Using Mentor Graphics Design Kit
Table of Contents
Table of Contents . 2 Using the Design Kit .... 3 Software Requirements .. 3 Prerequisites ... 4 Design Kit contents ..... 4 Creating a Project .. 5 Creating a Library .. 10 Creating a Schematic Cell View.... 11 Simulating Schematic.... 24 Creating a Layout Cell View. 30 Verification of Layout. 36
Software Requirements
1. Design Architect IC v2005.1_1.1 or greater. (To check the version, enter the da_ic ver command.) 2. Eldo version 6.5_1.1 or greater. (To check the version, enter the $anacad/bin/eldo -rel command.) 3. ICgraph v2005.1_1.1or greater. (To check the version, enter the ic -ver command.) 4. Calibre.
Prerequisites
1. You must have MGC_HOME pointing to a valid installed Mentor Graphics Flow 2005.1 tree or a more recent release 2. You must have the Anacad software installed on your network and accessible via $anacad. 3. In order to enable SPE in classic flow, do the following: Type da_ic in a terminal Select Setup > Session Select Property Editing Mark Enable Structured Property Editing (SPE) Click OK Select Setup > Save Setup , then close the da_ic
Creating a Project
Step 1 To invoke ICStudio do the following: Open ICStudio by typing the command icstudio & The ICStudio interface will be invoked and appear on the screen
Menu Bar and Icons Area
Cells Area
Libraries Area
Views Area
Step 2 To create a project click on File > New > Project from the menu bar. The New Project setup wizard will open to help you in creating the new project. Press Next to proceed with the wizard.
Step 3 Enter the project name and browse for the project location and then press Next.
Step 4 Press on the Open Library List Editor button to set your location map.
Step 5 Select Edit Menu followed by Add MGC Design Kit. This will add a row with a library name MGC_DESIGN_KIT. Browse for the kit installation directory in the location area.
Step 6 To add the standard libraries, select Edit Menu, and then select Add Standard MGC Libraries.
Step 7 After that press OK. This will return you back to the main wizard. Press Next to proceed.
Step 8 This will move you on to the Technology Settings. Press Open Setting Editor to set the technology settings.
Step 9 Browse for the paths of the Process file, DRC, LVS, SDL and PEX rules files. Step 10 Click on Miscellaneous tab. Write $MGC_DESIGN_KIT/userware in the AMPLE_PATH field.
Step 11 Press OK to return back to the main wizard. A summary of all the previous steps will then be shown.
Step 12 Press Finish to finalize F. This is how the ICStudio interface will look like after creating the new project.
Creating a Library
Step 1 To create a library click on File > New > Library from the menu bar. A window will pop-up asking you for the library name.
10
Step 2 By Pressing Finish this will open the Design-Architect IC for you.
Icon & Menu bar Pull Down Menu
Workspace
11
The graphic interface is divided into four main sections a menu bar, a workspace, and a palette. The menu bar and palette change to reflect the design task you select laying out a schematic, setting up a testbench, or simulating a design. [As you are working with your design you will notice that the gray bar below the menu (the Info bar) contains information that changes dynamically as you go about your tasks.] The workspace provides a snap to grid for manipulating primitive-level components or higher level symbols.
12
Hot keys
Hot keys also provide shortcuts to a lot of functions. To get the complete list of hot key select Setup> Hotkeys > Report.
Creating a Schematic
In this section you will become familiar with placing primitive analog devices for a inverter. Youll learn how to: place primitives on the schematic select and manipulate devices customizing hotkeys for placing devices route devices edit device parameter values name instances check and save the schematic create upper hierarchical symbols create test bench simulate using Eldo view results
Primitive devices are selected from the design kit device library shipped with Design Architect-IC.
13
Creating an Inverter
Placing Devices
Step 1 From the left icon palette press on Add Device icon . The Device List dialog box containing the entire device list for this process will pop-up. You can also press key a to call the same dialog box.
Step 2 Select the nfet , press OK. The Add Instance window is open, You can enter the required values for W,L,NF and Mt, press OK, Place the nmos transistor in the schematic.
14
Step 3 Press on Add Device again, select the pfet ,then press OK and place the pmos.
15
Step 3 Place the cursor over the NET on the port. Click q. This will bring up a form as shown below. Select the NET line in the box, Enter IN for the net name in the Value.
16
Step 4 Do the same for the OUT port ,Enter OUT in the NET name Step 5 Connect the devices by dragging the mouse from the pin of the device. You can also use the hot key w. Step 5 Do the same for the OUT net. The schematic should now look as follows.
17
Selecting and manipulating instances Devices can be selected with the left mouse button or by pressing the F1 function key while the cursor is over the device. With the icons in the left icon palette ,you can Move, Copy, Delete or Undo the instance.
18
and Rotate
selected devices as do the f and r hotkeys. Unselect a device with the Unselect All stroke or by pressing the F2 key
Generating a Symbol
Step 1 Select Tools > Generate Symbol from the pull down menu.
Step 2 When you select generate symbol the next form to will popup. You can OK the form or you can change the shape to be a buffer and add a circle to create a classic inverter shape.
19
Step 3 You can select Circle from the Add Circle icon to add a circle to the inverter symbol.
Step 4 When you finish editing the symbol click Check and Save.
20
Creating a Testbench
Step 1 Go back to ICstudio. Notice that now the created lib contains a cell named inverter with two views, a Schematic and Symbol view. Create a new cell with a Schematic view named test_bench.
21
Step 2 Now instantiate the new inverter symbol by selecting Add > Instance from the left icon Palette or pressing the hot key i. Select the Symbol view of the inverter cell.
Step 3 Add the IN and OUT net as before by selecting the hot key i. Name the nets with hot key q. Step 4 Add VDD and Ground ports in a similar fashion. Step 5 Add a DC voltage source dc_v_source, from the MGC_IC_SOURCES_LIB. Change the value of the DC property to be 3.3V. Add PULSE voltage source pulse_v_source and change the value of the pulse_value property to be 3.3V change also the delay to be 0S.
22
23
Simulating Schematic
Simulating the Testbench
Step 1 When you have no errors select the Simulation icon from the left icon palette to go into design context and simulate our design.
Step 2 Click ok when this form appears. Now you are in the Design context and need to setup the analysis type, plots and load in the Eldo models
24
Step 3 Load the Eldo models, To load the library,Select Setup > Models Libraries, Browse for the Library path and its Name.
Step 4 To load the Eldo models in one include file, Select Setup > Include Files, Browse for the include_all file
25
Step 4 Select the Setup Analysis icon. This will open a form for you to select the analysis type. Select Transient followed by selecting the Setup button.
Step 5 Let the Stop Time (TSTOP) be 100n and OK the two forms.
26
Step 6 Now select the IN and OUT terminals , Click left mouse at the net IN and use shift to continue select the OUT net.
Step 7 While the IN and OUT nets are selected press on the Setup Outputs > Edit icon from the Icon Palette. This dialog box will appear. Select Selected Components tab make sure the Plot Items(s) is selected, and click OK.
27
Step 8 Another window will appear asking about the plot type, select Individually then OK.
Step 9 Create a netlist by selecting Simulation > Create Netlist . This will open a xterm window. Press Return to close the xterm window.
28
Step 10 View the netlist by selecting: View > Netlist File. Step 11 The netlist should look similar to this:
Step 12 Close the netlist window (ShiftF12) or right-to-left stroke and select Run icon. This will open another xterm.Press Return to close the Simulation xterm.
29
Step 13 View the simulation results by selecting the View Outputs icon. This will open EZWave for you with the output waveforms. This is how the waveforms look like after zooming.
30
Step 2 By pressing Next a new window will appear asking you for the Connectivity Source select Schematic to open IC -Station in the SDL mode.
31
Layer Palette
Icon Bar
Icon Palette
Creating SDL
Step 1 Make the Schematic window active by selecting it with the LMB. Press on the Auto Pick & Place icon from the Icon Bar. The tool will place the devices one by one.
32
You have now instantiated the pmos and nmos and the connectivity is maintained as illustrated by the fly lines. Next you will add ports and complete the routing. Step 2 With the layout window active, select the Pick Place Ports icon from the icon bar.
Step 3 Select the VDD port and select MET1 as a layer for this port. The Width and Height will be updated automatically according to the minimum metal1 dimensions. Press Apply to place the port.
33
VDD
IN
OUT
GROUND
Step 5 To add the substrate contacts to the mosfets. Select Add Device icon from the Left Hand Palette then select Path-based Guard Band select psub.
Step 6 Do the same for but choose nwell instead of psub. Step 7 To add the over flow lines for both psub & nwell , Select psub then Connectivity > Net > Add to Net to set psub to Ground and the same for nwell to set it to VDD.
34
Routing Layout
Step 1 Select the Layout window and maximize it. This will create a full window image of the layout. Step 2 To start routing press on the IRoute icon in the icon bar. Once you place the cursor on where you want to start routing, it will start guided by the fly lines. You can toggle between the connectivity layers by pressing space-bar.
VDD
IN
OUT
GROUND
35
Step 3 Add text labels to the ports to make them recognizable by LVS by pressing the hot key l or select Add > Text
36
Verification of Layout
Now you can verify the layout by running DRC and LVS checks. we will run Calibre Interactive.
37
Select Rules button and notice that the rule file is loaded automatically. Step 3 Select Run DRC. Step 4 The Calibre RVE window will popup and you should see the following results.
Running Calibre Interactive LVS Step 1 Select Tools > Calibre > Run LVS entry from the pull down menu. Step 2 The Calibre Interactive LVS window will popup. Make sure Export from schematic viewer is selected while the Inputs and Netlist tabs are active as shown.
38
Step 3 Select Run LVS. Step 4 Calibre RVE window will popup and you should see results similar to this.
Running Calibre Interactive PEX Step 1 Step 2 Select Tools Calibre > Run PEX entery from the pull down menu. The Calibre Interactive PEX window will popup.
39
Step 3
Step 4 Select RUN PEX. Step 5 The RVE window will popup and should look as follow.
40
Step 6 The pex netlist will appear and should look as follow.
Step 7 Open the test bench schematic and enter the simulation mode, then select the inverter block. Step 8 Select Tools > Parasitics > Add DPSF.
41
Step 9 This window will pop up. Select the extracted PEX netlist.
42
43