Code Monkey home page Code Monkey logo

encoder8to3dataflow's Introduction

NAME:MOHAMEDAAKIFASRAR S

REG NO:212223240088

ENCODER 8TO3 DATAFLOW Modelling

AIM:

To implement Encoder 8 To 3 in Dataflow Modelling using verilog and validating their functionality using their functional tables

SOFTWARE REQUIRED: Quartus prime

THEORY

Encoder 8 To 3

The 8 to 3 line Encoder is also known as Octal to Binary Encoder. In 8 to 3 line encoder, there is a total of eight inputs, i.e., D0, D1, D2, D3, D4, D5, D6, and D7 and three outputs, i.e., A0, A1, and A2. In 8-input lines, one input-line is set to true at a time to get the respective binary code in the output side. Below are the block diagram and the truth table of the 8 to 3 line encoder.

image

Figure 01 Block Diagram of Encoder 8 * 3

Truth Table

image

The logical expression of the term A0, A1, and A2 are as follows:

A0 = D1 + D3 + D5 + D7

A1 = D2 + D3 + D6 + D7

A2 = D4 + D5 + D6 + D7

Logical circuit of the above expressions is given below:

image

Figure 02 Encoder 8 * 3

Procedure

STEP-1 Define Inputs and Outputs

STEP-2 Understand the Encoder Functionality

STEP-3 Design the Functional Table

STEP-4 Write Verilog Code

STEP-5 Verify Verilog Code

STEP-6 Synthesize the Design

STEP-7 Implement in FPGA

STEP-8 Verify Functionality on FPGA

PROGRAM

/* Program for Encoder 8 To 3 in Dataflow Modelling and verify its truth table in quartus using Verilog programming.

Developed by: RegisterNumber:212223240088

module Exp_05(a0, a1,a2, d0,d1,d
input d0,d1, d2, d3,d4, d5, d6,d7;
output a0, a1,a2;
assign a0=d1 | d3|d5|d7;
assign a1=d2|d3|d6| d7 ;
assign a2=d4 | d5 | d6 | d7 ;
endmodule

RTL LOGIC FOR ENCODER 8 TO 3 IN DATAFLOW MODELLING: RTL 2

TIMING DIGRAMS FOR Encoder 8 To 3 in Dataflow Modelling: TIMEFLOW2

RESULT:

Thus the given experiment was completed successfully.

encoder8to3dataflow's People

Contributors

mohamedaakifasrar avatar naavaneetha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.