Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
2 views

Lecture 3- Sequential logic and Physical constraints

The document discusses the differences between combinational and sequential logic circuits, highlighting that combinational circuits are faster and simpler to design, while sequential circuits are slower and more complex due to their reliance on memory elements. It also covers physical constraints in hardware design, including gate delay, fan-in, fan-out, power dissipation, and noise margin, which are critical for effective circuit performance. Additionally, it provides an overview of various logic families, including TTL, ECL, MOS, and CMOS, comparing their power consumption, speed, and cost.

Uploaded by

deepakbond008
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Lecture 3- Sequential logic and Physical constraints

The document discusses the differences between combinational and sequential logic circuits, highlighting that combinational circuits are faster and simpler to design, while sequential circuits are slower and more complex due to their reliance on memory elements. It also covers physical constraints in hardware design, including gate delay, fan-in, fan-out, power dissipation, and noise margin, which are critical for effective circuit performance. Additionally, it provides an overview of various logic families, including TTL, ECL, MOS, and CMOS, comparing their power consumption, speed, and cost.

Uploaded by

deepakbond008
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 22

23CSE213

Computer Organization and


Architecture
Basics of hardware design

Department of CSE
2024-25 Even semester
Contents
• Combinational vs sequential logic
• Physical constraints

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 2


Combinational vs Sequential logic

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 3


Comparison in terms of performance
• Combinational circuits are generally faster and perform better than sequential
circuits because they only require the current state as input:
• Speed: Combinational circuits are faster because they don't need to wait for past inputs or
clock cycles. The output is generated as soon as the input changes.
• Design: Combinational circuits are relatively straightforward to design.

• Sequential circuits are slower because they rely on previous inputs and memory elements to
store and process past data:
• Speed: Sequential circuits are slower because they rely on memory and clock signals.
• Design: Sequential circuits are more complex due to memory elements and timing
considerations.
16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 4
Physical constraints
• In designing a system, a designed must consider aspects other than logic.
• Factors to be considered:
• Gate delay
• Fan-in
• Fan-out
• Power dissipation
• Noise margin

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 5


Gate delay
• When the input to a logic gate is changed, the
output will not change immediately.
• The switching elements within a gate take a finite
time to react to a change (transition) in input.
• As a result, the change in the gate output is
delayed with respect to the input change.
• Such delay is called the propagation delay of the
logic gate (tp)
• The propagation delay for a 0-to-1 output change
(tpLH) may be different than the delay for a 1-to-0
change (tpHL). (Due to the components like
transistors and capacitors)
16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 6
Gate delays

the difference in delay happens because


the parts of the circuit responsible for
turning the signal on (low-to-high) are
slower than the parts responsible for
turning the signal off (high-to-low).
PMOS transistor-For on
NMOS transistor –For off

If the propagation delay is 10 ns for low-


to-high, the high-to-low delay might
range from 8 ns.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 7


Why gate delay has to be considered?
• The analysis of a combinational circuit ignoring delays can predict only its
steady-state behavior.
–Predicts a circuit’s output as a function of its inputs assuming that the inputs have been
stable for a long time, relative to the delays in the circuit’s electronics.
• Because of circuit delays, the transient behavior of a combinational logic
circuit may differ from what is predicted by steady-state analysis.
• Timing hazard:
• circuit’s output may produce a short pulse (“glitch”) at a time when steady state
analysis predicts that the output should not change.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 8


Logic families overview
• Logic families refer to groups of electronic circuits that implement logic gates
(like AND, OR, NOT) with similar electrical characteristics. Here's a brief
overview of major logic families:

• Different types of technologies being used to build different logic gates.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 9


TTL and ECL
TTL and ECL – based on Bipolar Junction Transistor (BJT).
• TTL - well-established popular logic family.
Types of Bipolar Junction
• ECL - high-speed operation. Transistor
• NPN stands for Negative-Positive-Negative, where
(Collector (C) and Emitter (E) are N-type, while Base (B)
is P-type.). Current flows from Collector to
Emitter when a small current is applied to
the Base.

