Lab 3 - EE 421L 

Authored by Henry Chan,

chanh6@unlv.nevada.edu

28th September 2014

 

 

We last left off having created the symbol view of the R_div and incorporated it into the schematic for simulation. Now we are ready to create the resistor using n-well in the layout view.

 

 New_Cell_View.jpg

New_Layout.JPG

Start by clicking on n-well in the layer selection window and pressing R to create a rectangle. Click and drag on the grid to create any sized rectangle, we will edit the size in a few moments.

N_well_rectangle.JPG

We want a resistor the be 10k specifically therefore we have to determine the appropriate dimensions of the n-well rectangle.

We can do this using this formula:

 

R=(R_sheet)*L/W , where R_sheet is the sheet resistance, and L and W represent length and width respectively.

 

The process that we are using is ON's C5 process which says their sheet resistance for n-well is roughly 800ohms/square. Using the MOSIS submicron design rules, we know that the smallest width that we can have is 12(lambda), where lambda for MOSIS is 300nm. So we can have a minimum width of 3.6 microns. Here we will choose a width of 4.5 microns which still satisfies the rules of the process. So if we want a 10k resistor, we simply plug our values into the formula to determine our length.

10k=800*(L/4.5)=~56 microns

So let's see what happens when we try to Design Rule Check (DRC) it.

Rectangle_size_DRC_error.JPG

We receive errors!!!

DRC_error.JPG

These errors are due to the grid being in segments of 0.15 microns and the rectangle must be aligned with the grid. Therefore we will change our rectangle length to be 56.1 instead of 56 because 56.1 is evenly divisible by 0.15 and 56 is not.
New_dimensions.JPG
This should result in no errors from the DRC.
 

 It is now time to add the ntap layers. Open the instance box by pressing I. In the NCSU_TechLib_ami06 library, select the ntap layout. This will form the connections to any metal1 layers we need, therefore it is appropriate to place it on both ends of the resistor. In the instance window, make sure to indicate two "Rows of contacts" to fit our resistor better.

 

You should now have something looking like this.

 ntap.JPG

 

Now it is necessary to apply our res_id layer. Click the res_id layer in the layer selection window and press R to create a rectangle the same size as our n-well resistor without the ntaps.

res_id.JPG

After completing the tutorial, creating the n-well rectangle, using ntap instances, and applying res_id we end up with this:

R_n_well_10k_layout.JPG

 The extracted view shows the value of the resistor

R_n_well_10k_extracted_large.JPG

R_n_well_10k_extracted_small.JPG

 

We will use the layout view of this single 10k resistor as an instance to create the necessary components of our 10-bit DAC layout. After creating a new layout view called lab3 in the C5 process, we can open the instance window by pressing I to create an instance of the 10k resistor we just made.

 

Instance_R_n_well_10k_layout.jpg

You can measure the n-well resistor's length and width by using the ruler tool (K).

ruler.JPG

Now that the instance is created, we need more of them, so copy the current resistor layout to make a total of 3 resistors.

Copy_Rows_R_n_well_10k_layout.JPG

Now, we need to connect these resistors together using the metal1 layer.

Metal_layers_R_2R.JPG

This three (3) resistor configuration will form the basis or bit of our 10-bit DAC. Using this as a template, we will copy it 9 times for a total of 10 instances of a R_2R configuration as shown in the previous lab, except this time it will be in a layout view. An easy way to do this is by simply adjusting the 'Rows" parameter in the copy window.

Copy_R_2R.JPG

Because the lab requests the resistors be aligned along the x-axis, an orthogonal selection is perfect to maintain a stacked look of resistors.

Copy_Rows_R_2R.JPG

Next, we will need to connect these R_2R parts together. Do this again using metal1 using any configuration you like. An example is shown below.

Connecting_R_2R_bits_together.JPG

Do this along the rest of the DAC.

Metal_connected_10-bit_DAC_Layout.JPG

A completed version is shown above. Please note that I have added a resistor at the very end as the R_2R topology from the previous lab demands. Here is a closer look:

End_resistor.JPG

Now that we have successfully created the layout of the 10-bit DAC, we need to assign it pins! You can do this by using the Create menu and clicking on Pins (Create->Pins). Make sure the pin parameters are faithful the the schematic, or it will not LVS correctly! Also, it is useful to check "Display Terminal Name" so you can keep track of all the pins in the layout.

Create_pins.JPG

Assign_pins.JPG

Once you've assigned all the pins, it is now time to DRC, Extract, and LVS the layout!

 

First DRC the layout by going to Verify->DRC. If everything goes according to play, you should have no errors!

Verify_DRC.JPG

Next we need to extract the layout. Click Verify->Extract. An extracted view will now be created in your library manager. Here is what it should look like.

Extracted_view.JPG

 Now it is time to LVS the layout. Click Verify->LVS. An "Artist LVS" window should pop up. Specify the schematic and extracted views for the LVS by clicking on the browse button and finding the appropriate files! It should look similar to this.

LVS.JPG

You are now ready to LVS, click Run! If all goes well, you should receive a message that your netlists match!

netlists_match.JPG

Congratulations, this concludes the lab! You have successfully created a layout for a 10-bit DAC using 10k n-well resistors.

Lab 3 files can be found here. The cell to view is 10bit_DAC.

 

Don't forget to backup your work! Shown below is a cloud based solution using that I have chosen.

Backup.JPG

 

 

 

Add a return to the listing of your labs

Return to EE 421 Labs