8 to 3-bit Priority Encoder Circuit Simulation Project, Schemes and Mind Maps of Digital Electronics

lecture notes by nimi bhai 2021

Typology: Schemes and Mind Maps

2021/2022

Uploaded on 05/13/2023

admission-solution-official
admission-solution-official 🇵🇰

1 document

1 / 12

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Circuit Simulation Project
8 to 3 bit Priority Encoder
Submitted by: Mohammad Khalique Khan
Aliah University, Kolkata India
Introduction
An encoder is a kind of combinational circuit which converts multiple input
signal to a coded output signal in such a way that the output signal reassembles
complete information which is fed at the input of the encoder. The encoder
consists of ‘2n’ bits of input lines and ‘n’ bits output lines. The circuit of an
encoder is based on the operation of Boolean expressions.
8 to 3-bit priority encoder is an encoder that consists of 8 input lines and 3
output lines. It can also be called an Octal to a binary encoder. Each input line
has a base value of 8 (octal) and each output has a base value of 2 (binary).
The truth table below gives us an idea of the operation of the 8 to 3-bit Priority
Encoder.
Inputs
Outputs
D7
D6
D5
D4
D3
D2
D1
Q2
Q1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
X
0
1
0
0
0
0
1
X
X
0
1
0
0
0
1
X
X
X
1
0
0
0
1
X
X
X
X
1
0
0
1
X
X
X
X
X
1
1
1
X
X
X
X
X
X
1
1
Logical Expression for Output lines
Q0 = D1 + D3 + D5 + D7
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download 8 to 3-bit Priority Encoder Circuit Simulation Project and more Schemes and Mind Maps Digital Electronics in PDF only on Docsity!

Circuit Simulation Project

8 to 3 bit Priority Encoder

Submitted by: Mohammad Khalique Khan

Aliah University, Kolkata – India

Introduction

An encoder is a kind of combinational circuit which converts multiple input signal to a coded output signal in such a way that the output signal reassembles complete information which is fed at the input of the encoder. The encoder consists of ‘2n’ bits of input lines and ‘n’ bits output lines. The circuit of an encoder is based on the operation of Boolean expressions.

8 to 3-bit priority encoder is an encoder that consists of 8 input lines and 3 output lines. It can also be called an Octal to a binary encoder. Each input line has a base value of 8 (octal) and each output has a base value of 2 (binary).

The truth table below gives us an idea of the operation of the 8 to 3-bit Priority Encoder.

Inputs Outputs D7 D6 D5 D4 D3 D2 D1 D0 Q2 Q1 Q 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 X 0 0 1 0 0 0 0 0 1 X X 0 1 0 0 0 0 0 1 X X X 0 1 1 0 0 0 1 X X X X 1 0 0 0 0 1 X X X X X 1 0 1 0 1 X X X X X X 1 1 0 1 X X X X X X X 1 1 1

Logical Expression for Output lines

 Q0 = D1 + D3 + D5 + D

 Q1 = D2 + D3 + D6 + D

 Q2 = D4 + D5 + D6 + D

Figure 1. Basic Structural Diagram

The above Fig.1 shows the rough circuitry of the 8 to 3-bit Priority Encoder. In this project, basic circuitry of 8 to 3 priority encoder is being used, followed by DACs and ADCs for the simulation purpose. There are three 4 input OR gates which perform the OR operation, as mentioned above in the logical expressions.

Schematic Diagram

Figure 2. Final Schematic diagram

Results

Ngspice plots:

Figure 6. Ngspice waveform of all 8 input pulses

Figure 7. Ngspice waveform of all 3 outputs

Ngspice plots for individual output lines:

Figure 8 .Output (Q0)

Figure 11. Q0 = D1 + D3 + D5 + D

Figure 12. Python plot of Q0 (D1, D3, D5, D7)

Figure 14. Q1 = D2 + D3 + D6 + D

Figure 13. Python plot of Q1 (D2, D3, D6, D7)

Ngspice waveforms of all Inputs:

Python plots of all Inputs: