SlideShare a Scribd company logo
1 of 7
EEEC6420307
Digital Circuits and SystemDesign
Faculty of Engineering and Computer Technology
Laboratory Manual
Lecturer: Ravandran Muttiah BEng (Hons) MSc MIET
Year/Semester: Year 1 / Semester 2
Academic Session: 2021/2022
The information in this documentis important and should be noted by all students undertaking the
Bachelor of Engineering (Honours) in Electrical and Electronic Engineering
Approved by Coordinator: Endorsed By Dean:
------------------------------------------ __________________
AIMST University Faculty of Engineering and Computer Technology
BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 1
Mini Project 1 - 2-to-4 DecoderWith Enable Input E And 4-to-2 Line
Priority Encoder
Decoder
An 𝑛 − to − 2𝑛
decoder is a multiple-output combinational logic network with 𝑛 input
lines and 2𝑛
output signals, as illustrated in figure 1. For each possible input condition,
one and only one output signal will be at logic 1. Therefore, we may consider the 𝑛 −
to − 2𝑛
decoder as imply a minterm generator, with each output corresponding to exactly
one min-term. Decoders are important tools in the logic designer’s repertoire. They are
used for such things as interrogating memory in order to select a particular word from the
many that are available, code conversion (for example, binary to decimal), and routing of
data.
Figure 1: 𝑛 − to − 2𝑛
decoder module.
Decoder Circuit Structures
The logic circuit of a 2-bit parallel decoder is shown in figure 2. In general, this decoder
is very simple, but also expensive. As can be seen from the figure, an input combination
or vector of 𝐵𝐴 = 00 selects the 𝑚0 output line, 𝐵𝐴 = 01 selects the 𝑚1 output line, and
so on.
𝑚0 = 𝐵
̅𝐴̅
𝑚1 = 𝐵
̅𝐴
𝑚2 = 𝐵𝐴̅
𝑚3 = 𝐵𝐴 (1)
The AND gate realisations of the 𝑛 − to − 2𝑛
decoder shown in figure 2 there is only a
single level of logic and that one 𝑛 − input AND gate is required for each of the 2𝑛
output lines. However, a problem is soon encountered in this configuration as 𝑛 becomes
𝑥0
𝑥𝑛−1
𝑦0
𝑦1
𝑦2𝑛
−1
⋮ ⋮
LSB
MSB
𝑛 − to − 2𝑛
Decoder
𝑥1
AIMST University Faculty of Engineering and Computer Technology
BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 2
large because the number of inputs to the AND gates (the fan-in) exceeds practical limits
(five or six). Then two-input AND gates are used to combine these signals to form the 2𝑛
output lines for the total decoder network.
Figure 2: Two-bit parallel decoder circuit structure (active-high outputs).
Enable Control Inputs
Decoders often include one or more enable inputs, as shown in figure 3, which can be
used to either inhibit (disable) the designated function or allow (enable) it to be
performed. The decoding function of a decoder is inhibited by forcing all its outputs to
the inactive state. For example, output 𝑦0 of the 2 − to − 4 decoder in figure 3 is given
by 𝑦0 = 𝑥̅1𝑥̅0𝐸 = 𝑚0𝐸. In general,
𝑦𝑘 = 𝑚𝑘𝐸 (2)
When 𝐸 = 0, all outputs are forced to 0, whereas for 𝐸 = 1, each output 𝑦𝑘 is equal to
𝑚𝑘.
Figure 3: 2 − to − 4 decoder with enable input 𝐸.
𝑚0
LSB 𝐴
MSB 𝐵
𝑚1
𝑚2
𝑚3
𝑦0
𝑦1
𝑦2
𝑦3
𝑋0
𝑋1
𝐸
𝑦0
𝑦1
𝑦2
𝑦3
𝑥0
𝑥1
𝑥2
AIMST University Faculty of Engineering and Computer Technology
BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 3
Encoders
An encoder is a combinational logic module that assigns a unique output code (a binary
number) for each input signal applied to the device; as such, it is the opposite of a
decoder. If an encoder module has 𝑛 inputs, the number of outputs 𝑠 must satisfy the
expression,
2𝑠
≥ 𝑛 (3)
or
𝑠 ≥ log2 𝑛
Encoder Circuit Structures - Encoders with Mutually Exclusive Inputs
Consider first the case in which the inputs are mutually exclusive; that is, one (and only
one) of the input lines is active at any particular instant in time; two or more input lines
are never simultaneously active. In this case the input combinations that never occur may
be used as don’t-care conditions. The design of an encoder for four input lines if one and
only one is active at any moment in time is shown in figure 4.
Figure 4: 4 − to − 2 line encoder.
𝑋0
𝑋3
𝐴0
𝑋1
𝑋2
𝐴1
4 − to − 2
Encoder
AIMST University Faculty of Engineering and Computer Technology
BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 4
Table 1: Truth table
Priority Encoders
Another type of encoder is the priority encoder. The priority encoder allows multiple
input lines to be active and sends out the binary value of the subscript of the input line
with highest priority. To simplify the design, the highest priority is assigned to the
highest subscript, the next highest priority to the second highest subscript, and so on.
Consider the priority encoder of figure 5. The input lines are encoded,
𝐴1 𝐴0
𝑋0 → 0 0
𝑋1 → 0 1
𝑋2 → 1 0
𝑋3 → 1 1
If no input line is active, the priority encoder sends out (𝐴1𝐴0) = (00). If a single line is
active, the encoder sends out the binary value of the subscript of the active line. If more
than one input is active, the encoder sends out the binary value of the largest subscript of
the active lines. Table 2 displays the truth table for the encoder. Note that the two
additional output lines indicate that no input line is active (𝐸𝑂 = 1) and one or more
inputs are active (𝐺𝑆 = 1). Figure 6 present the logic diagram of the function, which
reduces to,
𝑋3 𝑋2 𝑋1 𝑋0 𝐴1 𝐴0
0 0 0 0 𝑑 𝑑
0 0 0 1 0 0
0 0 1 0 0 1
0 0 1 1 𝑑 𝑑
0 1 0 0 1 0
0 1 0 1 𝑑 𝑑
0 1 1 0 𝑑 𝑑
0 1 1 1 𝑑 𝑑
1 0 0 0 1 1
1 0 0 1 𝑑 𝑑
1 0 1 0 𝑑 𝑑
1 0 1 1 𝑑 𝑑
1 1 0 0 𝑑 𝑑
1 1 0 1 𝑑 𝑑
1 1 1 0 𝑑 𝑑
1 1 1 1 𝑑 𝑑
Outputs
Inputs
AIMST University Faculty of Engineering and Computer Technology
BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 5
𝐴1 = 𝑋2 + 𝑋3
𝐴0 = 𝑋3 + 𝑋1𝑋
̅2
and
𝐸𝑂 = 𝐺𝑆
̅̅̅̅ = 𝑋3 + 𝑋2 + 𝑋1 + 𝑋0
̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
Figure 5: Functional diagram of 4 − to − 2 line priority encoder.
Table 2: Truth table
𝑋0
𝑋3
𝐴0
𝑋1
𝑋2
𝐸𝑂
4 − to − 2
Priority
Encoder
𝐴1
𝐺𝑆
𝑋3 𝑋2 𝑋1 𝑋0 𝐴1 𝐴0 𝐺𝑆 𝐸𝑂
0 0 0 0 0 0 0 1
0 0 0 1 0 0 1 0
0 0 1 0 0 1 1 0
0 0 1 1 1 1 1 0
0 1 0 0 1 0 1 0
0 1 0 1 1 0 1 0
0 1 1 0 1 0 1 0
0 1 1 1 1 0 1 0
1 0 0 0 1 1 1 0
1 0 0 1 1 1 1 0
1 0 1 0 1 1 1 0
1 0 1 1 1 1 1 0
1 1 0 0 1 1 1 0
1 1 0 1 1 1 1 0
1 1 1 0 1 1 1 0
1 1 1 1 1 1 1 0
Inputs Outputs
AIMST University Faculty of Engineering and Computer Technology
BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 6
The two output functions 𝐴1 and 𝐴0 are independent of 𝑋0. Note that the priority encoder
can realise the truth table of table 1.
Figure 6: Logic diagram of 4 − to − 2 line priority encoder.
Objectives
The objective of this experimental project is to become acquainted with the design of
decoder and an encoder. Demonstrate your ability to design and construct the decoder
and encoder, and to view the function of the inputs and outputs respectively.
Specification
Design a 2 − to − 4 decoder with enable input 𝐸, and a 4 − to − 2 line priority encoder.
Report
Write a laboratory report on this project:
(1) Explain in detail about the theory of 2 − to − 4 decoder with enable input 𝐸, and
the 4 − to − 2 line priority encoder.
(2) Discuss the method of productions and fabrications of decoder and encoder, and
comment on the test results.
(3) Prepare slides for presentation and demonstration of this project.
𝐴0
𝐴1
𝐸0
𝐸𝑆
𝑋1
𝑋
̅2
𝑋3
𝑋0
𝑋2

