EE 421L – Digital IC Design Lab – Lab 5

Authored by James Skelly

Email: skellj1@unlv.nevada.edu

October 3, 2018

  

Lab description

·        In this lab, we will design, layout, and simulate a CMOS inverter.

 

 

Zipped-Up Lab 5 Directory

<<lab5.zip>>

 

 

Pre-Lab

 

Going Through Tutorial 3

 

·        In its entirety, tutorial 3 takes us through:

o   Design of schematic inverter

o   Creating symbol view of inverter

o   Layout of inverter

o   Simulation of inverter schematic

 

 

 

Shown here are my completed simulation schematic (with my NOT symbol) and the inverter layout.

 

 

Lab Tasks

 

·        Draft schematics, layouts, and symbols for two inverters having sizes of: 

o   12u/6u (= width of the PMOS / width of the NMOS with both devices having minimum lengths of 0.6u)

o   48u/24u where the devices use a multiplier, M = 4

·        Example layouts are seen below.

o   Notice that power is run on the top of the cell via metal1 and ground is run on the bottom of the cell also via metal1

o   Power (vdd!) is connected to the n-well using the ntap cell 

o   Ground (gnd!) is connected to the p-substrate using the ptap cell

o   Running power and ground with a single row of contacts, instead of 2 as seen below, is fine to reduce layout size

o   Your schematics should have two pins, e.g., A and Ai

o   Your layouts should have 4 pins: A, Ai, vdd!, and gnd! (note how lowercase letters are used for power and ground)

o   Your lab reports should document your efforts and results including showing that the extracted layouts and schematics LVS correctly

o   Zip up these cells in a directory call lab5_rjb.zip (last two or three letters are your initials) and link to your lab report

·          Using SPICE simulate the operation of both of your inverters showing each driving a 100 fF, 1 pF, 10 pF, and 100 pF capacitive load

