Lab 1 CMOS Inverter

r78b6d發表於2024-10-08

Lab 1 CMOS Inverter (100 pts)

The objective of this lab is to design an inverter with symmetric output rise and fall times (matched within5%) and minimal Area-Delay Product (ADP). 10 points will be assigned based on the ranking of yourADP (refer to point 3 in Section D).

Environment temperature of 85 and Vdd = 1.1V will be used throughout this project.Section A: Schematic and Symbol (10 pts)

  1. [8pt] In this section, please follow the tutorial to draw the schematic of an inverter. The devices we areusing are PMOS_VTG and NMOS_VTG in the library NCSU_Devices_FreePDK45. You have to choosethe size of the transistors. The inverter should fit all the following requirements: ● It has symmetricoutput rise and fall times (matched within 5%)
  • Pin names: VDD, GND, IN, OUT (all uppercase)

In DC analysis, find and label the point VM where Vin = Vout . What do you expect the ratio to be betweenVM and Vdd when the output rise/fall times are symmetricBy varying the (W/L)p and (W/L)n ratio, you can change the DC operating point. Please choose the valuescarefully. You are going to draw the layout with thsame transistor size, and part of the score will beevaluated by the Area-Delay Product. Explain the reasons behind your decisions. We expect you to

apply some theoretical analysis here (you can refer to related slides to facilitate theoretical analysis) toerive the proper ratios, and do not solely rely on trial and error with simulations.Figure 1. Inverter Schematic Example2.代 寫Lab 1 CMOS Inverter [2pt] Follow the same tutorial to create a symbol view for your inverter. Please use the standard

inverter symbol instead of a generic symbol like rectangle boxes. Section B: Schematic Simulation (15 pts)

  1. [5pt] DC Analysis:Plot the Vout-Vin curve of the inverter you created, sweeping input voltage from 0 to VDD (1.1V). Plotthe output and input voltages in the same graph.Find VM, the inverter switching threshold voltage.
  • Label VIH, VIL, VOL, VOL. Calculate NMH and NML. Refer Section 2.5.3 in the textbook (p.91-92).We have:
  • VIH = minimum HIGH input voltage
  • VIL = maximum LOW input voltage
  • VOH = minimum HIGH output voltage
  • VOL = maximum LOW output voltage
  • NML = VIL – V

OLNMH = VOH - VIHFigure 2. Noise margin definitions

  1. [5pt] Create a testbench schematic for transient analysis with the inverter you just created. Please usethe test bench setup as shown in the schematic of Figure 3. All six inverters in the testbench should be theone you created (i.e. instantiate six identical copies of it) and their roles are:
  • DUT (Device Under Test): your designed inverter, I2
  • Fan-in: one inverter as the input driver, I1
  • Fan-out: four inverters (I3 - I6) in parallel as the load (this is what we call a fan out of four)
  • Final stage: each load capacitor of inverter has 100fF

Assign net labels for the input (VIN) and output (VOUT) pin of the DUT (The one inverter at the middle

stage) for measurements.2Figure 3. Inverter Testbench Schematics

  1. [5pt] Transient Response: Perform a transient analysis of your inverter. Change the testbench togenerate pulses as the input stimulus with the following setting:

1nsSimulate the circuit for at least 2.2ns. Set Simulation temperature to 85 . Plot the input and outputvoltage of the DUT inverter on the same graph. Measure the propagation delay, rise time and fall time of

the output signal.Section C: Inverter Layout (35 pts)

  1. [20pt] Inverter LayoutFollow the tutorial to draw the layout of an inverter. Attach a screenshot of your layout, along with rulers showing the width and height of its bounding box. Please note that we prefer smaller areas, but you must

follow all the design rules.

  1. [5pt] Design Rule Check (DRC)Attach a screenshot proving you have passed the DRC.
  1. [5pt] Layout vs. Schematic (LVS)Attach a screenshot proving you have passed the LVS.
  1. [5pt] Extraction of Parasitic Capacitance (PEX)

Attach a screenshot of the parasitic view of the inverter.Section D: Layout Simulation (40 pts)

  1. [5pt] DC Analysis:Perform the DC analysis of your inverter using the extracted view. Label VIH, VIL, VOL, VOL. Calculate MH

and NML. (Please note that you do not have to design another testbench. Create a “config” cell viewfor the one in part III. Adjust the configuration to choose the extracted view, and then launch ADE Linside the config view in order to simulate with the extracted parasitics.)

  1. [10pt] Transient Response:Perform transient analysis using the extracted view (on allsix inverters in the testbench) using thechematic shown in Figure 4. Simulation temperature: 85 .. Plot the input and output voltage curves inthe same graph. Measure the propagation delay, rise time,and fall time.
  1. [15pt] ADP In-class Ranking:

Please provide the area-delay product as defined below:

  • ADP = bounding box area (nm2 ) * delay (ps)
  • delay = the average tpd of the largest delay of the first two cycles, i.e. (largest of tpdr1, tpdf1 , tpdr2 , tpdf2 )

The points you get depends on your ADP ranking in the class:

  • Rank A, #1~#11: 10pts
  • Rank B, #12~#21: 8pts
  • Rank C, #22~#31: 6pts
  • Rank D, #32~#41: 4pts
  • Rank E, #42~51: 2ptsIf the output rise/fall time difference is larger than 5%, 2 pts will be deducted from this part for every 5%.
  1. [10pt] Compare the post-layout simulation result with that of the pre-layout (schematic) simulation. Doyou see any differences? Explain your findings and what are their implications for future layout projects?Submission Please submit a report written in IEEE double-column conference format, following the template filefrom Canvas. You can find the doc document under Files named IEEE_TemplatePlease also submit a tgz file of your library (including inverter design and testbench cell views) alongwith the written report to Canvas.
  1. 1) Go to the directory where you can see your library folder.
  2. 2) tar -czvf inverter_PID.tgz name-of-your-library

Please replace PID with your PID and the name of your virtuoso library as name-of-your-library. Forexample, if your PID is andrew123, and your virtuoso library name for the assignment is lab1, then thecommand should be:

tar -czvf inverter_andrew123.tgz lab1 And you should submit the file named inverter_andrew123.tgz and the written report in pdf (as two fileuploads in canvas).

Hint:If you're using ssh.ece.vt.edu to access the software, you can use <CTRL><SHIFT><ALT> keycombination to bring out Guacamole Menu, where you can upload and download files from the remoteserver by drag and drop.

相關文章