Docsity

VLSI Design: Static Sequential Logic Circuits and Memory Elements - Prof. Aurangzeb Khan, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download VLSI Design: Static Sequential Logic Circuits and Memory Elements - Prof. Aurangzeb Khan and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

EE 534 fall 2003 University of South Alabama

EE

VLSI Design System

Fall 2003

Lecture 19:Chapter 8

Static sequential logic circuits design

Sequential Logic circuits ‰ EE 534 fall 2003 University of South Alabama

The logic circuits considered thus far arecalled

combinational logic circuits

. Their

output depend only on the present value ofinput.

This implies that these circuit do not

have

memory.

‰^

Another class of the logic circuit thatincorporate memory are called

sequential

logic circuits

; that is, their output depend not

only the present value of the input, but alsoon the previous history of inputs.

Shift

registers

and

flip-flops

are typical examples

of such circuits.

Terminology for Sequential Circuits ‰ EE 534 fall 2003 University of South Alabama

Sequential logic circuits

: circuit output depends

both on the inputs and the present state (which is setby the preceding inputs)

‰^

Multivibrator circuits

: (regenerative circuits,

circuits with positive feedback) output of thecircuits is intentionally connected back as input^ z

bistable

element: flip flop (FF), register, latch

(input can see through output during the enablingclock) z astable

element: oscillator, clock generator

z^ monostable

element: pulse generator

Sequential Logic EE 534 fall 2003 University of South Alabama

Combinational

Logic

Outputs

Inputs

StateRegisters

Current^ State

Next State

clock

Memory element parameters ‰ EE 534 fall 2003 University of South Alabama

Setup time: time before clock during which data inputmust be stable. ‰ Hold time: time after clock event for which data inputmust remain stable.

clock^ data

Dynamic latch Stores charge on inverter gate capacitance: EE 534 fall 2003 University of South Alabama

Latch Layout EE 534 fall 2003 University of South Alabama

VDD

D^

Q’ V^ SS

φ’

φ

CMOS RS Latch Circuit ‰ The operation sequence of CMOS R-S Latchis following.For example: If S = logic 1 and R = logic 0,then M EE 534 fall 2003 University of South Alabama

, is turned on, MN

, is cut off, andp^

goes low. ‰^

With

= R = logic 0, then both M

andN

MN

are cut off, both M

and MP

are biasedp

in a conducting state so that the output Qgoes high. ‰^

With Q = logic 1, M

is biased on, MN

isp

biased off, and the flip-flop is in a

set

condition. ‰^

When S goes low, M

, turns off, but MN^

N

remains conducting,

so the state of the flip-

flop does not change. Q ‰

Q

NMOS R-S Latch circuit ‰ Flip- flops are EE 534 fall 2003 University of South Alabama

bistable

circuits

usually formed by cross-coupling two NOR gates. Theoutput of the two NOR circuitsare connected back to theinputs of the opposite NORgates. When S=logic 1 and R=logic 0=logic 0 and Q=logic 1=V

DD

Transistor M

is then also biased 2

in conducting state.If S returns to logic 0, nothing in

the circuit can force a changeand flip flop stores the previouslogic states, although M

turned 1

off (but M

remains tuned on). 2

Q

NMOS R-S Latch (cont.) ‰^ EE 534 fall 2003 University of South Alabama

When R=logic 1 and S=logic 0 ‰^

Then M

turn on so output goes 4

low. With S=Q=Logic 0, both M

1

and M

are cutoff and goes 2 high. The flip-flop is now inreset state. ‰^

If both S and R inputs go high. Then both outputs Q andwould go low, which impliesthat output is not complementary.This condition is forbidden or

nonallowed condition.

Q

SR-Flip Flop (SR FF) EE 534 fall 2003 University of South Alabama

characteristic table

NOR based

Q 1 0 0

Q 0 1 0

S

Q 1 0 1

Q 0 1 1

quiescent statesetresetforbidden

Later state underterminable ifS/R switch simultaneously!!

R S^

Q^

Q

S^

Q^

0 0

Q S R^

Q^

0 1 0

1

Q

R^

1 1

NAND based

R^

Q^

Q

S^

Q

Q S R^

Q

1 1 0

1

Q

R^

1

0 0 0

Other Latches EE 534 fall 2003 University of South Alabama

‰^

Clocked SR latch^ z^

Adds clock input. Latch output can only beset/reset when clk=1 (or clk=0) ‰^

Other latch types:^ z^

JK latch: Removes “not allowed” state - toggleswhen inputs are both 1 z T latch: Toggles when input = 1 z D latch: Output = input

Clocked inverter operation ‰ EE 534 fall 2003 University of South Alabama

φ = 0: both clocked transistors are off, output is floating. ‰^

φ^ = 1: both clocked inverters are onn, acts as an inverterto drive output.

Clocked D Latch^ D EE 534 fall 2003 University of South Alabama

!Q Q

clock

clock

D Latch

Q

D

transparent mode

clock

hold mode