Lab 3 - ECE 421L 

Degracia, Manuel C.

degracia@unlv.nevada.edu

14/21 September 2015 

  

Pre-Lab


Overview

Pre-lab consists of finishing Tutorial #1 from where we left off in Lab #1 (25th image of tutorial).

 

Continued Process

 

http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab1/PostLab/Schematic.JPG

*Schematic of where we last left off in the tutorial.

 

7. From the given schematic shown above, we want to create a general purpose schematic which will make it more useful as a cell in an integrated circuit. To do so, delete Vdc and the two wires connected to it and create two pins called in and out. Within the parameters of each pin, make sure each one has the appropriate direction (in = input, out = output). 

 

Check and Save to verify the schematic has no errors.

 

In_Out Schematic

  

8. Create a symbol for this schematic so it can be used in later designs. (Create > Cellview > From Cellview). Follow through with the symbol generation window making sure the pin specifications are correct. Once done, the following generic symbol will be displayed.

 

Create a Symbol

 

9. Delete everything in the symbol except for the in and out pins and wires.

  

Snipped Symbol

 

10. Move the pins and lines further apart. Using the draw line command (Create > Shape > Line), draw a generic form of a resistor and ground.

 

Check and Save the symbol to verify if there are any errors.

 

Symbol View

  

11. Simulate the cell's operation to verify it runs properly. Afterwards, create a copy of R_div into another cell called, sim_R_div. Within the sim_R_div cellview, delete spectre_state1 because it is not needed.

 

12. Open the schematic view of sim_R_div and delete everything in the cell. Next add the R_div symbol using instance (i) and locating the symbol in the Tutorial_1 library found in the component browser. Create the schematic seen below.

 

Check and Save to verify there are no errors.

 

New Symbol Schematic

 

13. In this case, 2 errors will be found.

  

2 Errors

  

14. Use the following to determine where the issues are located and details about the warnings. (Check > Find Marker)

 

Find Markers

  

The floating wires are intentional, thus click Ignore twice and Check and Save again. You'll find that there are no errors or warnings.

 

15. Simulate the circuit by launching ADE and then load the state. The following transient response should be shown.

 

Transient Response

 

16. As a quick side tutorial on hiearchy, by clicking the R_div symbol and pressing X, one can descend into the hiearchy. In addition, pressing b will bring you back up into the hiearchy. If hotkeys are not favorable, one can still follow through the menu options. (Edit > Hierarchy > ...)

 

Descend Hierarchy

   

Create the layout of the resistive divider

 

17. Make a new cellview for the layout of R_div.

 

New Cellview Layout

  

18. Setup the following items within the Display Properties (e):

 Edit Display Options
 
Creating the layout for the 10k Resistor
19. Create a new cellview called R_n_well_10k.
 
R n-well Cellview
 
20. In the n-well layer, draw a generic rectangle (Create > Shape > Rectangle).
 
Creating a Resistor
 
21. Click on the rectangle and press q to edit the parameters (Edit > Basic > Properties). As calculated above, we want a resistor that is 56um long and 4.5um wide.
 
Edit Rectangle Parameters
 
22. Design Rule Check the layout (Verify > DRC).
 
DRC
 
After running DRC, 4 errors will be found.
 
23. Use Find Marker again to pinpoint the errors and details regarding them.
 
Find Marker Corner
 
24. The issues revolve around the rectangle not being snapped to the y-axis grid. To resolve this issue, we can use a ruler (k) to determine the proper X & Y Snapping measurements and change the values in the Display Parameters (e).
 
Ruler Measurements
 
25. Add connections to the ends of the resistors and add pins to each side in the metal1 layer (Left side = L, Right side = R). To do so, follow the steps shown:
 
Create Instance
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Pre-Lab%20Photos/Create%20Resistor%20Pin.JPG
 
Each corner should be similar to the left ntap displayed.
 