More Related Content

What's hot

Introduction to Mechatronics
Introduction to MechatronicsIntroduction to Mechatronics
Introduction to MechatronicsVeerakumar S
 
Mechatronics-Introduction to Mechatronics System
Mechatronics-Introduction to Mechatronics SystemMechatronics-Introduction to Mechatronics System
Mechatronics-Introduction to Mechatronics SystemMani Vannan M
 
The Design of Multi-Platforms Rail Intelligence Flatness Detection System
The Design of Multi-Platforms Rail Intelligence Flatness Detection SystemThe Design of Multi-Platforms Rail Intelligence Flatness Detection System
The Design of Multi-Platforms Rail Intelligence Flatness Detection SystemIJRESJOURNAL
 
A portable hardware in-the-loop device for automotive diagnostic control systems
A portable hardware in-the-loop device for automotive diagnostic control systemsA portable hardware in-the-loop device for automotive diagnostic control systems
A portable hardware in-the-loop device for automotive diagnostic control systemsISA Interchange
 
Real-Time Monitoring of Industrial Environmental Temperature using LabVIEW
Real-Time Monitoring of Industrial Environmental Temperature using LabVIEWReal-Time Monitoring of Industrial Environmental Temperature using LabVIEW
Real-Time Monitoring of Industrial Environmental Temperature using LabVIEWIJERA Editor
 
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using Cloud
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using CloudIRJET- Fuzzy Logic based Fault Detection in Induction Machines using Cloud
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using CloudIRJET Journal
 
