Assignment 14 Foton
Assignment 14 Foton
1 List of Figure........................................................................................................ 4
2 EXPERIMENT 1: CMOS INVERTER..........................................................................5
2.1 Objective: Draw the schematic of a CMOS inverter. Obtain its DC transfer
characteristics and Transient response for nominal conditions...............................5
2.2 Theory............................................................................................................ 5
2.2.1 Inverter Schematic.................................................................................. 5
2.3 Draw the schematic of a CMOS inverter........................................................5
2.3.1 DC transfer characteristics......................................................................6
2.3.2 Transient Simulations..............................................................................7
2.4 The parametric analysis for different W/L ratios............................................7
2.4.1 Transition Voltages of the Inverter..........................................................8
2.4.2 Rising and falling delay for nominally sized inverter...............................8
2.5 Practice Questions:...................................................................................... 10
2.5.1 What is noise margin of a CMOS inverter?.............................................10
2.5.2 Explain sizing of an inverter?.................................................................10
2.5.3 Draw and explain the transfer curve of an inverter?.............................11
3 EXPERIMENT 2: Layout Design...........................................................................12
3.1 Objective:..................................................................................................... 12
3.2 Theory:......................................................................................................... 12
2.2.1 Pre Layout simulation:............................................................................... 12
2.2.2 Post Layout Simulation:.............................................................................12
3.3 LAYOUT VIEW OF AN INVERTER...................................................................13
3.3.1 Layout.................................................................................................... 13
3.3.2 Pre and Post Layout Simulation.............................................................13
3.3.3 Observation:.......................................................................................... 15
3.3.4 Calculation:............................................................................................ 15
3.4 Conclusion................................................................................................... 15
3.5 Practice Questions:...................................................................................... 16
3.5.1 Give five important design technique to follow when doing a layout
design of digital circuit?..................................................................................... 16
3.5.2 What do you mean by FEOL and BEOL process?...................................16
3.5.3 What should be the n-diffusion and p-diffusion layer in lambda rule?...16
4 EXPERIMENT 3.................................................................................................... 17
4.1 Objective:..................................................................................................... 17
4.2 Theory:......................................................................................................... 17
4.3 Multi-stage Inverter with a FAN-OUT-4.........................................................17
4.3.1 Schematic.............................................................................................. 17
4.3.2 Observation........................................................................................... 18
4.4 Calculation................................................................................................... 19
4.5 Multi-stage Inverter with a FAN-OUT-1.........................................................19
4.5.1 Observation:.......................................................................................... 20
4.5.2 Conclusion............................................................................................. 20
4.6 Practice Questions....................................................................................... 21
4.6.1 What is propagation delay?...................................................................21
4.6.2 What happens to delay if load capacitance is increased?......................21
4.6.3 Why is rise time greater than fall time?.................................................21
5 EXPERIMENT 4: D-latch and D-Flip Flop..............................................................21
5.1 Theory:......................................................................................................... 21
5.1.1 D-latch................................................................................................... 21
5.1.2 D-Flip Flop.............................................................................................. 21
6 Assignment:....................................................................................................... 22
6.1 To Design a D latch using transmission gates as shown in fig.4 (a).............22
6.1.1 Conditions for Modelling:.......................................................................22
6.2 Observation:................................................................................................ 23
6.3 Conclusion:.................................................................................................. 23
6.4 To Design a D flip-flop using transmission gates as shown in fig.4 (b)........24
6.4.1 Schematic of D-flip flop.........................................................................24
6.5 Observation:................................................................................................ 25
6.6 Conclusion:.................................................................................................. 25
6.7 Practice Questions:...................................................................................... 26
6.7.1 What is the difference between D latch and D flip-flop?........................26
6.7.2 Write down the characteristic equation of D flip-flop?...........................26
6.7.3 Describe the operation of a negative edge triggered D flip-flop?..........27
Figure 2: Testbench of the inverter Obtain its DC transfer characteristics and Transient response
1.3.1 DC transfer characteristics
Figure 4: DC Transfer Characteristics PMOS of the inverter circuit. [Hint: Vary wp from 2 μm to 10 μm
in step size of 1 μm]
Aspect Ratio of
V (mV)
PMOS
2u 824.2
3u 848.6
4u 875.5
5u 897.2
6u 915.4
7u 947.4
8u 956.56
9u 968.45
10u 1.012
Temperature
Fall time (ns) Rise Time (ns)
Value (˚C)
100 4.86 5.44
80 4.71 5.35
60 4.58 5.22
27 4.47 5.16
10 4.35 5.11
0 4.30 5.07
-10 4.21 4.98
-40 4.17 4.9
Figure 6: DC Characteristic of the Inverter at different temperature
Figure 7: Rise and fall time of the inverter at different value of the Temperature
Figure 8: Rise and Fall time w.r.t Sizing
Figure 11: Pre and post layout simulations of the rise time
Figure 12:Pre and Post layout propagation delay
2.3.3 Observation:
The rise and fall time of the inverter is little bit higher in post layout simulations
because of parasitic capacitance of interconnect.
2.3.4 Calculation:
in lambda rule?
In the GPDK (Generic Process Design Kit) for a 180 nm technology node, the lambda
(λ) value is typically defined as 0.18 μm (180 nm). The n-diffusion and p-diffusion
layers in lambda rules for this technology node are commonly specified as follows:
n-diffusion width = 6 λ (6 * 0.18 μm = 1.08 μm)
p-diffusion width = 6 λ (6 * 0.18 μm = 1.08 μm)
These dimensions ensure proper spacing and isolation between n-type and p-type
diffusion regions, which is crucial for the correct functioning and performance of
CMOS integrated circuits fabricated using the GPDK 180 nm process.
3 EXPERIMENT 3
3.1 Objective:
Extraction of Logical effort and parasitic delay of a CMOS
inverter.
3.2 Theory:
Logical effort of a logic gate is defined as the ratio of its input
capacitance to that of an inverter that delivers equal output current.
The method of logic effort is an easy way to estimate delay in a CMOS
circuit. We can select the fastest candidate by comparing delay
estimates of different logic structures. The method also specifies the
proper number of logic stages on a path and the best transistor sizes
for the logic gates. Parasitic delay is the delay due to intrinsic delay of
gate mostly the drain capacitance. It is independent of output load and
sizing. The delay incurred by a logic gate is comprised of two
components:
A fixed part called as the parasitic delay, p.
A part that is proportional to the load on the gate’s output, called
the effort
delay or stage effort, f.
d=f+p
The effort delay depends on the load and on properties of the logic
gate driving
the load. We introduce two related terms for these effects:
The logical effort, g captures properties of the logic gate.
The electrical effort h characterizes the load.
f = gh
Therefore,
d = gh +p.
3.3 Multi-stage Inverter with a FAN-OUT-4
3.3.1 Schematic
Figure 13: Schematic Representation of Multi-stage inverter logic network with a fan-out- 4.
Figure 14: Propagation delay of the Multi-stage inverter logic network with a fan-out- 4
3.3.2 Observation
Figure 16: Propagation delay of Multi-stage inverter logic network with a fanout-of-1
3.5.1 Observation:
121.455 ps = g*1+p
g = 777.209 – 121.455 ps = 655.54 ps
By solving above 2 equations,
g = 655.54 ps
p = 10 ps
3.5.2 Conclusion
The rise and the fall tine of the fan out of 4 inverter is much less than the fan out of
1. Because the driving strength is greater than the fan out of 1.
increased?
If the load capacitance in a digital circuit is increased, the propagation delay
typically also increases. This is because the increased load capacitance requires
more charge to be transferred during each signal transition. As a result, it takes
longer for the output voltage to reach its final value, leading to a longer propagation
delay. This effect is especially noticeable in high-speed circuits where even small
changes in load capacitance can significantly impact the overall delay and
performance.
The working of D flip flop is similar to the D latch except that the
output of D Flip Flop takes the state of the D input at the moment of a
positive edge at the clock pin (or negative edge if the clock input is
active low) and delays it by one clock cycle. That's why, it is commonly
known as a delay flip flop. The D flipflop can be interpreted as a delay
line or zero order hold. The advantage of the D flip-flop over the D-type
"transparent latch" is that the signal on the D input pin is captured the
moment the flip flop is clocked, and subsequent changes on the D
input will be ignored until the next clock event.
5 Assignment:
5.2 Observation:
Clock Parameters: Rise time =___2 ns
Fall time = _2__ns,
Pulse width = _148__ ns,
Period = _300__ ns,
Input Parameters: Rise time = __1_ ns
Fall time =_1__ns,
Pulse width = _199__ ns,
Period =__400_ ns,
Output Parameters: Rise time = __30.801_ ps
Fall time =__340.454_ps,
Propagation delay = __345.263_ ps,
5.3 Conclusion:
The rise and fall times of the clock signal are balanced at 2 ns each,
indicating a symmetrical clock waveform. The input signal has faster
rise and fall times compared to the clock signal, suggesting a more
abrupt transition. The output parameters show that the D latch has a
relatively fast rise time but a significantly slower fall time, which may
be due to the circuit's design or load characteristics. The propagation
delay of 345.263 ps indicates the time taken for the output to respond
to changes in the input, reflecting the latch's overall speed and
performance.
In conclusion, the D latch exhibits acceptable performance
characteristics with a fast rise time but a slower fall time, which could
be further optimized depending on specific application requirements.
5.4 To Design a D flip-flop using transmission gates as
shown in fig.4 (b).
5.4.1 Schematic of D-flip flop
flop?
D flip-flop?