26. Turn the Gravity On control off for easier moving of parts (E) and change the Stop Time to 10 (e) so more layers can be seen.
 
27. Move onto the res_id layer and draw a rectangle in between the two ntaps.
 
Resistor Id
  
28. Extract the layout to determine the resistance value (Verify > Extract).
 
Extractor
 
29. Once extracted, open up the extracted view found in the Library Manager and zoom in to see the resistor value.
 
Extracted  Resistor Value
 
Save and Close the layout view of the resistor.
 
Drawing the layout of the R_div cell
 
30. Open the layout view of the R_div cell and instantiate two 10k n-well resistors. Then, DRC to make sure that they are far enough apart.
 
R_div Layout w Pin Names
 
In the metal1 layer, add rectangles to connect the resistors together and to connect to the Pins of the resistors. In addition, add Pins to each corresponding rectangle as displayed above.
 
31. Do the following:
LVS
 
32. Once LVS is completed, click Output to see if any problems or errors have occurred.  In this case we have three issues.
 
LVS No Match
 
As displayed, there are issues with Pin Names and Pin directions (gnd = gnd!, in = input, out = output).

33. Once fixed, repeat steps #31-32.
 
LVS Match
 
From this, we can finally see that there are no errors or problems and the netlists MATCH! This concludes Tutorial #1.
 
Back-Up Files
As always, it is always important to backup files by either creating a folder on your personal computer, emailing the files to yourself and/or backing it up on a cloud (dropbox, icloud, google drive).

 
Pre-Lab Back-Up

Post-Lab


Overview:
 
Process:
 
In this lab, we will further develop the 10-bit DAC/2R_Res from Lab #2 by using the n-well to layout 10k resistors in accordance with the schematic below.
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab2/Post-Lab%20Photos/2R_Resistor%20Schematic.JPG
 
To start, create a new library in Cadence titled, Lab_3. From lab2 and/or Tutorial #1, copy the following cellviews to the Lab_3 library: 2R_Resistor & R_n_well_10k. If you have never created such cellviews, follow the steps found in Tutorial #1 and/or the Pre-lab to create a 10k resistor.
 
*How to select the width and length of the resistor by referencing the process information from MOSIS. 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Pre-Lab%20Photos/R%20N-well%2020%20Extracted%20View.JPG
  
In the 2R_Resistor cellview, create a new layout and instantiate three of the R_n_well_10k resistors and stack them on top of each other like a ladder. As always, there is a mimimum amount of spacing required in between the resistors, so keep that in mind and DRC after placing the three resistors to ensure they meet the proper standards.
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/Layout.JPG
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/3%20Stacked%2010k%20R.JPG
 
Link all the resistors by drawing rectangles in the metal1 layer from one resistor to the next following the picture above. In the same metal1 layer, create pins (Top, Bottom, Left) and place them accordingly. In doing so, we ensure that we are following the schematic drawn above for the 10-bit DAC.

DRC the layout to ensure it continues to meet stardards.
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/3%20Stacked%2010k%20R%20DRC.JPG
 
Once DRC is completed, extract the layout and open it. It should look similar to the one displayed below.
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/Extracted%20Layout.JPG
 
 DRC and LVS the extracted layout to compare it to the original schematic.
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/DRC%20Extracted.JPG
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/3%20Stacked%2010k%20R%20LVS%20Window.JPG
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/3%20Stacked%2010k%20R%20LVS.JPG
 
This helps us check if the netlists match and there are no issues.
 
One can also click Output on the Artist LVS window to see what has occured.
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/LVS%20Ouput.JPG
 
Back up files
 
Afterwards, it is always important to backup files by either creating a folder on your personal computer, emailing the files to yourself and/or backing it up on a cloud (dropbox, icloud, google drive).
 
http://cmosedu.com/jbaker/courses/ee421L/f15/students/degracia/Lab3/Post-Lab%20Photos/Lab3%20Save.JPG
 

Return to my labs

Return to EE421L Labs