Lab 5 - ECE 421L 

Authored by Jalen Solis,

October 10, 2023

Prelab


The purpose of the prelab is to become familiar with CMOS inverters and how to design, layout and simulate one in Cadence. This prelab will go through the entirety of tutorial 3.

Before we begin the prelab we must make sure that our previous work is backed up:

pl0

The first thing we need to do is to create a library for tutorial 3:

pl1

Next we need to create a schematic for the inverter:

pl2


Once we have our schematic we can start to build the inverter:

pl3

Now we can start to place our VDD and GND connections:
pl4

Now we can place our pins and connect everything with wires:
pl5

Once this is done we can create a symbol for the inverter:
pl6
pl7

With our schematic and symbol created we can now start on the layout of the inverter:
pl9

With this finshed we can connect pins to the ends and DRC our layout:

pl10

Since our layout has no errors we can extract the layout:

pl11

Now we can run the LVS to see if our net lists match:

pl13

After running the LVS we see our netlists match:

pl12

Now we can test our inverter with a simulation:

pl14

We need to place our symbol down and connect a voltage source to it:

pl15

We need to make sure that we select the correct model files:

pl16

Now we can run an analysis:

pl17

We will select our outputs to be out and in:

pl18

Running the simulation we can see the graphs:

pl19

Next we can add another voltage source and a VDD terminal:

pl20

Running the simulation again we see that we get a different plot for the output voltage

pl21

We can also simulate the extracted layout:

pl22

This is the result of the extracted layout:

pl23

This concludes the prelab

Lab


The purpose of this lab is to use prior knowledge on how to create an NMOS and PMOS to create an inverter. We will create two different inverters that are different sizes and run simulations to see how the effects of changing the length and width differ from each other.

First we will create an NMOS and PMOS

l1

Next we will place the VDD and GND terminals:

I2

Then we will connect both with wires and pins;

l3

Once we save our schematic and check for errors we can create a symbol for the inverter:

l4

With our symbol and schematic made we can focus on the layout:

l5

Once we have all the components placed for the NMOS and PMOS we can connect them together:

l6

With both MOSFETs connected we can place our pins down and DRC our layout for any errors:

l7

Now we can focus on the second inverter:

l8

Now we can create our symbolic view:

l9

We can copy and paste our first layout for the second one all we need to do is change the multiplier on them:

l10

Here we are changing the multiplier for the NMOS:

l11

We also need to change the amount of contacts on both the ntap and ptap:

l12

l13

We can also change the number of contacts on our m1_poly:

l14

Now we can connect everything with the metal1 layer:

l15

Once everything is connected we can place down our pins and run a DRC for any errors:

l16

With no errors we can move on to testing our inverters:

l17

We need to make sure that we place a VDD and connect a DC voltage of 5V or else the inverter will not work:

l18

We will now set up the ADE for the simulation:

l19

By varying our value for C we can simulate the input and output of different values of the capacitor:

l20

We can repeat the same process for the second inverter all we need to do is switch out the inverters:

l21

Our ADE setup will be the exact same:

l22

We see that with a different inverter our plots change:

l23

We can also run UltraSim as a way to plot our values with a transient simulation only:

l24

We see that the graphs turn out the same as the first inverter:

l25

We can do the same thing for the second inverter:

l26

We can see that our graph turns out the same as the second inverter:

l27

This concludes the lab

Lab 5 File: lab5_js.zip

Return to EE 421L Labs