Office Security System
Office Security SystemOffice Security System
Office Security SystemIJMER
 
Intelligent mechatronic systems
Intelligent mechatronic systemsIntelligent mechatronic systems
Intelligent mechatronic systemsSpringer
 
Design and Implementation of an Electrical Lift Controlled using PLC
Design and Implementation of an Electrical Lift Controlled using PLC Design and Implementation of an Electrical Lift Controlled using PLC
Design and Implementation of an Electrical Lift Controlled using PLC IJECEIAES
 
Automatic sorting machine (cpu)
Automatic sorting machine (cpu)Automatic sorting machine (cpu)
Automatic sorting machine (cpu)vishnucool
 
Control system basics_open and closed loop control system
Control system basics_open and closed loop control systemControl system basics_open and closed loop control system
Control system basics_open and closed loop control systemNilesh Bhaskarrao Bahadure
 
Decentralized supervisory based switching control for uncertain multivariable...
Decentralized supervisory based switching control for uncertain multivariable...Decentralized supervisory based switching control for uncertain multivariable...
Decentralized supervisory based switching control for uncertain multivariable...ISA Interchange
 
Introduction to control system 1
Introduction to control system 1Introduction to control system 1
Introduction to control system 1turna67
 
Control engineering introduction 18ME71
Control engineering  introduction 18ME71Control engineering  introduction 18ME71
Control engineering introduction 18ME71Mohammed Imran
 
07 7924 9058-1-pb
07 7924 9058-1-pb07 7924 9058-1-pb
07 7924 9058-1-pbIAESIJEECS
 
Lec 03(VDIdr shady)
Lec 03(VDIdr shady)Lec 03(VDIdr shady)
Lec 03(VDIdr shady)Mohamed Atef
 
PID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer FunctionPID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer FunctionMIbrar4
 

What's hot (20)

Introduction to Mechatronics
Introduction to MechatronicsIntroduction to Mechatronics
Introduction to Mechatronics
 
Mechatronics-Introduction to Mechatronics System
Mechatronics-Introduction to Mechatronics SystemMechatronics-Introduction to Mechatronics System
Mechatronics-Introduction to Mechatronics System
 
Design of a discrete PID controller based on identification data for a simsca...
Design of a discrete PID controller based on identification data for a simsca...Design of a discrete PID controller based on identification data for a simsca...
Design of a discrete PID controller based on identification data for a simsca...
 
The Design of Multi-Platforms Rail Intelligence Flatness Detection System
The Design of Multi-Platforms Rail Intelligence Flatness Detection SystemThe Design of Multi-Platforms Rail Intelligence Flatness Detection System
The Design of Multi-Platforms Rail Intelligence Flatness Detection System
 
A portable hardware in-the-loop device for automotive diagnostic control systems
A portable hardware in-the-loop device for automotive diagnostic control systemsA portable hardware in-the-loop device for automotive diagnostic control systems
A portable hardware in-the-loop device for automotive diagnostic control systems
 
Real-Time Monitoring of Industrial Environmental Temperature using LabVIEW
Real-Time Monitoring of Industrial Environmental Temperature using LabVIEWReal-Time Monitoring of Industrial Environmental Temperature using LabVIEW
Real-Time Monitoring of Industrial Environmental Temperature using LabVIEW
 
