Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
September, 2008 Electronics Systems Group, Faculty of Electrical Engineering Eindhoven University of Technology (TU/e)
Chapter 1 Introduction
This manual describes how to use Cadence Analog IC design tool kits to implement a digital inverter.
Fig. 1. General design flow The design flow starts with inputting schematics using the Cadence's schematic capture tool -Composer. Devices or cells from the libraries are used to construct your circuit. When you have finished designing a component in schematic view you will then have to simulate it to ensure that it works as expected. We shall be using the Cadence Spectre simulator during this design exercise. It will be unlikely that your component will work
as what you expect at first time so you have to iterate round the capture-simulate-debug loop until the component does work. If your design is hierarchical, this must be done for each component of your design and then for the top level design. After the components and top level of your design have been designed and simulated, you are then ready to start the physical design. The physical design starts with the cells or devices placement. Once the cells have been placed, routing can be carried out. Routing adds connectivity between the cells of the design. After place and route has been performed, then you need to do Design Rule Check (DRC) to ensure that all design rules are satisfied. The next step is to perform Layout-versus-Schematic (LVS) check to make sure all connectivity in your layout are correct. Once the LVS is done, you need to do post layout simulation to see whether your circuit meet the constrains set in your design specification. If everything is fine, the next stage is GDSII/CIF Generation. This generates the file which describes the low level geometry of your chip. This file is in a format which is suitable for the silicon vendor to create the masks required for fabrication of the chip, and therefore essentially provides the interface between the designer and the silicon house.
Fig. 2.1 Create a new library Now you should be able to see a new library manual_test in the Library column of the Library Manager window (Fig. 2.4).
Fig. 2.5 Create a new design Now you can edit the schematic in the blank window that pops out. The schematic editing environment in Cadence is called Virtuoso. In Virtuoso, you can add, delete and manipulate all kinds of components, wires and pins. You can find all the operations and their hot keys by exploring through the menu bar. (Fig. 2.6)
Fig. 2.8 Set the properties of the instance Similarly, the NMOS transistor and the ground (GND) and power supply (VDD) can be added (Fig. 2.9). Table 2.1 lists the properties of these component instances. Table 2.1 Add into the components Cell View Others pmos1v symbol Length = 130nm, Finger Width = 600nm, Fingers = 1 NMOS tsmc131g nmos1v symbol Length = 130nm, Finger Width = 300nm, Fingers = 1 GND analogLib gnd symbol VDD analogLib vdd symbol PMOS Library tsmc131g
OK. You get a new window which displays an automatically generated symbol. (Fig. 2.14)
Fig. 2.14 Automatically enerated symbol If you dont like what it looks like now, you can edit the symbol for your inverter. You may first delete the rectangles, and draw a triangle instead by selecting Add -> Shape -> Polygon. Similarly, you add a circle (Fig. 2.15).
Fig. 2.15 Add a symbol shape By adjusting the polygons and moving the pins, we have a symbol like the one shown in Fig. 2.16.
Table 2.2 Add cells to the test circuitry Library Name manual_test analogLib analogLib analogLib analogLib analogLib Cell name inverter cap vdd gnd vdc vpulse Properties
DC voltage = 1.2V Voltage 1 = 0.0V, Voltage 2 = 1.2V, Delay time = 1ns, Rise time = 1ns
3.3.1 DC analysis
For example, you may choose dc if you wan to obtain the Vin-Vout curve of the inverter, i.e., the transfer characteristic. To get the transfer characteristic, we have to sweep the inverter input voltage between 0 and VDD (1.2V in this case). Hence, in the Sweep Variable, choose Component Parameter, select the component by clicking the DC power source (vdc) in the schematic window and choose the parameter to be dc. Also, in the Sweep Range, specify the Start and Stop to be 0 and 1.2, respectively. See Fig. 3.4.
3.4.1 DC analysis
To get the transfer characteristic, we have to plot both input voltage and output voltage of the inverter (Fig. 3.6). Then click Netlist and Run to run the simulation and get the plot. Fig. 3.7 shows the resulting transfer characteristic.
Fig. 4.1 Open layoutXL Choose Create New in Startup Option window (Fig. 4.2).
Fig. 4.2 Create new layout cellview Assume the default names as shown in Create New File window (Fig. 4.3).
Fig. 4.4 Name the layout cellview In the Virtuoso XL Layout Editing window, select Design -> Gen From Source (Fig. 4.5).
In the Layout Generation Options window, specify the layer value of I/O pins Layer/Master to be METAL1/dg and assume default values for others (Fig. 4.6). Click OK, and you will see two windows pop out. One is LSW, which stands for Layout Select Window, and the other one is Virtuoso Layout Editing window (Fig. 4.7). In the Virtuoso window, you can see device equivalent of pins and transistors symbols are automatically generated. Besides, the square box is called design boundary. (Fig. 4.8).
In the LSW window, select METAL1/drw to draw other connections. That is, from the drain of PMOS to the drain of NMOS, from the source of PMOS to the VDD and the source of NMOS to the GND. Secondly, connect to the IN and OUT pins. When connecting to IN pin, a METAL1-toPOLYG contact is needed. Finally, connect the PMOS body to VDD and the NMOS body to GND. The completed layout of the inverter may look like the one shown in Fig. 4.12.
You have just finished the design of your inverter layout. You need to save it by selecting Design Save.