Assignment
Assignment
2. Draw the 3-D diagram of a NMOS and mark Width and length.
where,
5. What is body bias? Write the threshold voltage equation with body bias
The voltage applied at the body of the MOSFET that prevents the conduction
of the parasitic diodes formed between Source-Body and Drain-Body is known as
Body Bias. This is one of the parameters that affects the threshold voltage of
MOSFET.
6. What will happen if the substrate voltage in an NMOS is a) +ve b) -ve -
give reason
There will be formation of parasitic diode between S-B and D-B
● If the substrate voltage of nmos is positive then the parasitic diode
becomes forward bias, so a large amount of current flows in the diode.
As a result of this high heat gets dissipated. Another effect is that the
electrons get attracted to the substrate regions, holes left behind. Then
the depletion region beneath the gate becomes narrower, Vth required
decreases.
.
7. What will happen to Threshold voltage of an NMOS if a) substrate doping
is increased b) source doping is increased
a. As the substrate doping in nmos is increased, the concentration of
electrons decreases. So the voltage required to form an inversion layer
increases, that is Vth increases.
b. As the source doping in nmos is increased, there will be a large
concentration of electrons. So the voltage required to form an inversion
layer decreases, that is Vth decreases.
8. What will happen to Vt if Tox is increased?
As the tox i.e The thickness of the oxide increases, the Vg required for
the formation of the inversion region increases, this increases the Vth.
14. Why is the width of the depletion region at drain larger as compared to
source?
The width of the depletion region at drain and source is based on the voltage
applied at the drain and source terminal. As the drain voltage
(Vds≥Vgs-Vth) is larger than source voltage (source voltage is zero), the width
of the depletion region at drain is larger as compared to source.
15. Why does a negative body potential increase the depletion region for
NMOS? What is its effect on Vt?
When Vbs is applied with negative potential, then parasitic diodes (S-B, D-B)
become reverse biased, more holes get attracted to the substrate terminal,
leaving a larger negative charge behind, this increases the depletion region of
the nmos. Since the depletion width is increased and Vt is proportional to Vsb,
Vt is increased by this effect.
16. Draw the cross-sectional view with both NMOS and PMOS on a single
silicon with the body terminals
17. What will happen to Vt if temperature is increased?( we will discuss this)
If temperature is increased, there will be a shift in fermi level and band gap
energy. As a result of this, the Vt decreases.
18. Write down the voltage conditions for Linear and Saturation regions of
operation for PMOS transistor.
3. Junction leakage
There are parasitic diodes formed between Source-Body and Dain-Body.
The body is tied to GND to avoid body-effect. However, reversed biased diodes
still conduct a small amount of current. This effect is called Junction Leakage.
The reverse biased current for the parasitic diode is given as
20. Identify the region of operation for the transistors
21. Draw the ID vs VDS (for VGS1, VGS2 and VGS2>VGS1) and ID vs VGS (for
VDS1,VDS2 and VDS2>VDS1)
22, 23 From simulation - tabulate Idsat(max saturation current) Ioff for an
NMOS transistor under the following PVT condition
TEMPERATURE VARIATION
VOLTAGE VARIATION
PROCESS VARIATION
We can understand that as voltage increases (Vgs or Vds), the Ion increases.
The above subthreshold leakage equation also shows that increasing voltage,
the Ioff or I(leakage) also increases.
c) Process Variation
The process variation impacts impurity concentration densities, oxide
thicknesses, diffusion depths and so on. The change in these parameters reduces the
Vth from SS, TT and FF. So that the Ion current increases from SS, TT and FF.
Similarly the I(leakage) current also increases.
27. What is GIDL. Explain with id vs vgs graph.
GIDL stands for Gate Induced Drain Leakage. It occurs where the gate
partially overlaps the drain. This effect is high when the drain is at high potential and
the gate is at low potential. Due to this strong electric field, electron-hole pair
generation occurs, the electrons go to the drain region and holes to the substrate,
causing the net flow of current from drain to body. Instead of the current Id going to 0,
the current increases in negative potential of Vgs. This effect is called as GIDL.
28. What is the subthreshold slope? What are the typical values? How is it used
to define Vt of a transistor?
Subthreshold slope determines how much Vgs have to be reduced for the drain
current to drop by a factor of 10. The equation is given as
So if the Vgs is reduced by 360mV, the subthreshold current reduces by the factor of
104. By this we can determine Vth, so that there is a good ratio between Ion and Ioff.
29. How does mobility and Vt vary with temperature?
i) Temperature increases, mobility reduces, Id reduces
ii) Temperature increases, Vth reduces, Id increases.
30. Plot Id vs Vds for n105_hvt, n105, n105_lvt models (25c, 1.05v)
Ion Ioff
c) FF_-45c_1.0v,FF_125c_1.1v
1. SS_0.9v_-40c (0.7v,12.803uA)
SS_0.9v_125c
2. TT_1.0v_-40c (0.53v,13.05uA)
TT_1.0v_125c
FF_1.1v_125c
33. Tabulate the Ion and Ioff values for n105, n105_hvt and n105_rvt at
SS/0.9v/125, SS/0.9v/m40c, TT/1.0v/25c, FF/1.1/m40c, FF/1.1v/125c
Nor
38. Draw the parasitic model RC of M1,M2 & M3 layers where M1 is bottom,
M2 middle and M3 is the top layer.
43. Draw the transfer curve of the inverter and show the NMOS, PMOS region of
operation in 5 important transition points of the curve.
A Cutoff Linear
B Saturation Linear
C Saturation Saturation
D Linear Saturation
E Linear Cutoff
44. Draw the cross-sectional view of an inverter with all electrical connections.
45. 45. Plot the DC transfer curve of an inverter with .dc analysis.
46. Derive the trip point equation and find out the conditions for vdd/2 trip point.
Trip point is the point at which both the transistors are in the saturation region.
For Vin = Vdd/2 the conditions are
1. Vtn = -Vtp
2. βn = βp
a. Ln = Lp
b. μn = 2μp
c. Wn = 2Wp
47. Simulate the DC transfer curve for wn=wp, wn=2wp, wn=1/2 wp and note
down the trip points.
Wn = ½ Wp 0.5v 100n,50n
48. Run a .tran simulation and observe the delay of an inverter.
For Wn = 200n, Wp = 100n. The propagation delay are
Tpdf = V1 - V2 = 1.63n - 2.95n = 0.86ns
Tpdr = V4 - V3 = 18.37n - 17.5n = 0.87ns
49. Explain why the trip point shifts in Q46.
1. From the equation of Vinv, as the Wn increases, the βn increases. So the trip
point shifts towards the left.
2. As the width of the nmos increases, the nmos becomes stronger and output trips
at low Vin. As a result of this, the trip point shifts towards the left.
50. For a transistor, explain which of the following corners will have ( & why)
1. Max leakage : FF_1.1v_125c
● The FF process has low Vt compared to other processes.
● For high Vds = 1.1v, the DIBL increases.
● For high temperature(125c), the threshold voltage decreases.
Ultimately, the low Vt causes the subthreshold leakage to increase and is
maximum compared to other PVT corners.
2. Min leakage : SS_0.9v_-40c
● The SS process has high Vt compared to TT, FF process.
● For Low Vds = 0.9v, the DIBL is low.
● For low temperature (-40c), the threshold voltage increases.
Ultimately, the high Vt causes the subthreshold leakage to decrease and
is maximum compared to other PVT corners.
51. Tabulate the delay of the inverter TPLH and TPHL for the following
a) Load variation - CL – 1f, 10f,20f for 200n/100n at TT,1v,25c
b) Size variation - 200n/100, 400n/200n, 800n,400n for CL=10f at
TT,1v,25c
c) Vt/process variation – CL=10f, 200n/100n, SS,TT,FF @ 1v, 25c
d) Supply variation CL=10f, 200n/100n, supply – 0.9v , 1v, 1.1v @TT,25c
TT_1v_25c, Wp/Wn=200n/100n
CL Tpdf Tpdr
1f 25.18ps 31.87ps
CL = 10f, 1v_25c,Wp/Wn=200n/100n
ss 219.1ps 205.8ps
ff 119.7ps 112.5ps
tt 150.8ps 132.3ps
CL = 10f, TT_25c,Wp/Wn=200n/100n
1v 163.0ps 154.4ps
TT_1.1_25c
Tpdf 24.41ps
Tpdr 15.88ps
56. Simulate the circuit and measure the delay from A to X, B to Y, C to Z
a. Latch
b. Ring Oscillator
59. From Q 55 – determine the stage delay of one inverter.
TT_1.1_25c
Tpdf 24.41ps
Tpdr 15.88ps
𝑛 𝑠𝑡𝑎𝑔𝑒 𝑑𝑒𝑙𝑎𝑦
Single stage delay = 𝑛
60. Simulate a 11 stage ring oscillator and measure one period from the
waveform. Write the formula for one period in terms of stage delay of an
inverter. You can run the simulation at SS/0.9v/125c
From 0.3(Vt) < 0.4 < 0.5 (Vdd/2) , the region of nmos and pmos is
NMOS saturation = PMOS linear
Ids(sat) = Isd(linear)
β𝑛 2 𝑉𝑠𝑑
2
(𝑉𝑔𝑠 − 𝑉𝑡𝑛) = β𝑝 (𝑉𝑠𝑔 − 𝑉𝑡𝑝 − 2
)𝑉𝑠𝑑
1. in = Vdd
a. For the nmos, 𝑉𝑔𝑠 = 𝑉𝑖𝑛 − 𝑉𝑜𝑢𝑡 > 𝑉𝑡𝑛. When
𝑉𝑜𝑢𝑡 = 𝑉𝑑𝑑 − 𝑉𝑡𝑛 it reaches the minimum voltage required
to turn nmos ON. So the maximum voltage level output
charged to is 𝑉𝑑𝑑 − 𝑉𝑡𝑛.
2. in = 0
a. For the pmos, 𝑉𝑠𝑔 = 𝑉𝑜𝑢𝑡 − 𝑉𝑖𝑛 > |𝑉𝑡𝑝|. When
𝑉𝑜𝑢𝑡 = |𝑉𝑡𝑝| it reaches the minimum voltage required to
turn pmos ON. So the maximum voltage output discharged to
is |𝑉𝑡𝑝|.
In this configuration, NMOS passes weak 1 and PMOS passes weak 0.
63. What are the two criteria that designers use for determining P:N ratio of an
inverter based on Tplh,Tphl ?
1. P:N ratio at which there is approximately equal rise and fall delay occurs.
2. P:N ratio at which there is minimum delay occurs.
64. How do we size a chain of inverters for optimum delay – write down the 3
criteria.
1. Each stage delay must be equal.
2. The size of one inverter is the geometric mean of the adjacent inverters.
3. For optimum delay, the ratio of each inverter can be 4.
65. Measure the delay between point A to B in the three circuits (three different
simulations with different sizes of the inverter chain) . If the transistor size is
>1000n , you can use micron(u) as a unit e.g. 1000n=1u. Corner SS/0.9v/125c
Tph Tpl Tp
Before After
𝐸 = 𝑉𝑣𝑑𝑑 𝐶𝐿 ∫ 𝑑𝑉𝑜𝑢𝑡
0
𝐸 = 𝑉𝑣𝑑𝑑 𝐶𝐿[𝑉𝑑𝑑]
2
𝐸 = 𝐶𝐿𝑉𝑣𝑑𝑑
2
𝐶𝐿𝑉𝑣𝑑𝑑
2
𝑃= 𝑇
𝑜𝑟 𝐶𝐿𝑉𝑣𝑑𝑑 𝑓
𝐸 = 𝐶𝐿 ∫ 𝑉𝑜𝑢𝑡𝑑𝑉𝑜𝑢𝑡
0
2
𝑉𝑜𝑢𝑡
𝐸 = 𝐶𝐿[ 2
]
2
𝑉𝑜𝑢𝑡
𝐶𝐿[ 2
] dissipated from the pmos.
68. What is short circuit current? Draw the SC current waveform w.r.t input
transition and DC transfer curve.
Write the formula for SC current.
In the transfer curve, from Vtn to Vdd-Vtp, both pmos and nmos will be
ON, the current flows from Vdd to Vss and it will be maximum at Vdd/2. This
current is called a Short-circuit current.
69. Measure & tabulate dynamic I(vvdd) for an inverter for the following
a) For CL – 1f, 5f, 10f ( load variation) @TT/1v/25c , 200n/100n
b) For VDD – 0.9v, 1v, 1.1v ( voltage variation) for CL=5f, 200n/100n, at
TT,25c
c) For Wp/wn – 200n/100n , 400n/200n , 800n/400n ( width variation) for
CL=5f, 200n/100n, @TT/1v/25c
d) For SS/1v/25c, TT/1v/25c, FF/1v/25c for constant CL=5f ( process
variation) , 200n/100n
e) FF/1v/-40c, FF/1v/25c, FF/1v/125c for constant CL=5f ( temp variation) ,
200n/100n
70. Measure & tabulate static I(vvdd), I(vvss) for an inverter for Q 68 by
choosing a proper timing window.
Load Variation [TT/1v/25c , 200n/100n]
From the above equation, as CL increases, the switching power increases, then
the dynamic power also increases.
2. Static power
𝑃𝑠𝑡𝑎𝑡𝑖𝑐 = 𝑉𝑣𝑑𝑑𝐼𝑠𝑢𝑏
𝑉𝑔𝑠−𝑉𝑡+η𝑉𝑑𝑠−𝑘𝑉𝑠𝑏 −𝑉𝑑𝑠
𝑛𝑣𝑇 𝑣𝑇
𝐼𝑠𝑢𝑏 = 𝐼𝑜𝑓𝑓𝑒 [1 − 𝑒 ]
As the width of the transistor increases, the Ids through the device increases,
increasing the short-circuit power. Hence the dynamic power also increases.
2. Static power
𝑃𝑠𝑡𝑎𝑡𝑖𝑐 = 𝑉𝑣𝑑𝑑𝐼𝑠𝑢𝑏
𝑉𝑔𝑠−𝑉𝑡+η𝑉𝑑𝑠−𝑘𝑉𝑠𝑏 −𝑉𝑑𝑠
𝑛𝑣𝑇 𝑣𝑇
𝐼𝑠𝑢𝑏 = 𝐼𝑜𝑓𝑓𝑒 [1 − 𝑒 ]
As the 𝐼𝑜𝑓𝑓∝ 𝑊, the 𝐼𝑠𝑢𝑏 increases, ultimately increasing the static power.
Process Variation [CL=5f, 200n/100n]
As the process varies from ss to ff, the Ids through the device increases,
increasing the short-circuit power. Hence the dynamic power also increases.
2. Static power
𝑃𝑠𝑡𝑎𝑡𝑖𝑐 = 𝑉𝑣𝑑𝑑𝐼𝑠𝑢𝑏
𝑉𝑔𝑠−𝑉𝑡+η𝑉𝑑𝑠−𝑘𝑉𝑠𝑏 −𝑉𝑑𝑠
𝑛𝑣𝑇 𝑣𝑇
𝐼𝑠𝑢𝑏 = 𝐼𝑜𝑓𝑓𝑒 [1 − 𝑒 ]
As the process varies, the Vt reduces, the 𝐼𝑠𝑢𝑏 increases, the static power also
increases.
As the temperature increases, the Vt reduces, Isub increases. Hence the static
power also increases.
71. Take the buffer chain of Q 65 (1) and measure static and dynamic current
at SS/0.9v/125, SS/0.9v/m40c, TT/1.0v/25c, FF/1.1/m40c, FF/1.1v/125c
72. For Q71, create a column for (Dynamic- static) for true dynamic current.
1. SS/0.9v/125c
● For the SS process, the dynamic power and static power is less
compared to TT and FF.
● For 0.9v, the dynamic power and static power is less compared to 1.0v
and 1.1v
● For 125c, the static power increases and dynamic power reduces.
2. SS/0.9v/m40c
● For the SS process, the dynamic power and static power is less
compared to TT and FF.
● For 0.9v, the dynamic power and static power is less compared to 1.0v
and 1.1v
● For m40c, static power is reduced and dynamic power is increased.
3. TT/1.0v/25c
● For the TT process, the dynamic power and static power is high
compared to SS and low compared to FF.
● For 1.0v, the dynamic power and static power is high compared to 0.9v
and low to 1.1v.
● For 25c, the static power is high compared to m40c and less compared
to 125c. The dynamic power is low compared to m40c and high
compared to 125c.
4. FF/1.1v/m40c
● For FF processes, the static and dynamic power is very high.
● For 1.1v, the static and dynamic power is high.
● For m40c, static power is low and dynamic power is increased.
5. FF/1.1v/125c
● For FF processes, the static and dynamic power is very high.
● For 1.1v, the static and dynamic power is high.
● For 125c, static power increases and dynamic power reduces.
Static power
𝑆𝑆/0. 9𝑣/𝑚40𝑐 < 𝑆𝑆/0. 9𝑣/125𝑐 < 𝑇𝑇/1. 0𝑣/25𝑐 < 𝐹𝐹/1. 1𝑣/𝑚40𝑐 < 𝐹𝐹/1. 1𝑣/12
Dynamic power
𝑆𝑆/0. 9𝑣/125𝑐 < 𝑆𝑆/0. 9𝑣/𝑚40𝑐 < 𝑇𝑇/1. 0𝑣/25𝑐 < 𝐹𝐹/1. 1𝑣/125𝑐 < 𝐹𝐹/1. 1𝑣/𝑚40
73. Design a 2:4 decoder with inverter and nand gates and measure
a) delay b) dynamic c) static d) true dynamic current at
SS/0.9v/125, SS/0.9v/m40c, TT/1.0v/25c, FF/1.1/m40c, FF/1.1v/125c
74. Derive the P:N ratio for nand2, nor2, nand3, nor3, nand4, nor4 using a 2:1
inverter as reference. Compare the total width of transistors ( P and N combined)
between a) nand2 & nor2 , b) nand3 & nor3, c) nand4 & nor4.
Reference inverter
1. nand2
a1 a0 y
0 1 1 PMOS worst
case
1 0 1
1 1 0 NMOS
a1 a0 y
0 0 1 PMOS
0 1 0 NMOS Worst
case
1 0 0
1 1 0 NMOS Best
case
a2 a1 a0 y
0 0 0 1 PMOS best
case
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1 PMOS
worst case
1 1 1 0 NMOS
𝑃: 𝑁 𝑟𝑎𝑡𝑖𝑜 𝑓𝑜𝑟 𝑁𝐴𝑁𝐷3 𝑖𝑠 2 : 3
4. nor3
5. nand4
Width
a. NAND2 8u
NOR2 10u
b. NAND3 15u
NOR3 21u
c. NAND4 24u
NOR4 36u
75. What is the equation for equivalent width of n transistors connected in a)
parallel b) series – draw the series and parallel diagrams
a. Parallel
𝑊 = 𝑊1 + 𝑊2
b. Series
(𝑊1)(𝑊2)
𝑊 = 𝑊1+𝑊2
TT/1.1v/125c
The shorted output of the inverter is allowed only if the inputs are shorted.
81. What is a tristate gate? Draw the ckt of a tristate inverter and simulate. Why
do we need a tristate gate? Show an example.
Tristate gate : Tristate has three states - 0, VDD, High ‘Z’. Tristate controls whether
or not to connect the input to output. When the control is 0, then it doesn’t allow the
input to pass to output and gives High ‘Z’ state. When the control is 1, then the input
gets passed to output.
Circuit diagram of Tristate inverter
The simulated output
Delay_in_r_x_f 8.4919ps
Delay_in_r_out_f 12.229ps
A B F NMOS PTL
0 0 0 When A = 0, F = 0
0 1 0
1 0 0 When A = 1, F = B
1 1 1
2. F = A+B
A B F
0 0 0 When A = 0, F = B
0 1 1
1 0 1 When A = 1, F = 1
1 1 1
3. F = invert(AB)
A B F
0 0 1 When A = 0, F = 1
0 1 1
1 0 1 When A = 1, F =
B’
1 1 0
4. F = invert(A+B)
A B F
0 0 1 When A = 0, F =
B’
0 1 0
1 0 0 When A = 1, F = 0
1 1 0
5. F = A XOR B
A B F
0 0 0 When A = 0, F = B
0 1 1
1 0 1 When A = 1, F =
B’
1 1 0
6. F = XNOR B
A B F
0 0 1 When A = 0, F = B’
0 1 0
1 0 0 When A = 1, F = B
1 1 1
1. The advantage of this PTL implementation is
that a lesser number of transistors can be used.
2. Disadvantage : Since the NMOS is the weak conductor of ‘Vdd’, the logic
high output is degraded.
85. What will be V1, V2, V3 in the following ckt - analyse with theory
● Ratioed logic : The output of the gate depends on the ratio of pull-up and
pull-down network of the device.
● Disadvantages
1. The PMOS will always be ON, so there is a large Short-circuit current
flowing from VDD to GND.
2. There will be logic HIGH and LOW signal degradation.
88. Draw a basic dynamic nand gate with clock and show its timing diagram?
What are the common issues of a basic dynamic gate? How do we overcome the
issues with the help of Domino dynamic gate + PMOS keeper? What is the main
issue with Domino gates?
Basic dynamic nand gate with clock
Timing diagram of dynamic logic nand
Common issues of basic dynamic gate
1. Charge leakage - When the output is pre charged and during evaluation phase,
if the pull-down network is off, ideally the output should remain at VDD. But it
leaks away due to leakage current, This causes degradation at output HIGH
level.
2. Charge Sharing - For the given circuit,if input ‘A’ changes its state from 0 ->
1, the N1 turns on, then the charge originally stored in CL is redistributed over
CL and CA.. Therefore there occurs a drop in output
voltage level.
3. Capacitive coupling - When the output is pre charged
and during evaluation phase, if the pull-down network
is off, then the output will be at a high impedance state.
While cascading the gate will be subjected to cross-talk
effect.
4. Cascading Dynamic gate - There will be a finite
amount of propagation delay for the output capacitance
to discharge the output to GND. When this output is
cascaded to the input of the next dynamic gate, there will be loss of charge at
the next stage output, which can not be recovered.
To solve the above issues, we are using domino logic + PMOS keeper
● The P2 and P4 (Keeper transistor), are always ON during the high impedance
state. This eliminates the charge leakage and capacitive coupling issue in
dynamic logic.
● To ensure all the inputs of the next stage dynamic gate are set to 0 at the end of
pre-charge phase, we are using a static inverter at the output of each stage. This
solves the problem of cascading issues in dynamic logic.
Main issues with domino logic
1. Since we are using a static inverter, only non-inverting logic can be
implemented.
89. Define VOH, VOL, VIL and VIH. Draw the diagram showing the relative
position of the four voltage levels for a system to work properly. Define Noise
margin.
1. VOH - The minimum voltage at which the output is considered to be in a logic
HIGH state.
2. VOL - The maximum voltage at which the output is considered to be in a logic
LOW state.
3. VIL - The maximum voltage for which the input can rise for the system to
recognize as logic LOW.
4. VIH - The minimum voltage for which the input can drop for the system to
recognize as logic HIGH.
Diagram showing the relative position of the four voltage levels for a system to work
properly
Noise Margin - The allowable noise voltage at the input of a gate so the output will
not be corrupted.
Low noise margin, 𝑁𝑀𝐿 = 𝑉𝐼𝐿 − 𝑉𝑂𝐿
90. Show how to find VOH, VOL, VIL and VIH for a cmos inverter from the
transfer curve.
91. Create a schematic of a chain of inverters which produces input to output
delay of approx 100ps @tt/1v/25c. Simulate and check how much delay you are
getting.
Schematics
Measured delay
Delay_in_r_out_r, 𝑇𝑃𝐻𝐻 = 88. 126𝑝𝑠
Delay_in_f_out_f, 𝑇𝑃𝐿𝐿 = 97. 281𝑝𝑠
𝑇𝑃 = 92. 704𝑝𝑠
92. Use the above block delay block 5 times and simulate the following circuits
and observe the outputs, this will require 4 separate schematics ( you can apply a
pulse/PWL input)
93. Draw the block diagram ( show the i/ps, outputs of stage 1 and programming
for 2nd stage) for decoding 9 address input with 2 stage decoding.
Three 3:8 decoders on the first stage and 512 3-input NAND and inverter on the
second stage.
.............
Y510 = in1 in2 in3 in4 in5 in6 in7 in8 in9’
Y511 = in1 in2 in3 in4 in5 in6 in7 in8 in9
94. What is the disadvantage of using nand, nor with large no of inputs?
For a large number of input NAND and NOR, the optimum width of the
transistors is large, this increases the capacitances. Hence the delay and dynamic
power consumption is larger. So it is preferable to use 2,3 or4-input nand or nor gate.
96. Draw the schematic of INVERT( AB+ CD) and INVERT( (A+B)(C+D)) and
derive the PMOS and NMOS sizes for equal rise-fall)
A B C D Y=(AB+CD)’ Y=((A+B)(C+D))’
0 0 0 0 1 1
0 0 0 1 1 1
0 0 1 0 1 1
0 0 1 1 0(Worst case) 1(Worst case)
0 1 0 0 1 1
0 1 0 1 1(Worst case) 0(Worst case)
0 1 1 0 1 0
0 1 1 1 0 0
1 0 0 0 1 1
1 0 0 1 1 0
1 0 1 0 1 0
1 0 1 1 0 0
1 1 0 0 0 1
1 1 0 1 0 0
1 1 1 0 0 0
1 1 1 1 0 0
a. Y = (AB+CD)’
a. Y = ((A+B)(C+D))’
99. Using the transistor as a capacitor load at a few points, simulate your delay
block and note down the delay value with caps and w/o caps
104. Measure the leakage in the following ckt under two different input
conditions shown ( @FF/1.1/125c)
I(vvdd) I(vvss)
1. -394.7nA 394.8nA
2. -1.288nA 1.290nA
As setup and hold time occurs at different portions of the clock, the
CLK_TO_Q delay doesn’t depend on the setup or hold time.
From the above figure, increasing and decreasing setup-hold time doesn’t affect
the CLK_TO_Q delay.
106. Without simulation, for the diagram below draw the o/ps Q1 and Q2 if
Tclk-q=Ts=Th=Tdelay of the delay block =1ns . What is the max operating
frequency of the design(or minimum clock cycle time). Draw the timing diagrams
for all inputs and outputs. Write the generalised formula for clock period.
Timing diagram
Timing diagram
The system doesn’t meet the hold time requirement. To fix this issue we can introduce
1n delay block
110. With the FF that you have designed, calculate the
a. cycle time of 2 FF shift register without any combi delay in between
𝑇𝑐𝑦𝑐𝑙𝑒 = 𝑡𝑐𝑙𝑘−>𝑞1 + 𝑡𝑠𝑒𝑡𝑢𝑝2 = 1𝑛 + 1𝑛 = 2𝑛
b. cycle time of 2 FF shift register with combi delay of 1 ns between the FFs (
for diagram -refer to Q106)
𝑇𝑐𝑦𝑐𝑙𝑒 = 𝑡𝑐𝑙𝑘−>𝑞1 + 𝑡𝐷+ 𝑡𝑠𝑒𝑡𝑢𝑝2 = 1𝑛 + 1𝑛 + 1𝑛 = 3𝑛
111. Draw the timing diagram at I/p and o/p of each flop
Timing diagram
𝑉𝐷𝐷𝑅𝑃𝐷𝑁
By Resistor-divider rule, 𝑉𝑋 = 𝑅𝑃𝐺 + 𝑅𝑃𝐷𝑁
will always
The access transistor(1.5x2) carries 3 times the more current compared to the
Pull-up pmos transistor.
PG/PU ratio is determined by the write operation of bitcell.
109) Draw the diagram of bitcell, precharge transistor, mux and write driver
and explain
● Storing ‘0’ means, the nmos in Pull-down is ON and pulls-down the Q/Qbar to
Vss.
● Storing ‘1’ means, the pmos in Pull-up in ON and pulls-up the Q/Qbar to Vdd.
111) Identify the bitline discharge path during a) READ b) WRITE
ACCESS TIME
CYCLE TIME
STATIC POWER
static_vdd
static _vss
write_vdd
write_vss
read_vdd
read_vss
disable_vdd
disable_vss
clk_vdd
clk_vss
addr_vdd
addr_vss
115)Explain with timing diagram and timing window how will you measure
a) READ power
It is the power consumed by the memory during retrieving data. For measuring read
power, the measurement window is taken such that it includes all the inputs switching
(wen to high) upto the nodes (bl/blb, data/datab) precharging.
b) Write power
It is the power consumed by the memory during storing data. For measuring write
power, the measurement window is taken such that it includes all the inputs switching
(wen to low) up to the nodes (bl/blb, data/datab, SD/SDb) precharging.
c) deselect power
Deselecting or disabling the memory involves deactivating the chip enable (CEN).
This state leads to a decrease in power consumption. For measuring deselect power,
the measurement window includes CEN switches to logic high, while rest signals are
toggling (clk to logic high, rest signals can be toggled to high or low).
d) clock pin power
The clock pin power is the power consumed by the memory when the clock pin
toggles. The measurement window includes only the clock pin toggling and rest pins
are not toggling (cen = 0).
e) add pin power
For measuring the address pin power, the measurement window includes single bit
address toggling and rest pins are static. The total address pin power is calculated as
‘n’ number of address pin times the single address bit power.
f) static power in memory
Static power consumption in memory refers to power dissipation when there are no
switching activities.
116) With diagrams explain what will happen if both the write driver and pre-
charge are on ?
If both the write driver and precharge are on, then
1. There will be a short circuit path
from vdd (of precharge) to vss
(of write driver).
2. The precharge circuit tries to
pull up the bl/blb to vdd, while
the write driver pull-down
network tries to pull down the
bl/blb to vss.
3. Since the PDN of the write
driver is stronger and there is a
fight between precharge and
write driver, bl/blb takes longer
time to discharge.
117) Explain with a diagram what will happen if both WL and pre-charge are
ON?
If both WL and precharge are ON, then
1. There will be a short circuit path
from vdd (of precharge) to vss (of
PD transistor of bitcell).
2. The precharge circuit tries to pull up
the bl/blb to vdd, while the bitcell
pull-down transistor tries to pull
down the bl/blb to vss.
3. Since there is a fight between
precharge and PD transistor of
bitcell, the bitlines take longer time to discharge.
118) what is characterization? How do you determine the PVT conditions for
char?
Characterization : The process of gathering and validating the PPA data for working
PVTs.
The PVT conditions of characterization is determined by
i) Process
For performance we will consider SS, FF and TT, where SF, FS are within the process
boundary.
ii) Voltage: The voltage regulator in SOC fluctuates voltage, there is no guarantee that
voltage is 1v (nominal voltage). So given the tolerance of ±10% , there can be three
voltage variations: 0.9V, 1V, 1.1V.
iii) Temperature: We will take into account low temperature(-40c), nominal
temperature(25c) and high temperature(125c).
The process characterization PVTs are SS/0.9/-40c, SS/0.9/125c, TT/1.0/25c,
FF/1.1/-40c, FF/1.1/125c. The FF/1.1/125c is mostly included due ro high leakage.
119) Calculate the number of rows and cols for 256 words x 128 bits memory for
mux2, mux4 and mux8 options and draw the relative size of the memory
instances. Calculate how many address bits we need for each instance.
𝑊𝑜𝑟𝑑𝑠
𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑟𝑜𝑤𝑠 = 𝑚𝑢𝑥
GTP SE
SS/0.81/m40 400mV
SS/0.81/125 350mV
SF/0.81/m40 50mV
SF/0.81/125 100mV
FS/0.81/m40 850mV
FS/0.81/125 820mV
FF/0.81/m40 420mV
FF/0.81/125 450mV
FF/1.21/m40 650mV
FF/1.21/125 710mV
120) Explain the working of clock gen with ckt and timing diagram.
Working
When SE = 0, the decoupling transistor D1 and D2 are on, the
tristate output Data and Datab passed to SD and SDb. The N3
transistor is OFF, so ‘x’ is not at vss. There will not be a current path
so it doesn’t work as an inverter.
As soon as SE = 1, the N3 will be ON, ‘x’ is connected to vss.
The decoupling transistor gets turned OFF. By the property of latch,
there will not be any metastable state. So ‘supply’ voltage SD/SDb is
going to remain ‘HIGH’ and voltage less than supply is going to
remain ‘LOW’.
Considering SD = 1.0v, SDb = 0.9v, the N1 and N2
will be on. Initially pulling down the SD and SDb to vss.
Assuming Vt = 0.3V for both N1 and N2
(𝑉𝑔𝑠 − 𝑉𝑡)1 = 0. 9𝑉 − 0. 3𝑉 = 0. 6𝑉 is the overdrive voltage of N1
(𝑉𝑔𝑠 − 𝑉𝑡)2 = 1. 0𝑉 − 0. 3𝑉 = 0. 7𝑉 is the overdrive voltage of N2
Since the overdrive voltage of N2 is greater than
N1, the N2 pulls SDb is GND quicker. When the
SDb voltage crosses the threshold of P1, the N1
turns OFF and P1 turns ON, pulling the SD to vdd.
This is true only for ideal conditions.During
manufacturing, there will be variation in electrical
and physical properties of the same transistor, no
transistor will be identical (Local Variation).
122) What is margining? What are the PVT corners for margining for 1v
nominal voltage?
Margining refers to the difference between the actual operating condition of the
design and the minimum amount required for correct operation. The goal of margining
is to ensure the circuit is robust under every possible PVTs.
PVT corners for margining are
1. The manufactured silicon can be any process in the process boundary
box, so we need to test for SS, SF, FS, FF.
2. The voltage is generated via the voltage regulator, it can be subject to
variation. So to guarantee the design is working at 0.9v and 1.1v, we
need to check for ±10% i.e., 0.81v and 1.21v.
3. The temperature is industry standard, there will not be any variation.
Margining can be done for -40c (low temperature) and 125c (high
temperature).
If Random offset = 60mv, Systematic offset = 20mv, bicell read current degradation
factor = 0.8, then SA offset = 100mv
127) What are the margins that determine WL pulse width in a)READ b)
WRITE
a. READ
During read, the margins that determines the WL pulse width are
1. Sufficient differential voltage of bitlines which can be 10-15% greater
than SA offset.
2. SE pulse width which is sufficient to produce Q signal.
b. WRITE
During write, the margins that determines the WL pulse width is
𝑊𝐿 𝑝𝑢𝑙𝑠𝑒𝑤𝑖𝑑𝑡ℎ
1. Write margin = 𝑊𝐿 𝑡𝑜 𝑞
− 𝑡𝑎𝑟𝑔𝑒𝑡(1. 2 𝑡𝑜 1. 3). The WL pulse
128) What are the factors that determine the maximum number of rows in a
column?
The factors that determine the maximum number of rows in a column are
1. Bitline loading - As the number of rows increases, the bitline loading
increases. This affects the write by reducing the write margin and read by
reducing SA margin. Reducing the overall access and cycle time. This factor
limits the number of rows in a column.
2. The read current-to-bitline leakage ratio determines the number of rows by
𝐼𝑅𝐸𝐴𝐷
𝐼𝐵𝐼𝑇𝐿𝐼𝑁𝐸 𝐿𝐸𝐴𝐾×(𝑛−1)𝑏𝑖𝑡𝑐𝑒𝑙𝑙𝑠
> 10
129) Simulate the bitline READ and leakage current for the bitcell and calculate
the Read-to-bitline leakage ratio for the design at FF/1.1/125c.
For 256 bitcells
Iread -36.9316uA
Ibitline_leakage 85.3831nA
Read-to-bitline leakage ratio -1.69623
130) Draw the top level architecture diagram of 2k words x 8 bits x mux8 using
butterfly and 2 banks architecture . How many address bits do we need for this
memory?
Memory configuration is 2k words x 8 bits x mux8
𝑊𝑜𝑟𝑑𝑠 2×1024
𝑅𝑜𝑤𝑠 = 𝑚𝑢𝑥 𝑠𝑖𝑧𝑒
= 8
= 256 𝑟𝑜𝑤𝑠 [8 𝑏𝑖𝑡𝑠 𝑟𝑜𝑤 𝑎𝑑𝑑𝑟𝑒𝑠𝑠]
Butterfly architecture
2 Bank architecture
SETUP TIME
HOLD TIME
STATIC CURRENT
iread_a 847.32nA
iread_b 847.32nA
133) What are the corner instances for each mux for the following compiler
Words range 128 to 2k
Bits range 2 to 128
Mux option 2,4,8
Mux_2
Min rows 128
= 64 Min columns 2×2=4
2
Max rows 2𝑘
= 1𝑘 Max columns 128 × 2 = 256
2
Max rows 2𝑘
= 512 Max columns 128 × 4 = 512
4
Max rows 2𝑘
= 256 Max columns 128 × 8 = 1024
8
Assuming the data stored in the bitcell are q=1, qbar=0. If I’m applying bl=0
and blb=1 (via the tristate points), then
1. The N2 turns off and P2 turns ON, charging the node qbar to vdd.
2. The P1 turns off and N1 turns ON, discharging the node q to vss.
Thus flipping the q and qbar from 1,0 to 0,1.
135) Explain the sizing of DP bitcell.
During read, if both access transistors for A
and B are turned ON and the pull-down transistor
N1 is on, then the node ‘x’ will have high noise. To
keep this low, we are decreasing the resistance of
PDT. So the width of PDT is twice that of original
𝑊𝑃𝐷𝑇
width. [ 𝑊𝑃𝑇
= 3 − 4].