Sequential Circuits Cp MNIT J
Sequential Circuits Cp MNIT J
Plot of Voltage Transfer Characteristic of Inverter (1) wrt vo1 – vi2 Axis Pair
Total Potential Energy Level at Each of the Three Possible Operating Points
Potential Energy is at its Minimum at Two of the Three Operating Points
Voltage Gains of both Inverters = 0
O/P Voltages of Two Inverters to Diverge & Eventually Settle at VOH & VOL
Which Direction will Each O/P Voltage Diverge ?
Depends on Initial Perturbation Polarity
CMOS 2-Inverter Bistable Element Circuit & Behaviour
Situation : Bistable Circuit
Operating at vo1 = vo2 = Vth
Assume Cg >> Cd
Drain Current of Each Inverter is also Equal to Gate Current of the Other Inverter
CMOS 2-Inverter Bistable Element Circuit & Behaviour
Initial Condition :
We Get
CMOS 2-Inverter Bistable Element Circuit & Behaviour
For Large t : Expressions Simplified 🡪
Consisting 2n Inverters
If Loop Gain (Combined Voltage Gain of Two Cascaded Inverters) = A
We Obtain :
Expression Describes Time-domain Behavior of Diverging Process
Till it
Reaches Stable Points
SR Latch Circuit
So Far 🡪 Bistable Element : Simple Memory Function of Holding Its State
Two Cross-Coupled Inverters
Two Stable Operating Modes
Circuit Preserves its State (Either One of
Two Possible Modes)
As Long as Power Supply Voltage
is Provided
How to do this?
Need to Add Simple Switches to the Bistable Element
Switches Force / Trigger the Circuit from One State to the Other
SR Latch Circuit
S-R Latch Circuit has 2 Complementary Outputs
Q&Q
Latch Definition : Set State : Output Q = Logic “1" ; & Q = Logic "0"
Reset state : Output Q = Logic “0" ;
& Q = Logic “1"
If S = "0" & R = "1" 🡪 O/P Node Q is Forced to "0" … & Q is Forced to "1“
Latch is Reset for S = 0 ; & R = 1 … Regardless of its Previously Held State
If Both I/Ps … S & R = Logic 1 … Both O/P Nodes are Forced to Logic 0
Conflicts with Complementarity of Q & Q
Hence, This I/P Combination is Not Allowed
Consider : Operating Modes of Four nMOS transistors : M1, M2, M3, & M4
If Set I/P (S) = VOH ; & Reset I/P (R) = VOL
Both of Parallel-Connected Xrs M1 & M2 will be ON
Voltage on Node Q = Logic-Low Level of VOL = 0
Both M3 & M4 will be OFF
Voltage on Node Q = Logic-High Level of VOH = 1
If Reset I/P (R) = VOH ; & Set I/P (S) = VOL 🡪 Situation is Reversed
SR Latch Circuit
Summary of Static Operation Modes & Voltage Levels of NOR-based CMOS SR Latch
Transient Analysis of SR Latch
Consider An Event Which Results in a State Change
Initially Reset Latch Applied a Set Signal
Initially Set Latch Being Reset by Applying Reset Signal
In These Cases Both O/P Nodes Undergo Simultaneous Voltage Transitions
One O/P Rises from Logic-Low Level to Logic-High
Other O/P Node Falls from Initial Logic-High to Logic-Low
Small Circles at S & R I/P Terminals 🡪 Circuit Responds to Active Low I/Ps
See Truth Table
Timing Analysis : Similar to NOR-based SR latches can be Applied
SR Latch Circuit Built with NAND2 Gates
One I/P of Each NAND Gate Used to Cross-Couple to O/P of Other NAND Gate
Second I/P Enables External Triggering
To Hold (preserve) a State : Both of External Trigger I/P Must be = Logic "1"
Operating Point of Circuit Changes by Pulling Set I/P to Logic Zero
Or by Pulling Reset I/P to Zero
SR Latch Circuit Built with NAND2 Gates
Synchronous Operation:
Circuit Response Controlled by Adding a Gating Clock Signal to the Circuit
Forces O/P to Respond to I/P Levels Only During Active Period of a Clock
Pulse
If Clock (CK) = Logic "0" 🡪 I/P Signals have No Influence on Circuit Response
O/Ps of Two AND Gates Stay at Logic "0"
Forces SR Latch to Hold its Current State … Regardless of S & R I/Ps
Situation : Clock I/P Goes to Logic "1" …
Logic Levels Applied to S & R I/Ps Can Reach SR Latch … & Possibly Change its
State
Input Combination S = R = "1" is STILL Not Allowed in Clocked SR Latch
If Both S & R are at Logic " 1" … & Clock Pulse Appears
Both O/Ps go Momentarily to Zero
As Clock Pulse is = "0“ … State of Latch is Indeterminate
Clocked SR Latch
Operation of Clocked SR Latch
Sample Sequence
CK, S, & R Waveforms
Corresponding O/P Waveform Q
Both I/P Signals S & R … as well as Clock Signal CK are Active Low
Changes in I/P Levels will be Ignored when CK = Logic "1"
I/Ps Influence O/Ps only when Clock is Active … CK = "0"
Alternate Implementation :
Both I/P Signals & CK Signal are Active High
Latch O/P Q is Set when CK = "1“ , S = "1" , & R = “0"
Latch Reset when CK = "1“, S = “0“, & R = "1“
J & K I/Ps of Ckt Similar to Set & Reset I/Ps of Basic SR Latch
Active High Clock Condition : Latch can be Set with I/P Combination (J = '1" K = "0")
Can be Reset with (J = "0" K = "1")
If both I/Ps = Logic "0" : Latch Preserves its Current State
If Both I/Ps = "1" … during Active Clock Phase ???
Latch Switches its State due to Feedback
JK Latch Holds its Current State when Clock is Inactive (CK = "0")
NOR-based Implementation of Clocked JK Latch
Questions:
CMOS D-Latch
CMOS D-Latch
Gate-Level Representation of D-latch
Clocked NOR-based SR Latch Circuit is Modified
Circuit has a Single I/P D … Directly Connected to “S” I/P of Latch
D is Inverted & Connected to “R” I/P of Latch
Therefore, O/P Q takes Value of I/P D … when Clock is Active (CK = "1“)
When Clock goes to Zero … O/P Preserves its State
CK Input Acts as an Enable Signal … Allows Data to be Accepted into D-latch
D-latch Used Digital Circuit Design for Temporary Storage of Data or as Delay Element
CMOS Implementation of D-Latch
Basic Two-Inverter Loop & Two CMOS Transmission Gate (TG) Switches
TG at I/P Activated by CK Signal
TG in Inverter Loop Activated by Inverse of CK Signal … CK
Information is Accepted (latched) into Circuit when Clock is High
And Preserved as the State of the Inverter Loop when Clock is Low
Circuit has Two Tristate Inverters … Driven by Clock Signal & its Inverse
1st Tri-State Inverter Acts as I/P Switch … Accepts I/P When Clock is High
At this Time 2nd Tristate Inverter is at its High-Impedance State
O/P Q Follows I/P Signal
When Clock Goes Low … I/P Buffer is Inactive
2nd Tristate Inverter Completes the 2-Inverter Loop …
Preserves its State Until the Next Clock Pulse
CMOS –VE (falling) Edge-Triggered Master-Slave D-FF
Operation of DFF Ckt Seriously Affected if Master Experiences a Set-up Time Violation
In Example I/P D Switches from "0" to "1" Immediately Before Clock Transition Occurs
(set-up time violation)
Effect : Master Fails to Latch the Correct Value 🡪 Slave Produces Erroneous O/P
Careful Synchronization of Relative Timing of I/P & Clock is a Must
Layout of CMOS DFF Circuit
NAND3-based +VE Edge-Triggered D Flip-Flop
6 NAND3 Gates
Initial : All Signal Values Except for S are 0 … i.e., (S,R, CK, D) = (1, 0, 0, 0), & Q = 0
2nd Phase : Both D & R Switch to 1, i.e., (S, R, CK, D) = (1, 1, 0, 1),
No Change in Q … Value of Q
Remains at 0
3rd Phase : If CK goes High, i.e., (S, R, CK, D) = (1, 1, 1, 1),
O/P of Gate 2 Switches to 0 🡪 Sets O/P of Last Stage SR Latch to 1
Thus O/P of this D-FF Switches to 1 at +VE-Going Edge of Clock CK
Schmitt Trigger Circuit
Regenerative Ckt … Voltage Transfer Characteristic like an Inverter
Two Different Logic Threshold Voltage … for Increasing & for Decreasing I/P
Signals
Detects Low-to-High & High-to-Low Switching Events in Noisy Environments
Circuit Diagram & VTC
Schmitt Trigger : Step-by-Step Analysis
Considering a +VE I/P Sweep … I/P Voltage Increases from 0 to VDD
i) At Vin = 0V : M1 & M2 Turned ON 🡪 VX = VY = VDD = 5V
At Same Time : M4 & M5 are Turned OFF … M3 is OFF …
M6 is ON … & Operates in Saturation Region
Calculating the Threshold Voltage of M6 … with 2φF = – 0.6 V
Vz = VDD – V T, 6 = 3.5 V
Vy = 1.5 V
Schmitt Trigger : Step-by-Step Analysis
ii) At Vin = 4.0 V :
M1 is at the Edge of Turning ON … M2 is OFF … M3 is in Saturation
O/P Voltage is Still Unchanged
iii) At Vin = 3 0 V :
M1 is ON … And in Saturation … M3 is also in Saturation … Current Equation
:
• Stored '0':
• When a '0' is stored, the cell capacitor is discharged. During the read
operation, the voltage on the bit line remains at the precharge voltage
(VDD/2), which is 0.65V.
Features Of SRAM:
1) Data is stored as long as supply is applied
2) Fast - so used where speed is important (e.g.,
caches)
3) Differential outputs
4) Low power consumption
5) Compatible with CMOS technology
Draw the circuit diagram of Dual Port Static RAM and explain its operations.
1) Assume a load capacitance of 10μA/V0μA/VfF and equivalent resistance for
NMOS is Rn =62kΩ &Ω & PMOS is Rp =180μA/VkΩ &Ω for unit transistors
(W=1). Now, calculate the propagation delay of the circuit using RC delay method.
2) Consider the CMOS inverter circuit covered in the class. Assume fabrication
process with the
following device parameters: VDD =3V, μnCox =180μA/VμA/V2 , Vtn=0μA/V.8V,
Vtp=0μA/V.8V, μpCox=60μA/VμA/V2
a). Determine the size of pullup and pull down path to get the symmetric response.
b.) Assume a load capacitance of 10μA/V0μA/VfF and equivalent resistance for
NMOS is Rn =62kΩ &Ω &
PMOS is Rp =180μA/VkΩ &Ω for unit transistors (W=1). Now, calculate the
propagation delay of the
circuit using RC delay method.
c). Also, calculate the propagation delay of the circuit using average current method.
d). Compare both of the delays obtained in part b & part c and comment on the
difference in delay
if any