Design and implementation speed control system of DC Motor based on PID contr...
Design and implementation speed control system of DC Motor based on PID contr...Design and implementation speed control system of DC Motor based on PID contr...
Design and implementation speed control system of DC Motor based on PID contr...
 
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using Cloud
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using CloudIRJET- Fuzzy Logic based Fault Detection in Induction Machines using Cloud
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using Cloud
 
Introduction to control systems
Introduction to control systemsIntroduction to control systems
Introduction to control systems
 
Office Security System
Office Security SystemOffice Security System
Office Security System
 
Intelligent mechatronic systems
Intelligent mechatronic systemsIntelligent mechatronic systems
Intelligent mechatronic systems
 
Design and Implementation of an Electrical Lift Controlled using PLC
Design and Implementation of an Electrical Lift Controlled using PLC Design and Implementation of an Electrical Lift Controlled using PLC
Design and Implementation of an Electrical Lift Controlled using PLC
 
Automatic sorting machine (cpu)
Automatic sorting machine (cpu)Automatic sorting machine (cpu)
Automatic sorting machine (cpu)
 
Control system basics_open and closed loop control system
Control system basics_open and closed loop control systemControl system basics_open and closed loop control system
Control system basics_open and closed loop control system
 
Decentralized supervisory based switching control for uncertain multivariable...
Decentralized supervisory based switching control for uncertain multivariable...Decentralized supervisory based switching control for uncertain multivariable...
Decentralized supervisory based switching control for uncertain multivariable...
 
Introduction to control system 1
Introduction to control system 1Introduction to control system 1
Introduction to control system 1
 
Control engineering introduction 18ME71
Control engineering  introduction 18ME71Control engineering  introduction 18ME71
Control engineering introduction 18ME71
 
07 7924 9058-1-pb
07 7924 9058-1-pb07 7924 9058-1-pb
07 7924 9058-1-pb
 
Lec 03(VDIdr shady)
Lec 03(VDIdr shady)Lec 03(VDIdr shady)
Lec 03(VDIdr shady)
 
PID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer FunctionPID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer Function
 

Similar to Mini Project 1 - 2-to-4 Decoder with Enable Input E and 4-to-2 Line Priority Encoder

Mini Project 2 - 4-to-1 Multiplexer And 1-to-4 Demultiplexer With Enable
Mini Project 2 -  4-to-1 Multiplexer And 1-to-4 Demultiplexer With EnableMini Project 2 -  4-to-1 Multiplexer And 1-to-4 Demultiplexer With Enable
Mini Project 2 - 4-to-1 Multiplexer And 1-to-4 Demultiplexer With EnableAIMST University
 
Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)Moe Moe Myint
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logicDeepak John
 
FPGA Implementation with Digital Devices
FPGA Implementation with Digital Devices FPGA Implementation with Digital Devices
FPGA Implementation with Digital Devices Sachin Mehta
 
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATESQUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATESDrKavitaKhare
 
Unit 2a combinational circuits
Unit 2a combinational circuitsUnit 2a combinational circuits
Unit 2a combinational circuitsanshul sharma
 
Mini Project 1 - Amplitude Shift Keying (ASK) Modulator
Mini Project 1  -  Amplitude Shift Keying (ASK) ModulatorMini Project 1  -  Amplitude Shift Keying (ASK) Modulator
Mini Project 1 - Amplitude Shift Keying (ASK) ModulatorAIMST University
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...Arti Parab Academics
 
Codec Scheme for Power Optimization in VLSI Interconnects
Codec Scheme for Power Optimization in VLSI InterconnectsCodec Scheme for Power Optimization in VLSI Interconnects
Codec Scheme for Power Optimization in VLSI InterconnectsIJEEE
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERVijay Elavunkal
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusumakusuma11
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusumakusuma11
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusumakusuma11
 

Similar to Mini Project 1 - 2-to-4 Decoder with Enable Input E and 4-to-2 Line Priority Encoder (20)

Mini Project 2 - 4-to-1 Multiplexer And 1-to-4 Demultiplexer With Enable
Mini Project 2 -  4-to-1 Multiplexer And 1-to-4 Demultiplexer With EnableMini Project 2 -  4-to-1 Multiplexer And 1-to-4 Demultiplexer With Enable
Mini Project 2 - 4-to-1 Multiplexer And 1-to-4 Demultiplexer With Enable
 
C211324
C211324C211324
C211324
 
Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logic
 
