Professional Documents
Culture Documents
Learning Objectives
Learn about the various elements of Embedded Hardware and their design principles
Refresh knowledge on the basic Analog Electronic components and circuits – Resistor, Capacitor, Diode,
Refresh knowledge on the basic Digital Electronic components and circuits – Logic Gates, Decoder and
Encoder ICs, Multiplexer (MUX) and De-multiplexer (D-MUX), Combinational and Sequential Circuits
Learn about Integrated Circuits (ICs), the degree of integration in various types of Integrated Circuits,
Analog, Digital and Mixed Signal Integrated Circuits, the steps involved in IC Design
Sri Vasavi Engg College
Resistor
A resistor limits the current flowing through a circuit.
Interfacing of LEDs, buzzer, etc. with the port pins of microcontroller through current
limiting resistors is a typical example for the usage of resistors in embedded application.
Sri Vasavi Engineering College
Cont’d
Capacitors & Inductors
Capacitors and inductors are used in signal filtering and resonating circuits.
Reset circuit implementation, matching circuits for RF designs, power supply decoupling,
etc. are examples for the usage of capacitors in embedded hardware circuit.
Electrolytic capacitors, ceramic capacitors, tantalum capacitors, etc. are the commonly used
capacitors in embedded hardware design.
Inductors are widely used for filtering the power supply from ripples and noise signals.
Inductors with inductance value in the microhenry (𝜇𝐻) range are commonly used in
embedded applications for filter and matching circuit implementation.
Sri Vasavi Engineering College
Cont’d
Diodes
P-N Junction diode, Schottky diode, Zener diode, etc. are the commonly used diodes in
embedded hardware circuits.
A schottky diode is same as a P-N Junction diode except that its forward voltage drop
(voltage drop across diode when conducting) is very low (of the order of 0.15V to 0.45)
when compared to ordinary P-N junction diode (of the order of 0.7V to 1.7V).
Also the current switching time of schottky diode is very small compared to the ordinary P-
N junction diode.
Cont’d
A zener diode acts as normal P-N junction diode when forward biased.
It also permits current flow in the reverse direction, if the voltage is greater than the junction
breakdown voltage.
It is normally used for voltage clamping applications.
Reverse polarity protection, voltage rectification (AC-DC converters), freewheeling of
current produced in inductive circuits, clamping of voltages to a desired level (e.g., Brown-
out protection circuit implementation using zener diode), etc. are examples for the usage of
diodes in embedded applications.
Cont’d
Transistors
Transistors in embedded applications are used for either switching or amplification purpose.
In switching application, the transistor is in either ON or OFF state.
In amplification operation, the transistor is always in the ON state (partially ON).
The common emitter configuration of NPN transistor is widely used in switching and driving
circuits in embedded applications.
Relay, buzzer and stepper motor driving circuits are examples for common emitter
configuration based driver circuit implementation using transistor.
Digital Electronic Components
Digital electronics deal with digital or discrete signals.
Microprocessors, microcontrollers and system on chips (SoCs) work on digital principles.
Embedded systems employ various digital electronic circuits for ‘Glue logic’
implementation.
‘Glue logic’ is the custom digital electronic circuitry required to achieve compatible interface
between two different integrated circuit chips.
Address decoders, latches, encoders/decoders, etc. are examples for glue logic circuits.
Transistor Transistor Logic (TTL), Complementary Metal Oxide Semiconductor (CMOS)
logic etc. are some of the standards describing the electrical characteristics of digital signals
in a digital system.
Open Collector and Tri-State Output
Open Collector
iii. It is easy to build ‘Wired AND’ and ‘Wired OR’ configuration using open collector
output lines.
Tri-State Output
The output of a standard logic device has two states, namely ‘Logic 0 (LOW)’ and
‘Logic 1 (HIGH)’ whereas tri-state devices have three states for the output, namely,
‘Logic 0 (LOW)’, ‘Logic 1 (HIGH)’, and the ‘High Impedance (FLOAT)’.
A tri-state logic device contains a device activation line called ‘Device Enable’.
When the ‘Device Enable’ line is activated (set at ‘Logic 1’ for an active ‘HIGH’
enable input and at ‘Logic 0’ for an active ‘LOW’ enable input), the device acts like a
normal logic device and the output will be in any one of the logic conditions, ‘Logic 0
(LOW)’ or ‘Logic 1 (HIGH)’.
When the ‘Device Enable’ line is de-activated (set at ‘Logic 0’ for an active ‘HIGH’
enable input and at ‘Logic 1’ for an active ‘LOW’ enable input), the output of the logic
device enters in a high impedance state and the device is said to be in the floating state.
Logic Gates
Logic gates are the building blocks of digital circuits.
Logic gates control the flow of digital information by performing a logical operation of the input
signals.
Depending on the logical operation, the logic gates used in digital design are classified into-AND, OR,
XOR, NOT, NAND, NOR and XNOR.
The logical relationship between the output signal and the input signals for a logic gate is represented
using a truth table.
Figure illustrates the truth table and symbolic representation of each logic gate
Buffer
A buffer circuit is a logic circuit for amplifying the current or power.
It increases the driving capability of a logic circuit.
A tri-state buffer is a buffer with Output Enable control.
When the Output Enable control is active (Low for Active low enable and High for Active high
enable), the tri-state buffer functions as a buffer.
If the Output Enable is not active, the output of the buffer remains at high impedance state (Tri-
stated).
Tri-state buffers are commonly used as drivers for address bus and to select the required device
among multiple devices connected to a shared data bus.
Tri-state buffers are available as either unidirectional or bi-directional buffers.
74LS244/74HC244 is an example of unidirectional octal buffer. It contains 8 individual buffers which are
grouped into two. Each buffer group has its own output enable line. Figure illustrates the 74LS244 buffer
device.
IC 74LS245 is an example of bi-directional tri-state buffer. It allows data flow in both directional, one at
a time. The data flow direction can be set by the direction control line. One buffer is allocated for the
data line associated with each direction. Figure illustrates the 74LS245 octal bi-directional buffer.
signal changes
Combinational vs Sequential Logic Circuits
Combinational Logic Circuits Sequential Logic Circuits
Output is a function of the present inputs (Time Output is a function of clock, present inputs and the
Independent Logic). previous states of the system.
Do not have the ability to store data (state). Have memory to store the present states that is sent
as control input (enable) for the next operation.
It does not require any feedback. It simply outputs It involves feedback from output to input that is
the input according to the logic designed. stored in the memory for the next operation.
Used mainly for Arithmetic and Boolean operations. Used for storing data (and hence used in RAM).
Logic gates are the elementary building blocks. Flip flops (binary storage device) are the elementary
building unit.
Independent of clock and hence does not require Clocked (Triggered for operation with electronic
triggering to operate. pulses).
Example: Adder [1+0=1; Dependency only on Example: Counter [Previous O/P+1=Current O/P;
present inputs i.e., 1 and 0]. Dependency on present input as well as previous
state].
Difference between Synchronous and Asynchronous
Sequential Circuits
Synchronous Sequential Circuit Asynchronous Sequential Circuit
Clocked flip-flops act as the memory element in the Un-clocked flip-flops or logic gate circuits with
circuit. All flip-flops are clocked to the same clock feedback loops act as the memory element in the
signal. circuit.
The output state of the circuit changes only with The output state change happens instantaneously
clock trigger. with changes in input state.
The speed of operation depends on the maximum Faster than synchronous sequential circuits.
supported clock frequency.
Integrated Circuit Design
An integrated circuit (IC) is a miniaturized form of an electronic circuit containing transistors and
other passive electronic components.
In an IC, the circuits, required for building the functionality, are built on the surface of a thin silicon
wafer.
The first integrated circuit was designed in the 1950s.
Depending on the number of integrated components, the degree of integration within an integrated
circuit (IC) is known as:
Small-Scale Integration (SSI): Integrates one or two logic gate(s) per IC, e.g. LS7400
Medium-Scale Integration (MSI): Integrates up to 100 logic gates in an IC. The decade Counter 7490 is an example
for MSI device.
Large-Scale Integration (LSI): Integrates more than 1000 logic gates in an IC.
Very Large-Scale Integration (VLSI): Integrates millions of logic gates in an IC.Pentium processor is an example of a
VLSI Device.
Different Types of IC Design
Depending on the type of circuits integrated in the IC,the IC design is categorized as:
Digital Design: Deals with the design of integrated circuits handling digital signals and data. The
I/O requirement for such an IC is always digital. Microprocessor/microcontroller, memory, etc. are
examples of digital data.
Analog Design: Deals with the design of integrated circuits handling analog signals and data.
Analog design gives more emphasis to the physics aspects of semiconductor devices such as gain,
power dissipation, resistance, etc. RF IC design, Op-Amp design, voltage regulator IC design, etc.
are examples for Analog IC Design.
Mixed Signal Design: In today’s world, most of the applications require the co-existence of digital
signals and analog signals for functioning. Mixed signal design involves design of ICs, which
handle both digital and analog signals as well as data. Design of an analog-to-digital converter is an
example for mixed signal IC design.
Various Steps Involved in a HDL Based Design
1
Functional Simulation
2
Area and Timing
Synthesis Technology Library
Constraints
3
Placement and Routing
4
Timing Simulation