Lab 3 - EE 421L Digital Integrated Circuit Design, Fall 2020

Author: William Wherry

Email: wherrw1@unlv.nevada.edu

9/13/2020

  

Lab description:

This lab will focus on the layout of the 10-bit DAC you designed and simulated in Lab 2

   

Prelab Work:

      

As always, we backup our previous work just in case. 

   

backup 1backup 2

   

Tutorial 1 involves designing a schematic for a simple voltage divider using two 10k-resistors. We have to not only create the schematic for that voltage divider, but also create a symbol and layout for it, so it could theoretically be manufactured. First, we create a schematic for the voltage divider.

   

voltage div schematic

   

Then we create a symbol for it.

   

symbol

   

Then we have to make a layout for it, which is the technical file that could be used to manufacture the component. We made a 10k resistor layout earlier in the tutorial that we will simply use as an instance twice. We calculated that the resistor would need to be of 4.5u width and 56.1u long in order to achieve about 10k ohms resistance with a sheet resistance of ~800 ohms per square. If we divide 56.1 by 4.5 we can see that 56.1/4.5 = 12.47squares * 800 = ~9,975 ohms. Keep in mind that the DRC file checks if the dimensions are divisible by 0.15 because that is what is required by the process we are using. 56.1/.15 = 374 and 4.5/.15 = 30, so our DRC should give us no problems. Laying out our resistor looks like this:

   

r10k layout

   

We check the DRC for errors, then verify-> extract, then check our extracted resistor for the value of resistance Cadence has calculated.

   

extracted 10k

   

As you can see, our resistor came out pretty close to 10k ohms at 10.21k ohms. We can now use this resistor we created as an instance in our voltage divider for tutorial 1 as seen below.

   

r div

   

We connect the resistor pins with Metal 1 and create pins with the same names as our voltage divider symbol and schematic. We can then check the DRC again, extract this layout, then check the LVS against the schematic to see if they match up. With our 10k resistor and voltage divider successfully created and backed up, prelab 3 is concluded.


Main Lab Content:

  

   

For this lab we are going to design the layout of our 10-bit DAC from lab 2. We're going to do this efficiently by using instances of our 10k resistor we designed from Tutorial 1. In general, to design layouts in Cadence you must know the design rules, which are provided by the company that designed the process you are using. When we check the DRC against our design, we are checking if our design matches these manufacturing rules. We know from our design rules that the minimum width of our resistors is 12 lambda, where lambda is 300nm, which means a minimum width of 3.6um. From that minimum, our design dimensions have to be a multiple of 0.15um. That's why we chose 4.5um as the width and 56.1um as the length of our resistor in order to achieve a 10k ohm resistance using a sheet resistance of about 800 ohms per square, as per Tutorial 1 (shown in the prelab). An easy way to check that your length and width is correct is by pressing K and using the ruler to check your dimensions, but another way is to select the nwell rectangle that you plan to be your resistor, press Q, and manually set the dimensions in the properties box. 

   

To begin with, we have our schematic and symbol of our 10-bit DAC from lab 2.

   

dac schematic

dac symbol

   

Now we will design a layout using the 10k resistor layout from Tutorial 1. We could just place a whole bunch of instances of the 10k resistor, but a more efficient way is to create a layout for the 2R_R symbol used in the DAC schematic. That way we can place ten 2R_R instances rather than try to evenly space out 30 10k resistors. We create the layout, then DRC check it, then extract the layout, then LVS it to make sure it matches up. Once that is done we can instantiate it in our DAC schematic.

   

2r_r schematic 2r_R symbol

2r_r layout

   

Now we create a layout for the 10-bit DAC and begin placing instances of our 2R_R layout. We can connect the "Top" and "Bottom" pins using Metal 1, which is a requirement of lab 3. We can then add the corresponding pins that we require (making sure their names match the 10-bit DAC schematic and symbol pin names) by selecting metal 1 and creating input or output pins as needed. 

   

symbol shown

   

You can see in the area surrounded by the yellow square that our layout we created for 2R_R has allowed us to efficiently place our resistors in a uniform fashion. This not only saves time in the long run, but allows for more symmetrical designs and less sloppy work. Now we continue placing instances of 2R_R until our layout is complete. 

   
top of layout fitted view
   
We must not forget to add a single instance of the 10k resistor alone at the very end, which connects the bit 0 2R_R symbol to gnd. It is also very important to name the pin to gnd as "gnd!" because that lets Cadence know that it is the global ground connection.
   
last resistor
   
It is also important to check the dimensions of our resistor to be sure that it is the correct width and length. Although we created this resistor ourselves with specific dimensions in tutorial 1, we can use rulers (press K) to check the dimensions manually. You can see in the image above that our resistor is verified as 4.5u by 56.1u just like we expect. We can also use the rulers to make sure that our resistors all line up on the X-axis, since that is another requirement of our lab.
   
same x same x 2
   
Clearly all of our resistors line up, so that design specification has been met. Now that all of our connections are made and pins are named corresponding to the schematic and symbol pin names, we can save our layout and verify that it meets the DRC.
 
DRC good
   
With the DRC showing no errors, we can extract the layout and verify it against the schematic with the LVS function.
   
LVS1
LVS2 LVS3
   
Our LVS was successful and showed us no errors, so our layout design was a success! Now our design directory can be zipped up and made available in our report for grading.

Lab3.zip
   
   
Backing up our work:
   

As always we must back up our work. I back up my work by downloading the lab design directory as well as the webpage files, zip them up and email them to myself.

   

1

 2

With our 10-bit DAC layout completed and our work backed up, lab 3 is concluded.

     

     

Return to William Wherry Labs Directory