·         Use UltraSim (Cadence's fast SPICE simulator for larger circuits at the cost of accuracy) and repeat the above simulations 

 

12u/6u Inverter (Width of PMOS / Width of NMOS)

https://lh6.googleusercontent.com/6ow6s3yes8dfEKlIk-rPvBBSuBn9YYuNGmBRIsQgmrlT1pUu96HKmPCyh8ZcP4z8ijUaljk4Y4YNrrGoMoHYfGIEVYEFfu7xuOQ8Ff46216-LcSC2T9SEh5YUhPp_v7cTcrlFAM https://lh5.googleusercontent.com/amOvVMMi8J7Ft3IIe5-E3t-1myyfhcb7F-wHdvnLUF68yPoqQE5TfUzAZeC7y4goFhRmxr1iHyAyvKwEyyHKoD6ZGyPjRpTP5JSkCd7vScUDeHo_TTdzXQZo6TqwjsLe0oR_X7o

Shown above are the schematic of the inverter (left), along with the created inverter symbol view (right).

This inverter, as we can see, has a multiplier of 1, or “1 finger”.

 

https://lh5.googleusercontent.com/IUpcywsZp5kyVn4KNPteYYy0NnyxndGdecFAsbQcH2pXmf3hEnOAFDGhGxDe6kQCfK3Hrw_cF412Nm1DZTJZLk1BfAESy0Gh19Hsw8sDpdaWBEGJEaX0fiGv4EaOuF_9TjQadhshttps://lh6.googleusercontent.com/r_DnDWhNRLkKjy-4P3aNKRa2wzcU3P8qWj4UvxQ7GsJfo2t9kaD-5AKiMt1HoHU4CfsYpwrHAFEYqclxijYxwYX10hwaVS4LvMCE6Cc177TJQwHMZqXJP80JUixjbJJikZUTIBchttps://lh3.googleusercontent.com/MREw853usoRQ7LVV5i4dIxCstJ6md7oL64pP4AN3cJV9dvuZXqUbCZiPvmDS5Emsn-dxGOKl2jyCLNxXEPXK2QeQNkoDTY4_lxVxCuBqRFhgnrwIoW0i4VjhdAFuQALnhEOANTA   https://lh6.googleusercontent.com/B14XcPbOKWa8ENP00EA7AwnDe2TfQWkSC0rBelbSpbCw3FDvWQFDqVlwtAMN6zA7BFPxSGiVMCUzE-pxepTRJnkcdHm4wa6F_0F4gEOWfc1-o6-L_22Mib-EzfQd5G1SpcICxvw   

Above is the layout of the (m=1) inverter (left) along with the extracted view (right).

We can also see that the DRC and LVS verification was successful.

 

48u/24u Inverter (12u/6u with M=4)

https://lh4.googleusercontent.com/1x6fcRBwZ0IDz8M7RM-PQkHs4d68z9EF3Mc35vOmdfML9dF_QwDT1PPZSFY9hoItqfN-QNMtaTm-O-ZUR_FBxdWfzk4tNSuZex90qhX3msSDFcCnUoYayhm_hjC6bQSfN3l9ASM https://lh5.googleusercontent.com/_j5gMTtet8Kn5_jIyZ5-J1Xvv3MCuH89M-cyjf0Q-GxbCbrdxurAJDFg6eGMo89VIEn4wdVRuAPC96j97XFkngv36Daq2nNfYGFAvw2vwgNjTc3ZB-5v0Eo-n-VB-vERqp89-9Y

Shown here are the schematic and symbol view for the four finger inverter.

 

https://lh4.googleusercontent.com/j_k8Fv-exNYPUysonYm2axfMUdV3kf4ASXjdi4th6OHNjUTSx8ABa9zFJmrAab6RA_37KD-wejiXBR_03Lmk5cl3icVYnLeoB0GXdMoF5OaE_7sF2RsZyyczgz5PYavwcCTuUXchttps://lh6.googleusercontent.com/V7BcoInKh0tzhwqYFeJ1eyiNUdGfguaunJaCfqB3w-62_EH_QZV1Onu4827kVlHRc7uEDh-RkToV8gTslgPigKQDNw5EhA-dof9iYqqb16QSMUO7LzAT3trsTWwClvSG0S8Pi1Qhttps://lh5.googleusercontent.com/pgKsY-X_KBMfuNW5RlEcChnD8Hwch1z2LDuOTb5VRZmdLvthh41qeqqAWTXJzwdGVF2__Tx6egUXU-1jomB-hyVpQcnJbDTIjndTzSYdHId9P3M3ZbSfWAl9SH7SFW-Ww21SMu8  https://lh6.googleusercontent.com/uDVWYbWA_qnuqWqyT12sydyQZJrQ4AnU-_QMFVuzLLPteTUIlgR-BBswiN9FIvx8JCJP24LESCl183biLAWF_J8MIRfNt9YsjiUDkDVBTqS5Gxw2TLYO93xHGVkHT7HYzVhy93Q  

Here we can see that the layout LVS and DRC verification was successful.

 

Simulation (100 fF to 100 pF Load, Inverter m=1)

·         Rather than running four different simulations, a parametric analysis was used to vary the capacitor from 100fF to 100pF.

https://lh5.googleusercontent.com/xD7KLsPWTCCtaCrQF5H7X0H9E6eqb6JiLZCFk8QDtM2VbJ7UQZpIJxm6nXVkVr4Zp-172Hjj19qAKAcoCWkuUngGBRp52WwF7oF1Fdq80tEpB-CqV0YS9q-txgTx6fHdPkmEAZU

 

·         We can observe from the following simulations that as the capacitive load increases, the time it takes for the inverter to respond to the input signal.

Spectre Simulation

https://lh4.googleusercontent.com/0SZYyQZRYdJKzcgr22QA9tUM8AoNLS6uEVmh9jfvuwI_WwcM_o-BulHZypn0l3-lV6K70lMF56iQOMMHj68OnHOgNWMmVDVD63j-cI5b8f4PGYoQzF8plsGGPoR7CUVgC9SZ3CE

UltraSim Simulation

https://lh6.googleusercontent.com/SnqsfIZnZy5uNyRGhk-I6an_JWaIyCLnog1FT1X2BOKjHwVSOwQnl2E-nSzGCJonSaHOlYuM3mS5OdLECMEWFSf0iEWt90xDX6vsggBpDL_eMBEih4k3UFw2W36hN0offjdaSvM

 

Simulation (100 fF to 100 pF Load, Inverter m=4)

https://lh4.googleusercontent.com/FTiPX4t6H5FywTl__ttInzHRXGAPHfwe6Q3FoWqXVpDzU3AJe0q0jpnj94IrqKKJcJtP3Mj005RrbQUmhuV7kYRfagH5GvuX95jMT9pyJXbjjPQOVt9fjP0w76-IBur4xX8IqAE

Spectre Simulation

https://lh5.googleusercontent.com/aXNlyEV5TUFgfUdtjDiKECUuOH5XoVlA6cYMliVHeT8sj1o_CDmdA3p00XDsRhoGSJgE5anq5Bqqcz3FEkvWrWGeZaML3KA2claz-YVdcrs-9VhY2THgMgFZOFjCTGPhOWMNeH4

UltraSim Simulation

https://lh4.googleusercontent.com/WRYkDDRl-Mx_hj3CpoEZAwEI5-FFbLdxLO1_DGPKInq6DQh3MgDHYn3ZrjhHCqKDRur8B1T8jwUVMEmYrnkRBjRk8_SJy1xRwoWagqTypU3PnhCOQj8A-KRlhMkE2P0NlDD3Sxw

 

We can observe from the simulations that the four finger inverter performs better because the additional fingers or branches of the MOSFET allow the capacitor to more efficiently charge and discharge.

 

 

Return to EE 421 Labs