FPGA Implementation with Digital Devices
FPGA Implementation with Digital Devices FPGA Implementation with Digital Devices
FPGA Implementation with Digital Devices
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Digital 4-bit Comprator
Digital 4-bit CompratorDigital 4-bit Comprator
Digital 4-bit Comprator
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATESQUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
 
Unit 2a combinational circuits
Unit 2a combinational circuitsUnit 2a combinational circuits
Unit 2a combinational circuits
 
Arithmetic and logic unit
Arithmetic and logic unitArithmetic and logic unit
Arithmetic and logic unit
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
Mini Project 1 - Amplitude Shift Keying (ASK) Modulator
Mini Project 1  -  Amplitude Shift Keying (ASK) ModulatorMini Project 1  -  Amplitude Shift Keying (ASK) Modulator
Mini Project 1 - Amplitude Shift Keying (ASK) Modulator
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
 
Codec Scheme for Power Optimization in VLSI Interconnects
Codec Scheme for Power Optimization in VLSI InterconnectsCodec Scheme for Power Optimization in VLSI Interconnects
Codec Scheme for Power Optimization in VLSI Interconnects
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETER
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusuma
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusuma
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusuma
 

More from AIMST University

Future Generation of Mobile and Satellite Communication Technology
Future Generation of Mobile and Satellite Communication TechnologyFuture Generation of Mobile and Satellite Communication Technology
Future Generation of Mobile and Satellite Communication TechnologyAIMST University
 
Research Cluster - Wireless Communications for 5G/6G
Research Cluster - Wireless Communications for 5G/6GResearch Cluster - Wireless Communications for 5G/6G
Research Cluster - Wireless Communications for 5G/6GAIMST University
 
1G, 2G, 3G, 4G, and 5G Technology
1G, 2G, 3G, 4G, and 5G Technology1G, 2G, 3G, 4G, and 5G Technology
1G, 2G, 3G, 4G, and 5G TechnologyAIMST University
 
Lecture Notes - EEEC6430310 Electromagnetic Fields and Waves - Smith Chart
Lecture Notes - EEEC6430310 Electromagnetic Fields and Waves - Smith ChartLecture Notes - EEEC6430310 Electromagnetic Fields and Waves - Smith Chart
Lecture Notes - EEEC6430310 Electromagnetic Fields and Waves - Smith ChartAIMST University
 
Mini Project 2 - Wien Bridge Oscillator
Mini Project 2 - Wien Bridge OscillatorMini Project 2 - Wien Bridge Oscillator
Mini Project 2 - Wien Bridge OscillatorAIMST University
 
Experiment 1 - Frequency Determination Using The Lissajous Polar
Experiment 1 - Frequency Determination Using The Lissajous PolarExperiment 1 - Frequency Determination Using The Lissajous Polar
Experiment 1 - Frequency Determination Using The Lissajous PolarAIMST University
 
Experiment 2 - Phase Determination Using The Lissajous Polar
Experiment 2 - Phase Determination Using The Lissajous PolarExperiment 2 - Phase Determination Using The Lissajous Polar
Experiment 2 - Phase Determination Using The Lissajous PolarAIMST University
 
Experiment 3 - Dynamic Characteristic of Thermistor
Experiment 3 - Dynamic Characteristic of ThermistorExperiment 3 - Dynamic Characteristic of Thermistor
Experiment 3 - Dynamic Characteristic of ThermistorAIMST University
 
Mini Project 1 - Wheatstone Bridge Light Detector
Mini Project 1 - Wheatstone Bridge Light DetectorMini Project 1 - Wheatstone Bridge Light Detector
Mini Project 1 - Wheatstone Bridge Light DetectorAIMST University
 
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Dipole Arrays
Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Dipole ArraysLecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Dipole Arrays
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Dipole ArraysAIMST University
 
Lecture Notes: EEEE6490345 RF And Microwave Electronics - Radio Communicatio...
Lecture Notes:  EEEE6490345 RF And Microwave Electronics - Radio Communicatio...Lecture Notes:  EEEE6490345 RF And Microwave Electronics - Radio Communicatio...
Lecture Notes: EEEE6490345 RF And Microwave Electronics - Radio Communicatio...AIMST University
 
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Instrumentation
Lecture Notes:  EEEC6430312 Measurements And Instrumentation - InstrumentationLecture Notes:  EEEC6430312 Measurements And Instrumentation - Instrumentation
Lecture Notes: EEEC6430312 Measurements And Instrumentation - InstrumentationAIMST University
 
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Fundamentals O...
Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Fundamentals O...Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Fundamentals O...
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Fundamentals O...AIMST University
 
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Instrument Typ...
Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Instrument Typ...Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Instrument Typ...
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Instrument Typ...AIMST University
 
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Errors During ...
Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Errors During ...Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Errors During ...
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Errors During ...AIMST University
 
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Maxwell's Equa...
Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Maxwell's Equa...Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Maxwell's Equa...
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Maxwell's Equa...AIMST University
 
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Transmission Line
Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Transmission LineLecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Transmission Line
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Transmission LineAIMST University
 
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Cylindrical Ca...
Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Cylindrical Ca...Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Cylindrical Ca...
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Cylindrical Ca...AIMST University
 
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...AIMST University
 
