Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Electrical & Electronics Expert

Q1 ) Logic Gate Design/Layout and Simulation Experiments with Combinational Cells

 1) Use CADENCE Virtuoso schematic capture to design complementary CMOS logic gates at the transistor circuit level for the following functions:

i) 3 inverters,
ii) transmission gate,
iii) 2-input NAND, 
iv) 4-input NAND, and
v) a compound gate that implements the function COMPOUT = NOT {A[B+C+D]}.

Size your transistors as discussed below.

Transistor Sizes:
Your lab technology lambda is 100 nm.  Assume Vdd = 1.8v.  For your schematic and layout you must make the transistor dimensions in multiples of .5 lambda. 
Start your device sizing by experimentally determining a value for transistor beta ratio for the inverter.

a) The Basic Inverter #1: The NMOS transistor in the inverter should be "unit" transistor sized, as defined in the text and lectures, paying attention to the current design rules in the lab.  For the inverter, widen the PMOS transistor channel as required so that the rise time and fall time are within 10% of each other.

b) The Larger Inverter #2:  Size both the transistors in this inverter 4 times as wide as in the basic inverter.

c) The Largest Inverter #3:  Size both the transistors in this inverter 4 times as wide as in inverter #2.
Remember that you can put two or more unit-sized transistors in parallel in place of widening a single transistor if it helps keep your methodology consistent.

d) The Transmission gates: Size the transistors the same as the inverter #2 transistors.
e) The NAND gates: For the 2-input and 4-input NAND gates, use unit size NMOS transistors and make the PMOS transistors wide enough to have rise and fall times within 25% of each other.

f) The compound gate:  For the compound gate, experiment with transistor widths that give output rise and fall times within 25% of each other, in the worst case. Note that the sequence of inputs that give worst-case timing might be different from the required input sequences specified below.  Note also that when you have adjusted the critical path, other paths may need adjustment as well.  Worst-case timing and critical paths will be discussed in class. You can manipulate the Boolean equation as desired.  Include your choice of worst-case path in your discussion.

2) Simulate your transistor circuits (Cadence circuits) using SPECTRE to determine that they function properly.

• Label your inputs A, B, C and so on.  For ex, the 2-input gates have inputs A and B.  Label your outputs INV1OUT, NAND2OUT, etc.  
• Attach your inverter #1 design to the output of each gate (including the inverter) prior to circuit extraction and simulation to provide a load capacitance. The output you should plot is the input to this load inverter.
• Simulation timing:  Assume .1ns rise and fall time for your inputs.  Hold all input values stable for at least 1.8ns. 
• Show simulations of each gate with all possible combinations of inputs. 
• Change the inputs in the following manner:
4-input NAND: ABCD = 0000, ABCD = 0001, ABCD = 0010....etc.
2-input NAND: For the 2-input gates AB = 00, AB = 01, etc.   
Compound gate: For the compound gate, simulate all combinations of A, B, C and D,  from 0000 to 1111.  Please change the inputs in the order given so that we can grade what you are doing easily.  
• For the 3 inverters only:  Measure average current in your inverters and multiply by Vdd to obtain average power.  Measure over the period from .1ns before the input falls to .1ns after the input becomes low. There is a measure method given in the tutorial we posted.   Note that you need to use a load inverter so use the smallest one as with other simulations. 
• For the smallest inverter increase the input voltage starting at 0.0v until the slope of the input/output transfer curve = -1.  Then find the low noise margin, assuming VOLMAX = 0.0v.  Find the high noise margin in a similar way.

3)  Layout your cells with Cadence (each circuit layout is a "cell").  Use the TSMC technology (NCSU_TechLib_tsmc02) as instructed in lab.  Put at least one ntap and ptap (ohmic contacts) in each cell.   If you have multiple n-wells in a cell, each needs an ohmic contact. 
Required Layout Design Methodology:

Design all of your cell layouts so that they can be placed next to each other either vertically or horizontally without having layers connect that should not. 
Use a uniform methodology to design all the gates, and only use metal1 and metal 2 for interconnect. 
Make sure that you minimize the use of poly (for ex, you could only use poly around the gate region of each transistor).  
Your goal is to insure that it is easy to build more complex designs out of your gates, and to keep the cells small, with few layer changes for each connection. 
You want to extend your methodology to design compound gates as well. 
Keep in mind as you design the inverter that you may want to redesign it later with wider transistors. 
At this point in the semester, try to minimize the white space to create cells that are as small as possible, but easily combined into larger circuits.  One hint:  you could design the cells so that the output of each cell lines up exactly with an input of every cell type.  The output and input can line up horizontally or vertically.

The following is one ex of such a methodology:

