Tutorials:Cadence:CreatingSchematicTransistorIV

From EDA Wiki
Revision as of 16:33, 31 October 2010 by Mhall24 (talk | contribs) (Created page with "= Creating Schematic for Transistor Testing = Click: '''Library Manager:New → Cellview''' ... The create new file form should appear as shown bellow. We will be making a t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Creating Schematic for Transistor Testing

Click: Library Manager:New → Cellview ...

The create new file form should appear as shown bellow. We will be making a test transistor schematic, so type test_transistor in the Cell block. In the View block type schematic or from the Type pull-down menu choose schematic and the View block will be automatically filled. In the Application section, select the following: Open with: Schematic XL and check the box next to Always use this application for this type of file. Once you make these two selection, in the future they will be automatically selected.

<img src="images/cadence_img/test_transistor1.gif" width="316" height="336">

Left click the OK button.

The Virtuoso-Schematic Editing window should be showing on your screen as whon in the figure bellow:

<img src="images/cadence_img/new_schematic2.gif" alt="new_Sch2" width="906" height="726">

Left click: Schematic Editing:Add ->Instance...

Shortcuts. You may notice letters by some of these menu choices. Rather than clicking through all the menus, you can just hit that button on the keyboard to the same effect. These are called hot-keys. In the future, you can press i in order to insert an instance.

A Command Browser window appears.  In this window, select NCSU_Analog_parts under Library pull down menu.  Next click on the nmos4 selection.  The window should look as shown in the figure bellow.

<img src="images/cadence_img/test_transistor2.gif" width="226" height="440">

Once you select nmos4, an Add Instance window appears. Type nmos4 to choose a four terminal NMOS transistor in the Cell Name box and symbol in the View Name box. Note that you can use the Browse button in order to browse through the libraries and find the cell you want. You can edit the paramters of the nmos4 cell, such as width, length, etc. For this exercise, keep the default paramters. The Add Instance window is shown in the figure bellow.

<img src="images/cadence_img/test_transistor3.gif" width="386" height="846">

Move the cursor into the editing window. Notice that there is a NMOS transistor there instead of the normal cursor. Position it where you want to put the transistor, and left click to place it. You can right click to rotate the transistor if you want it to face a different direction (this is especially useful with pins).

Press <Esc> to return to a normal cursor after you have finished placing all the transistors you want. For this inverter example, place it on the bottom half of the screen on the right side of the center-line. To rotate press "r".

To make life easier?

Before trying to place a component, left click the Hide button on the Add Component window. This will move it into the background so it's out of your way.

Now we want to add voltage DC sources. Left Click Editing: Add->Instance. In NCSU_Analog_Parts library; you will find vdc sources. Place them in the test circuit. Left Click Editing:Add->Instance. In NCSU_Analog_Parts library, under Voltage_Sources categorie, you will find vdc source. Place them in the test circuit. The Component Browser should look like the one bellow:

<img src="images/cadence_img/schematic_TestInv_ComponentBrowserVDC.gif" alt="add_vdc" width="226" height="472">

Select Vdc and Add Instance window will appear. In the DC Voltage field enter 5V. This window should appear as such:

<img src="images/cadence_img/schematic_TestInv_AddInstanceVDC.gif" alt="add_vdc" width="386" height="495">

Place the symbol to the left of the transistor. Now we want to add ground lines. Left Click Editing: Add->Instance. In NCSU_Analog_Parts library, under Supply_Nets categorie, you will find gnd symbol. Place it in the test circuit. The Component Browser should look like the one bellow.

<img src="images/cadence_img/schematic_TestInv_ComponentBrowserGND.gif" alt="gg" width="226" height="440">

Once you select the NCSU_Analog_Parts selection and select Supply_Nets, you will find gnd symbol. The Add Instance windows for gnd should look like the one bellow:

<img src="images/cadence_img/schematic_TestInv_AddInstanceGND.gif" alt="gnd" width="386" height="240">

Now, we'll add all the wires to make the circuit work. Click Editing: Add -> Wire. The Add Wire form should appear. Just click its Hide button. You can refer to the figure bellow to see how everything is connected together.

Notice that as you get closer to one pin than another (including those on devices), a small diamond will show up inside of or around that pin. That is where you want to click to connect a wire. Also, when wiring schematic, leave the wire width at 0, Route method at full, and (usually) Draw Mode as route. This tells that software to auto-route the wires for you. If you put a wire where you don't want it to go, you can delete the wire by left clicking Editing:Edit->Delete and then left click on the object you want to delete (wire, pin, component, etc. )

A picture of what the circuit should look like is shown below:

<img src="images/cadence_img/test_transistor6.gif" width="906" height="726">

Once you are done editing, left click the "check mark" icon on the left side of the screen. This will check your work for connection errors and will save your work in the library. You can accomplish the same thing by left clicking Schematic Editing:File -> Check and Save