Mini Project 1: Impedance Matching With A Single Stub Tuner
Mini Project 1:  Impedance Matching With A Single Stub TunerMini Project 1:  Impedance Matching With A Single Stub Tuner
Mini Project 1: Impedance Matching With A Single Stub TunerAIMST University
 

More from AIMST University (20)

Future Generation of Mobile and Satellite Communication Technology
Future Generation of Mobile and Satellite Communication TechnologyFuture Generation of Mobile and Satellite Communication Technology
Future Generation of Mobile and Satellite Communication Technology
 
Research Cluster - Wireless Communications for 5G/6G
Research Cluster - Wireless Communications for 5G/6GResearch Cluster - Wireless Communications for 5G/6G
Research Cluster - Wireless Communications for 5G/6G
 
1G, 2G, 3G, 4G, and 5G Technology
1G, 2G, 3G, 4G, and 5G Technology1G, 2G, 3G, 4G, and 5G Technology
1G, 2G, 3G, 4G, and 5G Technology
 
Lecture Notes - EEEC6430310 Electromagnetic Fields and Waves - Smith Chart
Lecture Notes - EEEC6430310 Electromagnetic Fields and Waves - Smith ChartLecture Notes - EEEC6430310 Electromagnetic Fields and Waves - Smith Chart
Lecture Notes - EEEC6430310 Electromagnetic Fields and Waves - Smith Chart
 
Mini Project 2 - Wien Bridge Oscillator
Mini Project 2 - Wien Bridge OscillatorMini Project 2 - Wien Bridge Oscillator
Mini Project 2 - Wien Bridge Oscillator
 
Experiment 1 - Frequency Determination Using The Lissajous Polar
Experiment 1 - Frequency Determination Using The Lissajous PolarExperiment 1 - Frequency Determination Using The Lissajous Polar
Experiment 1 - Frequency Determination Using The Lissajous Polar
 
Experiment 2 - Phase Determination Using The Lissajous Polar
Experiment 2 - Phase Determination Using The Lissajous PolarExperiment 2 - Phase Determination Using The Lissajous Polar
Experiment 2 - Phase Determination Using The Lissajous Polar
 
Experiment 3 - Dynamic Characteristic of Thermistor
Experiment 3 - Dynamic Characteristic of ThermistorExperiment 3 - Dynamic Characteristic of Thermistor
Experiment 3 - Dynamic Characteristic of Thermistor
 
Mini Project 1 - Wheatstone Bridge Light Detector
Mini Project 1 - Wheatstone Bridge Light DetectorMini Project 1 - Wheatstone Bridge Light Detector
Mini Project 1 - Wheatstone Bridge Light Detector
 
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Dipole Arrays
Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Dipole ArraysLecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Dipole Arrays
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Dipole Arrays
 
Lecture Notes: EEEE6490345 RF And Microwave Electronics - Radio Communicatio...
Lecture Notes:  EEEE6490345 RF And Microwave Electronics - Radio Communicatio...Lecture Notes:  EEEE6490345 RF And Microwave Electronics - Radio Communicatio...
Lecture Notes: EEEE6490345 RF And Microwave Electronics - Radio Communicatio...
 
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Instrumentation
Lecture Notes:  EEEC6430312 Measurements And Instrumentation - InstrumentationLecture Notes:  EEEC6430312 Measurements And Instrumentation - Instrumentation
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Instrumentation
 
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Fundamentals O...
Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Fundamentals O...Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Fundamentals O...
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Fundamentals O...
 
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Instrument Typ...
Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Instrument Typ...Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Instrument Typ...
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Instrument Typ...
 
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Errors During ...
Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Errors During ...Lecture Notes:  EEEC6430312 Measurements And Instrumentation - Errors During ...
Lecture Notes: EEEC6430312 Measurements And Instrumentation - Errors During ...
 
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Maxwell's Equa...
Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Maxwell's Equa...Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Maxwell's Equa...
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Maxwell's Equa...
 
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Transmission Line
Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Transmission LineLecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Transmission Line
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Transmission Line
 
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Cylindrical Ca...
Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Cylindrical Ca...Lecture Notes:  EEEC6430310 Electromagnetic Fields And Waves - Cylindrical Ca...
Lecture Notes: EEEC6430310 Electromagnetic Fields And Waves - Cylindrical Ca...
 
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
 