"Design each cell to be the same height.  Power and ground will be routed horizontally later, and the input to each cell should be vertical.  The output should come out horizontally on the metal 2 layer.  Use a style similar to the cells shown in Fig. 1.10 of the text."
This is only an ex.  Instead, you might choose to design each cell to be the same width,  for ex.  You might route the inputs to the cell horizontally, and use different layer assignments than the ex.

4) Use LVS to verify that your cell layouts are identical to the schematics.  You will simulate the layouts with SPECTRE in Lab 2. 

5) Layout a small logic block that implements the function COMPOUT = NOT {A[B+C+D]} (the same function as the compound gate).  
using your inverter #1 and/OR NAND gate cells from Part 3.  This exercise should help you tune your cells so that they can be connected easily into logic blocks for the final project.  Be sure that inputs/outputs with the same name are connected on the layout.  Do not be concerned with simulation or device sizing.

Lab Report Contents:

1) Title page
2) Discussion and explanation of how you sized transistors, and the beta ratio you found, including measured rise and fall times.
3) Description of your design methodology.
4) Transistor schematics of gates.
5) Layouts of gates, captured as images, making sure the images are high enough resolution so the grader can see layout details and inputs/outputs are labeled.
6) SPECTRE outputs for each gate schematic simulation in the form of images showing the waveforms.
7) Table showing cell sizes for all the cell designs
8) Layout of the logic block, captured as an image.
9) Conclusions about the lab, especially about sizing the transistors in the compound gate.

Include as separate files: Each file called si.out generated in a folder called LVS showing the results either match or mis-match for each cell layout.  Be sure you rename the si.out file after each cell is verified to something like NAND2.out.  Otherwise it will get overwritten.
Use the "tar function" on UNIX to put all the files including the report into a single file. (See wikipedia for instructions on how to tar a file).   Do not put into rar format.  Students submitting multiple files will lose points.  Your reports must be in pdf format.

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M91117

Have any Question?


Related Questions in Electrical & Electronics

Problems -problem 1 - find v0 in the op amp circuit of fig

Problems - Problem 1 - Find v 0 in the op amp circuit of Fig. 1. Problem 2 - Compute i 0 (t) in the op amp circuit in Fig. 2 if v s = 4 cos(10 4 t). Problem 3 - If the input impedance is defined as Z in = v s /I s , find ...

Assignment -problem 1 -a consider the simplified dc system

Assignment - Problem 1 - a) Consider the simplified dc system shown in Fig. 1. Only one converter is modeled, with the remote end represented by a dc source. The ac system is rated at 345 kV, with the converter transform ...

A four-pole star-connected squirrel-cage induction motor

A four-pole, star-connected, squirrel-cage induction motor operates from a variable voltage 50 Hz three-phase supply. The following results were obtained as the supply voltage was gradually reduced with the motor running ...

Question 1 in the voltage regulator circuit in figure p221

Question 1: In the voltage regulator circuit in Figure P2.21, V 1 = 20 V, V Z = 10 V, R i = 222Ω and P z (max) = 400 mW. (a) Determine I L, I z , and I L , if R L = 380Ω. (b) Determine the value of R L , that will establ ...

1 a name the three major groups of contamination and

1. (a) Name the three major groups of contamination and briefly describe their physical characteristics. (b) Where do the above contamination types come from? Give one example of each. 2. Name two processes metrics which ...

Discuss the role of load factor on the cost of electrical

Discuss the role of load factor on the cost of electrical energy.

Questions -problem 1 - a series rlc network has r 2 komega

Questions - Problem 1 - A series RLC network has R = 2 kΩ, L = 40 mH and C = 1μF. Calculate the impedance at resonance and at one-fourth, one-half, twice, and four times the resonant frequency. Problem 2 - Design a serie ...

Questions -problem 1 - determine the laplace transform ofa

Questions - Problem 1 - Determine the Laplace transform of: (a) cos(ωt + θ) (b) sin(ωt + θ) Problem 2 - Obtain the Laplace transform of each of the following functions: (a) e -2t cos(3t)u(t) (b) e -2t sin(4t)u(t) (c) e - ...

Electrical engineering questions -q1 two ideal voltage

Electrical Engineering Questions - Q1. Two ideal voltage sources designated as machines 1 and 2 are connected, as shown in the figure below. Given E 1 = 65∠0 o V, E 2 = 65∠30 o V, Z = 3Ω. Determine if Machine 1 is genera ...

Questions -q1 a single-phase transformer rated 21 kv130 v

Questions - Q1. A single-phase transformer rated 2.1 kV/130 V, 7.8 kVA has the following winding parameters: r1= 0.7Ω, x1 = 0.9Ω, r2 = 0.04Ω and x2 = 0.05Ω. Determine: a. The combined winding resistance ________ Ω and le ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As