Dic Front Page Merged
Dic Front Page Merged
Lab Report
Submitted to:
Dr. Rahul Shrestha
School of Computing and Electrical Engineering
Indian Institute of Technology Mandi
Submitted by:
GAURAV SHARMA
Roll Number: T23212
CHANDAN SINGH
Roll Number: T23219
December 5, 2023
1
Table of Contents
1
Design a NMOS and PMOS transistor circuit using
virtuoso cadence and plot I-V characteristics of
PMOS and NMOS for different gate and drain
voltages
Gaurav Sharma (T23212), Chandan Singh (T23219)
School of Computing and Electrical Engineering,
IIT Mandi, Himachal Pradesh, India.
{t23212, t23219}@students.iitmandi.ac.in
Fig. 2.
C. TRANSISTORS SCHEMATICS
1) NMOS TRANSISTOR CIRCUIT:: NMOS Circuit is shown
in Fig.3
Fig. 1.
2) PMOS TRANSISTOR CIRCUIT: NMOS Circuit is shown
An NMOS transistor, a type of MOSFET, has four terminals in Fig.4
called drain, gate, source and body which are symmetrical
II. WORKING PRINCIPLE
in nature. Its body consists of p-type semiconductor material
and drain, source consists of n-type semiconductor material. A. CURRENT VOLTAGE PLOTS OF NMOS and PMOS
When a higher voltage is applied to the gate, the electrons in 1) NMOS Ids v/s Vds plot for different values of Vgs .: N type
the semiconductor substrate are attracted to the gate, resulting transistor can be observed by analyzing its current-voltage
in the formation of a conducting channel. (I − V ) characteristics. These characteristics indicate how
Fig. 3. NMOS schematic
the (Id ) varies with (Vgs ) and (Vds ). The I-V characteris-
tics can be divided into four regions: cutoff, subthreshold,
triode/ohmic, and saturation. When transistor operate in cutoff
region it is in off state and there is no drain current. In the
subthreshold region, the transistor is still off, but there is a
small leakage current. The triode/ohmic region is where the
transistor operates in a linear mode, acting as a variable resistor Fig. 6. PMOS I-V curve with different Vsd in cadence virtuoso
and suitable for amplification. The saturation region is where
the transistor is fully turned on, acting as a current source and
used for switching and maintaining a constant current. These 3) SATURATION REGION:: When(VDS > VGS − Vth ) then
characteristics are crucial for optimizing circuit performance the transistor will operates in this region and the current
and functionality. equation is given bellow
B. Transfer Characteristics 1 W
IDS,sat = µn Cox (VGS − V th)2 (1 + λVDS ) (3)
The transfer characteristics of an NMOS can be derived by 2 L
plotting a curve between the drain current Ids and gate-source FOR PMOS TRANSISTOR:
voltage Vgs . This curve indicates that when Vgs is below the
threshold voltage Vth , no channel is induced and the drain
4) CUT-OFF REGION:: The current equation in
current is zero.
cutoff(|VGS | < Vth given by
C. Equations ID = 0 (4)
FOR NMOS TRANSISTOR:
5) TRIODE/LINEAR REGION:: The current equation in tri-
1) CUT-OFF REGION:: The current equation in cutoff ode region given by
2
VGS < Vth given by W VSD
ID = 0 (1) ISD = µp Cox 2 (VSG − V th) VSD − (5)
L 2
2) TRIODE/LINEAR REGION:: The current equation for this 6) SATURATION REGION:: The current equation in satura-
region is given below tion region(VDS > VGS − Vth ) given by
1 W 2 1 W
IDS = µn Cox (VGS − V th) (2) ISD = µp Cox (VSG − V th)2 (1 + λVSD ) (6)
2 L 2 L
Fig. 9. PMOS I-V curve for different Vsg in cadence virtuoso
Fig. 7. NMOS I-V curve for different Vds in cadence virtuoso
5) Transconductance (Gm ):
1 W
IDS,sat = µn Cox (VGS − V th)2 (1 + λVDS ) (11)
2 L
6) Threshold Voltage(Vtho ):
(12)
1) LINEAR ON RESISTANCE(RON ):
∂VDS
RON = (7)
∂ID
2) Channel Length Modulation Resistance(rO ):
∂VDS
ro = (8)
∂ID
3) Channel Length Modulation(λ):
1 W
IDS,sat = µn Cox (VGS − V th)2 (1 + λVDS ) (9)
2 L
4) Process Parameter(µn Cox ): Fig. 10. NMOS I-V curve for different Vsg with gm in cadence virtuoso
1 W 2
IDS = µn Cox (VGS − V th) (10)
2 L
Fig. 11. NMOS I-V curve for different Vds with Ron and ro .
Fig. 12. PMOS I-V curve for different Vds with Ron and ro .
IV. C ONCLUSION :
• The layout for both NMOS and PMOS has been success-
fully created using the Cadence Virtuoso tool.
• We used TSMCN28nm Technology in CADENCE VIR-
TUOSO TOOL
• We Analyzed and calculated various parameter of NMOS
and PMOS Transistors
V. REFERENCES
[1] Weste, Neil HE, and David Harris. CMOS VLSI design:
a circuits and systems perspective. Pearson Education India,
2015.
[2] Rabaey, Jan M., Anantha P. Chandrakasan, and Borivoje
Nikoli´ c. Digital integrated circuits: a design perspective. Vol.
7. Upper Saddle River, NJ: Pearson education, 2003.
Study and Analysis Of CMOS Inverter
Gaurav Sharma (T23212), Chandan Singh (T23219)
School of Computing and Electrical Engineering,
IIT Mandi, Himachal Pradesh, India.
{t23212, t23219}@students.iitmandi.ac.in
AIM: The purpose of this study is to examine the properties 1) Propagation Delay (tp ):
of a CMOS inverter by means of simulations and analysis. This is the time taken for the output voltage to change
This includes exploring the VTC, delay, noise margin, and from 50 % of its final value to 50% of the new value
power consumption.
in response to a step change in the input voltage.
Abstract—This report presents a comprehensive analysis Propagation delay is a critical metric for assessing the
of inverter performance, focusing on key parameters such as speed of digital circuits.
delay, noise margin and power consumption. Inverters are the 2) Rise Time (tr ):
main building blocks of digital circuits and their efficiency Rise time is the time taken for the output voltage to
is critical to the overall efficiency of electronic systems. The
reference characteristics of inverters are investigated in terms of transition from 20% to 80% of its final value during
rise time, fall time and propagation delay. The study examines a rising input signal. It is an important parameter in
how changes in transistor size, load capacitance, and technology determining how fast the output voltage rises in response
scaling affect these delay meters. Noise margin, another critical to an input change.
aspect of inverter performance, is analyzed to assess the 3) Fall Time (tf ):
resistance of the circuit to external disturbances and variations
in input signals. Power consumption is a major concern in Fall time is the time taken for the output voltage to
today’s electronic equipment, and this study examines the power transition from 80% to 20% of its final value during
characteristics of inverters. The effect of different design choices a falling input signal. Similar to rise time, fall time is
on static and dynamic energy consumption is examined. crucial for evaluating the speed of the inverter during a
Index Terms—voltage transfer characteristics(VTC), inverter falling input transition.
delay, noise margin, Power.
I. INTRODUCTION
A. VTC of inverter:
The Voltage-Transfer Characteristic (VTC) of an inverter C. Power Consumption:
is a graphical representation of its input and output voltage
relationship. It illustrates how the output voltage of the in- The power consumption of a CMOS (Complementary
verter changes in response to variations in the input voltage. Metal-Oxide-Semiconductor) inverter consists of two main
Typically, a VTC is a plot of the output voltage against the components: static power (or standby power) and dynamic
input voltage for the inverter. power.
For a standard CMOS (Complementary Metal-Oxide-
Semiconductor) inverter, the VTC exhibits a characteristic 1) Static Power (Pstatic ):
shape. The inverter operates in two regions on the VTC: the Static power consumption occurs when the inverter is in
”low” state and the ”high” state. In the low state, the input a stable state, and there is no change in the input signal.
voltage is low, and the output voltage is high. It is primarily due to leakage currents in the transistors.
In the high state, the input voltage is high, and the output As technology scales down, static power becomes a
voltage is low. There is a transition region between these two more significant portion of the total power consumption.
states where the inverter is transitioning between the high and To minimize static power, designers often use techniques
low states. such as power gating or other low-leakage transistor
technologies.
B. Delay of inverter:
2) Dynamic Power (Pdynamic ):
The delay of an inverter is a crucial parameter that char- Dynamic power consumption occurs during the
acterizes how quickly the inverter responds to changes in its transition of the inverter output from one logic state
input signal. It is the time taken for the output voltage of the to another. It is proportional to the capacitance being
inverter to change from one logic state to another in response switched and the square of the voltage swing.
to a change in the input voltage.
The delay of an inverter is typically divided into three 1 2
components: Pdynamic = CL VDD f
2
II. S IMULATION
A. Graphs: 1.0
Y
0.5
0.0
Vdc
0.0 20.0n 40.0n 60.0n 80.0n
+
− Output Time
1.0
Vdc
A
0.5
+
−
0.0
Time
1.00
0.75
1.0
Vout (V)
0.50
Y
0.5
0.25
0.0
0.00
22.50f
Energy (J)
7.50f
1.0
A
0.5
Vdc 0.0
+
11.40µ
− Output
Power (W)
7.60µ
Vbit 3.80µ
+
− 0.00
Time (sec)
Fig. 3. Circuit diagram of Inverter for V BIT input Fig. 5. Energy and Power Curve
B. Calculations:
Various parameters values of Inverter upon calculation and
simulation are stated as follows:
Parameter Value
Wp(at VM = V DD/2) 143.2 nm
Delay 6p sec
VIL 401.84 mV
VIL 618.01 mV
N MH 381.99 mV
N ML 401.83 mV
Average Power 2.8 * 10−7 uW.
Energy 1.1 *10−7 uJ
III. CONCLUSION
In this experiment we successfully done analysis of CMOS
inverter using cadence virtuoso. We used TSMC-28 nm model
library provided by the institute. All the stated points have
been studied and all parameters have been succesfully calcu-
lated.
IV. REFERENCES
[1] Weste, Neil HE, and David Harris. CMOS VLSI design:
a circuits and systems perspective. Pearson Education India,
2015.
[2] Rabaey, Jan M., Anantha P. Chandrakasan, and Borivoje
Nikoli´ c. Digital integrated circuits: a design perspective. Vol.
7. Upper Saddle River, NJ: Pearson education, 2003.
Delay Optimization using Chain of Inverters
Gaurav Sharma (T23212), Chandan Singh (T23219)
School of Computing and Electrical Engineering,
IIT Mandi, Himachal Pradesh, India.
{t23212, t23219}@students.iitmandi.ac.in
I. I NTRODUCTION
A. Transient Analysis
Fig. 4
Energy:
Fig. 8
Power dissipation:
Fig. 5
Delay optimization using 6 stages of inverter:
Effective fan-out = 2
Overall effective fan-out = 64 Fig. 9
The size of PMOS and NMOS of each inverter is taken 2
times the preceding inverter with the first inverter of reference Energy:
size.
Fig. 10
III. C ONCLUSION
Fig. 6 The following observations were made for 4-stage and 6-
stage chain of inverters:
For input bitstream A:
TABLE I: Performance of Chain of Inverters
Number of Stages tplh (ps) tphl (ps) Average Power (µ W)
4 21.16 21.2 130.9
6 25.97 26.1 168.4
A. Delay Comparison
Fig. 2. Layout diagram for CMOS NAND gate. Fig. 5. Prelayout delay of NAND.
fundamental digital circuit components. The successful
achievement of proper functionality and alignment with
design specifications underscores the effectiveness of the
undertaken tasks.
A. Key Findings
The pre-layout simulations, layout design, and post-layout
simulations were instrumental in characterizing the CMOS
Fig. 6. Post-layout delay Of Nand. NAND and AND gates. The study focused on critical
parameters such as delay, power consumption, and overall
2) AND Gate Delay Comparison: The delay comparison circuit performance. The results offered a detailed
graph for the AND gate is shown in Figure beginfigure understanding of the gates’ responses under various
conditions, forming a foundation for further developments.
B. Significance of Results
The inclusion of schematic and layout diagrams, coupled
with the comparison between pre-layout and post-layout
simulations, highlights the reliability and accuracy of the
design. The significance of this experiment extends to the
core principles of digital circuitry, where NAND and AND
Prelayout delay of AND. gates serve as building blocks for complex logical operations
and digital systems.
C. Future Considerations
While the experiment successfully met its objectives, there
are avenues for future exploration. Subsequent studies could
focus on optimizing specific aspects, such as minimizing
power consumption while maintaining performance or
exploring different technology nodes for enhanced efficiency.
TABLE I
R ESULTS AND C ALCULATION FOR CMOS NAND G ATE
B. AND Gate
TABLE II
R ESULTS AND C ALCULATION FOR CMOS AND G ATE
VIII. C ONCLUSION
The comprehensive exploration of CMOS NAND and AND
gates through design, layout, and analysis has provided
valuable insights into the behavior and performance of these
Design and Analysis of CMOS NOR & OR Gates
In Cadence Virtuoso
Gaurav Sharma (T23212), Chandan Singh (T23219)
School of Computing and Electrical Engineering,
IIT Mandi, Himachal Pradesh, India.
{t23212, t23219}@students.iitmandi.ac.in
AIM: To design and analyze the characteristics of the NOR When any input is high, the corresponding NMOS transistor
and OR gates using CMOS style with Cadence Virtuoso using conducts, allowing the output to rise to a high logic level. Only
TSMC 28nm technology. when all inputs are low, the NMOS transistors are off, and the
Abstract—This report explores the utilization of Cadence PMOS transistors conduct, resulting in a low output.
Virtuoso for the design, simulation, and analysis of CMOS NOR
and OR gates. The investigation involves pre-layout simulations III. S IMULATION
for delay and power determination, layout design creation,
A. Prelayout Simulations
post-layout simulations, and a comprehensive examination of
outcomes. The delay and power characteristics of the designed gates
are analyzed through prelayout simulations. Cadence Virtuoso
I. I NTRODUCTION is employed to define the necessary parameters, including
Modern electronics heavily relies on CMOS technology, transistor sizes and supply voltage.
foundational to integrated circuits. This experiment focuses
B. Layout Design
on analyzing and designing NOR and OR gates, fundamental
to digital circuitry. Layout design involves physically placing and connecting
transistors on the chip, following various design rules. In this
A. Background experiment, the layout design adheres to the TSMC 28nm
The utilization of CMOS technology is extensive due to its technology.
ability to consume low power, possess high noise margins, C. Postlayout Simulations
and be compatible with various fabrication processes. Gaining
Postlayout simulations are crucial for validating the ac-
a grasp on the construction and effectiveness of fundamental
tual performance of the designed gates. The layout files are
CMOS gates is crucial for the development of intricate digital
extracted and simulated to observe any deviations from the
circuitry.
prelayout expectations. This phase also involves a detailed
B. Objectives analysis of power consumption and signal delay.
The experiment’s main goals involve the creation of CMOS IV. S CHEMATIC AND L AYOUT D IAGRAMS
NOR and OR gates, the analysis of their behavior through A. CMOS NOR Gate
pre-layout simulations, the development of layouts, and the
validation of the design through post-layout simulations.
II. W ORKING P RINCIPLE
A. CMOS NOR Gate
The CMOS NOR gate is constructed with NMOS transistors
in parallel at the pull-up network and PMOS transistors in
series at the pull-down network. When any of the inputs is
at a high state, the corresponding NMOS transistor conducts,
pulling the output down to a low logic level. Only when all
inputs are low, the NMOS transistors are off, and the PMOS
transistors conduct, resulting in a high output.
B. CMOS OR Gate
The CMOS OR gate utilizes NMOS transistors in series
for the pull-up network and PMOS transistors in parallel for
the pull-down network. It generates a high output when any
input is high, effectively performing the logical OR operation. Fig. 1. Schematic diagram for CMOS NOR gate.
Fig. 4. Layout diagram for CMOS OR gate.
B. OR Gate
TABLE II
R ESULTS AND C ALCULATION FOR CMOS OR G ATE
VII. C ONCLUSION
The thorough exploration of CMOS NOR and OR gates,
encompassing design, layout, and analysis, has proven to be
a successful endeavor. This comprehensive study resulted in
achieving proper functionality and ensuring alignment with
the specified design criteria.
A. Key Outcomes
The combination of pre-layout simulations, layout design,
and post-layout simulations played a crucial role in
characterizing the behavior of CMOS NOR and OR gates.
Essential parameters like delay, power consumption, and
overall circuit performance were meticulously examined,
providing detailed insights into the gates’ responses across
various scenarios.
B. Implications of Results
The inclusion of schematic and layout diagrams, along with
a comparative analysis between pre-layout and post-layout
simulations, underscores the reliability and precision of the
design. The significance of this experiment extends to the
core principles of digital circuitry, where NOR and OR gates
contribute to the foundation of logical operations and the
construction of digital systems.
C. Future Prospects
While the experiment successfully accomplished its
objectives, potential future endeavors could focus on
optimizing specific aspects, such as further minimizing power
consumption without compromising performance. Exploring
alternative technology nodes may also be considered for
potential efficiency enhancements. In summary, the
experiment has effectively showcased the design, layout, and
Design and Analysis of CMOS XOR & XNOR
Gates In Cadence Virtuoso
Gaurav Sharma (T23212), Chandan Singh (T23219)
School of Computing and Electrical Engineering,
IIT Mandi, Himachal Pradesh, India.
{t23212, t23219}@students.iitmandi.ac.in
AIM: To design and analyze the characteristics of the XOR B. CMOS XNOR Gate
and XNOR gates using CMOS style with Cadence Virtuoso
using TSMC 28nm technology. The CMOS XNOR gate, or the exclusive NOR gate, gen-
Abstract—This report explores the utilization of Cadence Vir-
tuoso for the design, simulation, and analysis of CMOS XOR and
erates a high output when the number of high inputs is
XNOR gates. The investigation involves pre-layout simulations even. It utilizes a similar configuration of NMOS and PMOS
for delay and power determination, layout design creation, transistors to achieve its logic function. When one input is
post-layout simulations, and a comprehensive examination of high, the corresponding NMOS transistor conducts, pulling
outcomes. the output down. At the same time, the high input activates
the PMOS transistor in the series path, pulling the output up.
I. I NTRODUCTION This combined action results in a low output for odd numbers
Modern electronics heavily relies on CMOS technology, of high inputs and a high output for even numbers.
foundational to integrated circuits. This experiment focuses on
analyzing and designing XOR and XNOR gates, fundamental
to digital circuitry.
III. S IMULATION
A. Background
The utilization of CMOS technology is extensive due to its A. Prelayout Simulations
ability to consume low power, possess high noise margins,
and be compatible with various fabrication processes. Gaining
a grasp on the construction and effectiveness of fundamental The delay and power characteristics of the designed gates
CMOS gates is crucial for the development of intricate digital are analyzed through prelayout simulations. Cadence Virtuoso
circuitry. is employed to define the necessary parameters, including
transistor sizes and supply voltage.
B. Objectives
The experiment’s main goals involve the creation of CMOS
XOR and XNOR gates, the analysis of their behavior through B. Layout Design
pre-layout simulations, the development of layouts, and the
validation of the design through post-layout simulations.
Layout design involves physically placing and connecting
transistors on the chip, following various design rules. In this
II. W ORKING P RINCIPLE
experiment, the layout design adheres to the TSMC 28nm
A. CMOS XOR Gate technology.
The CMOS XOR gate, also known as the exclusive OR
gate, produces a high output only when the number of high
inputs is odd. It employs a combination of NMOS and PMOS
transistors arranged in a specific configuration to achieve C. Postlayout Simulations
this functionality. When one input is high, the corresponding
NMOS transistor conducts, pulling the output down. Simulta- Postlayout simulations are crucial for validating the ac-
neously, the high input activates the PMOS transistor in the tual performance of the designed gates. The layout files are
parallel path, pulling the output up. This dual action results extracted and simulated to observe any deviations from the
in a high output for odd numbers of high inputs and a low prelayout expectations. This phase also involves a detailed
output for even numbers. analysis of power consumption and signal delay.
IV. S CHEMATIC AND L AYOUT D IAGRAMS
A. Delay Comparison
Fig. 3. Schematic diagram for CMOS XNOR gate. Prelayout delay of XNOR.
C. Future Considerations
While the experiment has achieved its objectives, there are
potential areas for further exploration. Future studies could
delve into optimizing specific parameters, such as reducing
delay or minimizing power consumption. Exploring the
impact of different technology nodes or fabrication processes
could also contribute to the advancement of CMOS gate
design.
Fig. 7. Post-layout delay OF XNOR.
VIII. REFERENCES
VI. R ESULTS AND C ALCULATION [1] J. M. Rabaey, A. Chandrakasan, and B. Nikolic, Digital
A. XOR Gate Integrated circuits- A Design Perspective, 2nd Edition,
Indian Edition. Prentice Hall, © 2016
TABLE I
R ESULTS AND C ALCULATION FOR CMOS XOR G ATE
B. XNOR Gate
TABLE II
R ESULTS AND C ALCULATION FOR CMOS XNOR G ATE
VII. C ONCLUSION
The comprehensive exploration of CMOS XOR and XNOR
gates through design, layout, and analysis has yielded
valuable insights into the behavior and performance of these
fundamental digital circuit components. The successful
achievement of proper functionality and alignment with
design specifications underscores the effectiveness of the
undertaken tasks.
A. Key Findings
The Voltage Transfer Characteristics (VTC), delay analysis,
noise margins, and power consumption were thoroughly
investigated through simulations and post-layout validations.
The results provided a detailed understanding of how the
XOR and XNOR gates respond to different input conditions
and their overall efficiency in terms of speed and power
utilization.
B. Significance of Results
The accurate representation of schematic and layout
diagrams, coupled with the comparison between post-layout
and schematic simulations, showcases the reliability and
robustness of the design. The significance of this experiment
extends to the broader context of digital circuitry, where
XOR and XNOR gates play pivotal roles in numerous
applications, including arithmetic and logical operations.
AIM: This experiment aims to design and analyze the technology. In Pseudo NMOS logic, both n-type and p-type
characteristics of various gates using Pseudo NMOS logic style transistors are used to implement a logic gate.
with Cadence Virtuoso using TSMC 28nm technology. The advantages of Pseudo NMOS logic, including Pseudo
NAND gates, include simplicity of design and potentially
Abstract—This research conducts a comprehensive compar- faster operation in certain conditions. However, it is associated
ative analysis between Pseudo NMOS (Negative Metal-Oxide-
Semiconductor) and CMOS (Complementary Metal-Oxide- with higher static power consumption due to the use of
Semiconductor) implementations, exploring their respective per- resistive pull-up networks.
formances, energy efficiencies, and design considerations.
Design considerations, challenges, and trade-offs associated with
integrating Pseudo NMOS and CMOS into digital circuits are +
discussed. The study provides insights into the factors that de- −
signers must consider when selecting between these technologies
based on application requirements, performance goals, and power Output
constraints.
I. INTRODUCTION A
+ Vbit
−
A. VTC of PSEUDO NMOS :
The Voltage-Transfer Characteristic (VTC) of a Pseudo B V
NMOS (Negative Metal-Oxide-Semiconductor) inverter refers + bit
−
to the graphical representation of its input and output voltage
relationship.
When analyzing the VTC of a Pseudo NMOS inverter with
changing transistor size, several key observations can be made: Fig. 2. Circuit of Pseudo NAND
1) Threshold Voltage Shift: Altering the size of the tran-
sistors in the Pseudo NMOS configuration affects the
threshold voltage of the inverter. C. Pseudo NOR
2) Transition Region Slope: The slope of the transition
”Pseudo NOR” typically refers to a logic gate constructed
region in the VTC is influenced by the size of the transis-
using Pseudo NMOS (Negative Metal-Oxide-Semiconductor)
tors. Larger transistors generally lead to steeper slopes,
technology. Similar to the concept of Pseudo NAND, Pseudo
resulting in faster transitions between logic states.
NOR gates are implemented using a combination of n-type and
3) Input Voltage Range: The range of input voltages over
p-type transistors in a configuration that deviates from stan-
which the Pseudo NMOS inverter operates effectively is
dard CMOS (Complementary Metal-Oxide-Semiconductor)
influenced by the transistor size.
designs.
4) Signal Swing and Noise Margins: Changing the tran-
It produces a low output only when both of its inputs are
sistor size affects the output voltage swing and, conse-
high. In Pseudo NOR gates, this logic is realized using a
quently, the noise margins.
combination of n-type and p-type transistors.
Vdc
+
Vdc −
+ A Vbit Output
+
− Output −
Vbit B
+ + Vbit
− −
(l=1.5e-07)
the XOR stage. The inversion ensures that the output is 0.9
(l=9e-08)
(l=3e-08)
high (1) when the number of high inputs is odd. 0.8
0.7
Vout(V)
0.6
0.5
0.4
0.3
0.2
0.1
0.0
0.1 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1
Vin(V)
E. Pseudo XNOR
A Output
+ Vbit
−
B
+ Vbit
−
III. CONCLUSION
In this experiment we successfully implemented all the
single stage MOS amplifier using Cadence Virtuoso. We used
TSMC-28 nm model library provided by the institute. All the
stated points have been studied and all parameters have been
successfully calculated.
R EFERENCES
[1] J. M. Rabaey, A. Chandrakasan, and B. Nikolic, Digital
Integrated circuits- A Design Perspective, 2nd Edition, Indian
Edition. Prentice Hall, © 2016
Design of Logic Gates using DCVSL
Gaurav Sharma (T23212), Chandan Singh (T23219)
School of Computing and Electrical Engineering,
IIT Mandi, Himachal Pradesh, India.
{t23212, t23219}@students.iitmandi.ac.in
Aim: The aim of this experiment is to design and compare devices and are mutually exclusive (this is, when PDN1 con-
DCVSL logic gates (NAND, NOR, XOR, XNOR) with CMOS ducts, PDN2 is off, and when PDN1 is off, PDN2 conducts),
implementation, taking into consideration their performance such that the required logic function and its inverse are simul-
and drawbacks. taneously implemented.The resulting circuit exhibits a rail-to-
Abstract—This project explores the functionality and analysis rail swing, and the static power dissipation is eliminated.
of DCVSL logic gates and compares them to CMOS implementa-
tion for logic gates such as NAND, NOR, OR, XNOR. It discusses
the characteristics of DCVSL gates, including their advantages,
drawbacks, and trade-offs when compared to CMOS logic.
I. I NTRODUCTION
In order to eliminate static power dissipation and achieve
rail-to-rail swing, DCVSL is utilized. This circuit provides the
output and its complementary format when given an input. It
III. S IMULATION
incorporates positive feedback to switch off the unconditional
load and eliminate static power consumption. DCVSL offers
high-speed operation due to its differential structure, and its
performance is further enhanced by the cascode configuration.
A. Objectives
The primary objectives of this project include designing A. DCVSL Simulation
DCVSL NAND, NOR, XOR, and XNOR gates, conducting
simulations to analyze their performance, and comparing the
results with CMOS implementations.
Simulations for DCVSL gates involve analyzing their delay,
II. W ORKING P RINCIPLE power consumption, and other performance metrics. Differen-
DCVSL circuits typically consist of a pair of differential tial operation and ratioless design contribute to these charac-
pairs in a cascode configuration. The differential structure teristics.
of DCVSL enables high-speed operation, and the cascode
configuration further improves its performance.
• NAND Gate using DCVSL and its output waveform.
Vdc
+
−
Vdd
GND
Vbit
Vdd
B INVERTER Y
GND
0.66
0.66
A
NOR
0.33
0.33
0.00
0.00
0.99
0.99
0.66
B
0.66
0.33
A
0.00 0.33
0.99
0.00
NAND
0.66
0.99
0.33
0.66
B
0.00
0.33
0 20n 40n 60n 80n 100n
Vdc
Vdc +
+ −
−
Vdd
Vdd
Vbit A INVERTER Y
Vbit A INVERTER Y NAND AND
GND
GND
Vbit
Vdd
Vbit
Vdd
B INVERTER Y
B INVERTER Y GND
GND
R EFERENCES
0.00
[1] Rabaey, J. M., Chandrakasan, A., & Nikolic, B. (2016). Digital Inte-
grated Circuits - A Design Perspective, 2nd Edition. Prentice Hall, Indian
0.99
Edition.
0.66
B
0.33
0.00
0.99
XOR
0.66
0.33
0.00
0.99
XNOR
0.66
0.33
0.00
A. DCVSL Characteristics
The results from DCVSL simulations showcase its benefits,
including low power consumption, high speed, and improved
noise margins.
I. I NTRODUCTION
Pass-transistor logic (PTL) is a popular alternative to com-
plementary CMOS. PTL utilizes transistors as switches to
either pass or block a signal. The output node is consistently
driven to logic low or logic high through a low-resistance path Figure 2 : Waveform of NAND Gate using PTL
provided by a PMOS or NMOS transistor.
• NOR Gate using PTL and and its output waveform.
A. Objectives
B
The primary objectives of this project include designing
B
PTL NAND, NOR, XOR, and XNOR gates, performing simu-
lations to analyze their performance, and comparing the results Y= A+B
B_bar
with CMOS implementations. A_bar
A
II. W ORKING P RINCIPLE
A. PTL Logic Gates Figure 3 : NOR Gate using PTL
PTL gates use pass transistors to transmit signals. NMOS
transistors pass a strong ’1’ and a weak ’0’, while PMOS
transistors pass a strong ’0’ and a weak ’1’. PTL aims to
reduce the number of transistors needed for logic implemen-
tation by allowing the primary inputs to drive gate terminals as
well as source/drain terminals. This leads to fewer transistors,
resulting in reduced area and load capacitances.
III. S IMULATION
A. PTL Simulation
Simulations for PTL NAND, NOR, XOR, and XNOR gates
involve analyzing their delay, power consumption, and other Figure 4 : Waveform of NOR Gate using PTL
performance metrics.
• XOR Gate using PTL and and its output waveform.
• NAND Gate using PTL and and its output waveform.
B_BAR
B_bar
B
A
B Y= AB
A A_bar B F = A xor B
A_BAR
Figure 1 : NAND Gate using PTL
Figure 5 : XOR Gate using PTL 1) Advantages of PTL over CMOS:
• Reduced Transistor Count: When compared with CMOS
style,PTL uses less number of transistors which results
in lesser area and load capacitances.
• We can also obtain true and complementary outputs using
Differential PTL logic.
A_bar
Figure 8 : Waveform of XNOR Gate using PTL
AIM:Design NAND/AND,NOR/OR,XOR/XNOR GATE and drain terminals set to V DD. Let’s call the NMOS pass
USING PASS TRANSISTOR LOGIC in TSMC 28nm tech- transistor’s source x. Node x will charge V DD − V T n(V x)
nology with the help of Cadence Virtuoso tool and plot the
wave forms of given input output to both the gates and also
find power consumption .Also draw the schematic used in this q q
report Vx = Vdd − (Vtn0 + γ(( |2ϕf + Vx | − |2ϕf |))
Abstract—this report consists of working and analysis of
NAND,NOR,XOR,XNOR GATE using the PASS TRANSISTOR
LOGIC. CPL logic reduces the number of transistors required
to implement logic by allowing the primary inputs to drive the A. Circuit daigram of CPL logic gates
gate terminals as well as source drain terminal.Here we also have
calculated the power consumed. • CPL NAND AND GATE
I. I NTRODUCTION
Complementary Pass logic is a popular and commonly
used alternative to complementary CMOS logic that seeks B
to decrease the number of transistors necessary to implement
logic by enabling the major inputs to drive gate terminals as B_bar
B Y=(AB)_bar
well as source/drain terminals. This is in contrast to the logic vbit +
− B
families we’ve covered so far, which
Only enable main inputs to drive the gate terminals of MOS- A B_bar
FETS. Figure demonstrates an implementation of the AND + vbit
− B_bar Y_bar=AB
function built in this manner using only NMOS transistors.
If the B input is high, the top transistor in this gate turns
on and replicates the input A to the output F. When B is
low, the bottom pass transistor turns on and passes a 0. At
first inspection, the switch controlled by B appears to be Fig. 1. CPL NAND AND GATE
superfluous. Its existence is required to guarantee that the gate
is static, which means that a low-impedance path to the supply
rails exists under all conditions, or, in this example, when B • CPL NOR OR GATE
is low.
The promise of this method is that it requires fewer tran-
sistors to implement a given function. For example, the AND
gate requires four transistors (including the inverter needed B_bar
B Y=exor
B
vbit +
−
A
+ Y_bar=exnor
−
vbit
B. Parameters to be analysed
The custom 4-transistor XOR gate operates using a unique The simulation results are then presented and analyzed
logic configuration, where each transistor has a specific role extensively. The performance of the custom XOR gate is
in achieving XOR functionality. The report provides a detailed compared to the CMOS implementation under different
explanation of the logic operations and highlights the distinc- conditions, providing valuable insights into its advantages.
tive aspects of the custom design. The output results of the XOR gates are shown in Figure
2.Simulation results are presented and analyzed in detail.The
B. Comparison with CMOS XOR performance of the custom XOR gate is compared with
The paper presents an analysis that highlights the differ- CMOS implementation under various conditions, providing
ences in working principles between a custom XOR gate and insights into its advantages.
traditional CMOS XOR gates. Special attention is given to the
advantages offered by the custom design. 1) Output results of XOR gates:
Fig. 2. Output Custom XOR gate
2) Calculations:
• tpl h : 2.8669 ps
• tph l : 1.775 ps
AIM: Explore the design and characteristics of Transmis- A. TGL Nand Gate
sion Gate (TG) logic gates (2:1 Mux, NAND, AND, NOR,
XOR) and compare them with other logic implementations.
Abstract—This report presents the design, simulation, and
characteristics analysis of Transmission Gate (TG) logic gates
using TSMC 28nm node technology in Cadence Virtuoso. Special A
emphasis is placed on the unique advantages of TG logic,
including rail-to-rail switching and fast transitions. Simulation Bbar
results are examined to verify these characteristics and compare
TG logic gates with other logic families.
Abar OUT
I. I NTRODUCTION
A. Why Transmission Gate Logic?
Transmission Gate (TG) logic presents a compelling alter-
native to traditional logic families, offering unique advantages
that address specific challenges. One notable feature is the A
ability to achieve rail-to-rail switching, ensuring that the output
voltage can reach both power supply rails (VDD and VSS ). Fig. 1. TGL Nand circuit
This characteristic is particularly advantageous in scenarios
where the full swing of logic levels is crucial for reliable
circuit operation.
B. Rail-to-Rail Switching advantage:
In TG logic, the concurrent operation of both PMOS and
NMOS transistors during the charging or discharging process
enables rail-to-rail switching. Unlike some other logic families,
TG logic ensures that the output voltage can reach the power
0.72
supply rails (VDD and VSS ), providing a full and reliable logic
NAND Y
swing. 0.54
0.36
C. Application in 2:1 Mux and Logic Gates:
0.18
These advantages make TG logic well-suited for various
0.99
digital circuit applications. In the design of a 2:1 Mux and
logic gates (NAND, AND, NOR, XOR), the rail-to-rail switch- 0.66
B
ing and fast transition features play a key role in achieving 0.33
0.33
By analyzing the simulation results, which include power
consumption, delay, and area utilization, we can gain valuable 0.00
insights into the superior performance of TG logic in achieving 0.0 200.0p 400.0p 600.0p 800.0p
Time(sec)
rail-to-rail switching and rapid transitions.
II. S IMULATION
Fig. 2. TGL NAND Simulation
The simulation of the designed gates with their circuits are
shown below:
B. TGL AND Gate C. Nor Gate
A
0
A Abar
B
Abar OUT
Bbar
A
Fig. 5. TGL Nor circuit
0.8
0.6
NOR Y
0.4
0.2
0.99
0.66
A
B
B 0.33
0.00
0.99
Abar OUT
0.66
A
0.33
0.00
A Time (sec)
A
Bbar
Abar OUT
Fig. 9. TG Multiplexer
0.76
0.76
0.57
Y
0.57
XOR Y
0.38
0.38
0.19
0.19 0.99
0.66
S0
0.99
0.33
0.66
0.00
B
0.99
0.33
0.66
B
0.00
0.33
0.99
0.00
0.99
0.66
A
0.66
A
0.33
0.33
0.00
0.00
0.0 200.0p 400.0p 600.0p 800.0p 0.0 200.0p 400.0p 600.0p 800.0p
B. Key Findings
The simulation results confirm the unique advantages of
Transmission Gate (TG) logic, showcasing its ability to
achieve rail-to-rail switching and fast transitions. These fea-
tures position TG logic as a promising choice in applications
where full swing and high-speed operation are crucial.
/Q_bar X
6
/Q Y
/Q X
5
/CLK_bar Y
/CLK_bar X
Offset Y values
4 /CLK Y
/CLK X
/D X
/D Y
/D X
each wave form logic level range from 0 to 1 ( in volts )
3.5
/CLK Y
/CLK X
3.0
/Q Y
2.5
2.0
1.5
0.5
0.0
IV. R ESULT AND D ISCUSSION 0.0 200.0p 400.0p 600.0p 800.0p 1.0n 1.2n 1.4n
X(in seconds)
/D Y
/D X
3.0
/Q Y
2.5
2.0
1.5
1.0
0.5
0.0
-0.25
X (time in sec)
V. C ONCLUSION
In this report the design of D-Latch, Master Slave Flip Flop
has been implemented using transistors. The schematic and
simulations has beenn performed in cadence virtuoso. The D-
latch and Master Slave Flip Flop have been implemented using
transmission gate. The setup time which is the time before
which the input must be stable before the clock arrives is
evaluated. Similarly the hod time, which is the time for which
the data should be held stable after the clock arrives is also
calculated. After that the worst case propagation delay of the
Data to output Q after clock arrives (tc−q ) is also calculated.
All the results are shown in the respective section.
R EFERENCES
[1] J. M. Rabaey, A. Chandrakasan, and B. Nikolic, Digital
Integrated Circuits - A Design Perspective, 2nd Edition,
Indian Edition. Prentice Hall, © 2016.
TG and PTL Based Dynamic Sequential Logic
Gaurav Sharma (T23212), Chandan Singh (T23219)
School of Computing and Electrical Engineering,
IIT Mandi, Himachal Pradesh, India.
{t23212, t23219}@students.iitmandi.ac.in
A INVERTER Y
A Y A INVERTER Y
+
Abstract—This report presents the investigation and −
VDD
assessment of dynamic Transmission Gate (TG) and PTL +
− A INVERTER Y
(Pass transistor logic) based flipflop using TSMC 28nm node GND
III. S IMULATION
• tsetup : 3.88 ps
V. C ONCLUSION
R EFERENCES
[1] J. M. Rabaey, A. Chandrakasan, and B. Nikolic, Digital
Integrated Circuits - A Design Perspective, 2nd Edition, Indian
Edition. Prentice Hall, © 2016.