• PNP stands for Positive-Negative-Positive.


Collector and Emitter are P-type, while the
Base is N-type. Current flows from Emitter
to Collector when a small current is applied
to the Base. PNP transistors are used less
frequently in Dept
16-12-2024 logicoffamilies because
CSE, Amrita School they are
of Computing, Coimbatore 10
MOS and CMOS
• MOS and CMOS- based on Field Effect Transistor also said to be unipolar
transistor.
• large scale integrated circuits (high component density) and low power consumption.
• CMOS logic consumes far less power than MOS or bipolar logic ( MOSFET is used CMOS
technology).).

• Source (S), Drain (D), and Gate (G).

• JFET is simpler, cheaper, and operates in depletion mode. It’sTypes


usedoffor basic
field effect
amplifying and analog tasks. transistor

• MOSFET is faster, more versatile (enhancement and depletion modes), and is the
backbone of modern digital electronics.
16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 11
Comparation

• Power Consumption: CMOS < TTL < ECL


• Speed: ECL > CMOS > TTL
• Cost: CMOS and TTL are cheaper and easier to manufacture.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 12


Fan-in
• Fan-in refers to the maximum number of input signals that feed the input
equations of a logic cell.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 13


Why Fan-in?
• A physical gate cannot have a large number of inputs.
• For CMOS technology, the more inputs a gate has the slower it is.
• Hence, for CMOS, the fan-in is restricted to 4 inputs.
• TTL gates can have fan-in as 8.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 14


Fan-out
• Fan-out refers to the maximum number of output signals that are fed by the
output equations of a logic cell.
• If output of gate A is connected to input of gate B, then gate A is said to be
driver gate, gate B is said to be load gate.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 15


Fan-out and Gate drive
• A driver gate may have more than one load gate. There is a limit to the
number of gate inputs that a single output can drive.
• More fan-out, gate delay increases.
• It is advisable to avoid loads much higher than 8 loads.

• Drive refers to the current driving-ability of a gate.


• It is the amount of current the gate can deliver to its load devices.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 16


Power
• Power dissipation is the supplied power required to operate the desired logic
function.
• Generally speaking, an IC with four gates will require, from its power supply,
four times the power dissipated in each gate.
• The total power dissipation equals the sum of power consumed by all gates.
• If one gate consumes a power of P, then four gates consume 4×P.
• A complex electronic system may have many thousands of gates. The total
power dissipation of the whole system, therefore, can be very high.
Issue
• Heat Generation- cause thermal stress on components, reducing their
performance and reliability.
• Energy Inefficient
16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 17
Example:
• In a microprocessor, if power dissipation is too high, it will require a large
heat sink and cooling fans to keep it operational.
• For a mobile phone, high power dissipation will drain the battery quickly,
making the device inconvenient for users.

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 18


Noise margin
• Noise margin is the maximum noise voltage added to
the input signal of a digital circuit that does not cause an
undesirable change in the output.
• There are two types of noise to be considered.
• DC noise is caused by a drift in the voltage levels of a signal.
• AC noise is a random pulse that may be created by other
switching signals.
• Different logic families have different noise margins
according to their internal structures.
• TTL gate will have a noise margin of 1V
• CMOS gate has a noise margin of 40% of the supply voltage
(i.e. if VDD = 5V, its noise margin is 2V)

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 19


Noise margin - example
• Consider the noise margin as 1 V.
5 V – Logic
1

4 V – Till 4 V – it is acceptable as
Logic 1

1 V – Till 1 V – it is acceptable as
Logic 0

0 V – Logic
0

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 20


16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 21
Recap
• Sequential vs combinational concepts
• Physical constraints

16-12-2024 Dept of CSE, Amrita School of Computing, Coimbatore 22

You might also like