Mini Project 1: Impedance Matching With A Single Stub Tuner
Mini Project 1:  Impedance Matching With A Single Stub TunerMini Project 1:  Impedance Matching With A Single Stub Tuner
Mini Project 1: Impedance Matching With A Single Stub Tuner
 

Recently uploaded

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 

Recently uploaded (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Mini Project 1 - 2-to-4 Decoder with Enable Input E and 4-to-2 Line Priority Encoder

  • 1. EEEC6420307 Digital Circuits and SystemDesign Faculty of Engineering and Computer Technology Laboratory Manual Lecturer: Ravandran Muttiah BEng (Hons) MSc MIET Year/Semester: Year 1 / Semester 2 Academic Session: 2021/2022 The information in this documentis important and should be noted by all students undertaking the Bachelor of Engineering (Honours) in Electrical and Electronic Engineering Approved by Coordinator: Endorsed By Dean: ------------------------------------------ __________________
  • 2. AIMST University Faculty of Engineering and Computer Technology BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 1 Mini Project 1 - 2-to-4 DecoderWith Enable Input E And 4-to-2 Line Priority Encoder Decoder An 𝑛 − to − 2𝑛 decoder is a multiple-output combinational logic network with 𝑛 input lines and 2𝑛 output signals, as illustrated in figure 1. For each possible input condition, one and only one output signal will be at logic 1. Therefore, we may consider the 𝑛 − to − 2𝑛 decoder as imply a minterm generator, with each output corresponding to exactly one min-term. Decoders are important tools in the logic designer’s repertoire. They are used for such things as interrogating memory in order to select a particular word from the many that are available, code conversion (for example, binary to decimal), and routing of data. Figure 1: 𝑛 − to − 2𝑛 decoder module. Decoder Circuit Structures The logic circuit of a 2-bit parallel decoder is shown in figure 2. In general, this decoder is very simple, but also expensive. As can be seen from the figure, an input combination or vector of 𝐵𝐴 = 00 selects the 𝑚0 output line, 𝐵𝐴 = 01 selects the 𝑚1 output line, and so on. 𝑚0 = 𝐵 ̅𝐴̅ 𝑚1 = 𝐵 ̅𝐴 𝑚2 = 𝐵𝐴̅ 𝑚3 = 𝐵𝐴 (1) The AND gate realisations of the 𝑛 − to − 2𝑛 decoder shown in figure 2 there is only a single level of logic and that one 𝑛 − input AND gate is required for each of the 2𝑛 output lines. However, a problem is soon encountered in this configuration as 𝑛 becomes 𝑥0 𝑥𝑛−1 𝑦0 𝑦1 𝑦2𝑛 −1 ⋮ ⋮ LSB MSB 𝑛 − to − 2𝑛 Decoder 𝑥1
  • 3. AIMST University Faculty of Engineering and Computer Technology BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 2 large because the number of inputs to the AND gates (the fan-in) exceeds practical limits (five or six). Then two-input AND gates are used to combine these signals to form the 2𝑛 output lines for the total decoder network. Figure 2: Two-bit parallel decoder circuit structure (active-high outputs). Enable Control Inputs Decoders often include one or more enable inputs, as shown in figure 3, which can be used to either inhibit (disable) the designated function or allow (enable) it to be performed. The decoding function of a decoder is inhibited by forcing all its outputs to the inactive state. For example, output 𝑦0 of the 2 − to − 4 decoder in figure 3 is given by 𝑦0 = 𝑥̅1𝑥̅0𝐸 = 𝑚0𝐸. In general, 𝑦𝑘 = 𝑚𝑘𝐸 (2) When 𝐸 = 0, all outputs are forced to 0, whereas for 𝐸 = 1, each output 𝑦𝑘 is equal to 𝑚𝑘. Figure 3: 2 − to − 4 decoder with enable input 𝐸. 𝑚0 LSB 𝐴 MSB 𝐵 𝑚1 𝑚2 𝑚3 𝑦0 𝑦1 𝑦2 𝑦3 𝑋0 𝑋1 𝐸 𝑦0 𝑦1 𝑦2 𝑦3 𝑥0 𝑥1 𝑥2
  • 4. AIMST University Faculty of Engineering and Computer Technology BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 3 Encoders An encoder is a combinational logic module that assigns a unique output code (a binary number) for each input signal applied to the device; as such, it is the opposite of a decoder. If an encoder module has 𝑛 inputs, the number of outputs 𝑠 must satisfy the expression, 2𝑠 ≥ 𝑛 (3) or 𝑠 ≥ log2 𝑛 Encoder Circuit Structures - Encoders with Mutually Exclusive Inputs Consider first the case in which the inputs are mutually exclusive; that is, one (and only one) of the input lines is active at any particular instant in time; two or more input lines are never simultaneously active. In this case the input combinations that never occur may be used as don’t-care conditions. The design of an encoder for four input lines if one and only one is active at any moment in time is shown in figure 4. Figure 4: 4 − to − 2 line encoder. 𝑋0 𝑋3 𝐴0 𝑋1 𝑋2 𝐴1 4 − to − 2 Encoder
  • 5. AIMST University Faculty of Engineering and Computer Technology BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 4 Table 1: Truth table Priority Encoders Another type of encoder is the priority encoder. The priority encoder allows multiple input lines to be active and sends out the binary value of the subscript of the input line with highest priority. To simplify the design, the highest priority is assigned to the highest subscript, the next highest priority to the second highest subscript, and so on. Consider the priority encoder of figure 5. The input lines are encoded, 𝐴1 𝐴0 𝑋0 → 0 0 𝑋1 → 0 1 𝑋2 → 1 0 𝑋3 → 1 1 If no input line is active, the priority encoder sends out (𝐴1𝐴0) = (00). If a single line is active, the encoder sends out the binary value of the subscript of the active line. If more than one input is active, the encoder sends out the binary value of the largest subscript of the active lines. Table 2 displays the truth table for the encoder. Note that the two additional output lines indicate that no input line is active (𝐸𝑂 = 1) and one or more inputs are active (𝐺𝑆 = 1). Figure 6 present the logic diagram of the function, which reduces to, 𝑋3 𝑋2 𝑋1 𝑋0 𝐴1 𝐴0 0 0 0 0 𝑑 𝑑 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1 1 𝑑 𝑑 0 1 0 0 1 0 0 1 0 1 𝑑 𝑑 0 1 1 0 𝑑 𝑑 0 1 1 1 𝑑 𝑑 1 0 0 0 1 1 1 0 0 1 𝑑 𝑑 1 0 1 0 𝑑 𝑑 1 0 1 1 𝑑 𝑑 1 1 0 0 𝑑 𝑑 1 1 0 1 𝑑 𝑑 1 1 1 0 𝑑 𝑑 1 1 1 1 𝑑 𝑑 Outputs Inputs
  • 6. AIMST University Faculty of Engineering and Computer Technology BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 5 𝐴1 = 𝑋2 + 𝑋3 𝐴0 = 𝑋3 + 𝑋1𝑋 ̅2 and 𝐸𝑂 = 𝐺𝑆 ̅̅̅̅ = 𝑋3 + 𝑋2 + 𝑋1 + 𝑋0 ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅ Figure 5: Functional diagram of 4 − to − 2 line priority encoder. Table 2: Truth table 𝑋0 𝑋3 𝐴0 𝑋1 𝑋2 𝐸𝑂 4 − to − 2 Priority Encoder 𝐴1 𝐺𝑆 𝑋3 𝑋2 𝑋1 𝑋0 𝐴1 𝐴0 𝐺𝑆 𝐸𝑂 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0 1 0 0 1 0 1 0 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 0 0 1 1 1 1 0 1 0 1 0 0 0 1 1 1 0 1 0 0 1 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 1 1 0 1 1 0 0 1 1 1 0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 Inputs Outputs
  • 7. AIMST University Faculty of Engineering and Computer Technology BEng (Hons) in Electrical and Electronic Engineering Digital Circuits and System Design 6 The two output functions 𝐴1 and 𝐴0 are independent of 𝑋0. Note that the priority encoder can realise the truth table of table 1. Figure 6: Logic diagram of 4 − to − 2 line priority encoder. Objectives The objective of this experimental project is to become acquainted with the design of decoder and an encoder. Demonstrate your ability to design and construct the decoder and encoder, and to view the function of the inputs and outputs respectively. Specification Design a 2 − to − 4 decoder with enable input 𝐸, and a 4 − to − 2 line priority encoder. Report Write a laboratory report on this project: (1) Explain in detail about the theory of 2 − to − 4 decoder with enable input 𝐸, and the 4 − to − 2 line priority encoder. (2) Discuss the method of productions and fabrications of decoder and encoder, and comment on the test results. (3) Prepare slides for presentation and demonstration of this project. 𝐴0 𝐴1 𝐸0 𝐸𝑆 𝑋1 𝑋 ̅2 𝑋3 𝑋0 𝑋2