Git Product home page Git Product logo

alu's Introduction

ALU

  • ALU implementation in VHDL.
  • The purpose of this repository is to perform logical operations such as addition and subtraction in the arithmetic unit and OR, AND, XOR in the logic unit. For this, two different encodings were made using the VHDL language in the Vivado program. One is implemented using component and accordingly the RTL schematics are also different. The same results were observed in the simulation.
  • Vivado 2018.02 version was used in this project.
  • You can read this file rapor.pdf for detailed information about the project.

ALU Function Table

func_tab

1. ALU BLOCK DIAGRAM CREATED WITH THREE COMPONENT BLOCKS

ALU

1.1 RTL Schematic

rtl

1.2 Arithmetic Simulation Results

In the case of sel = “7”, that is, when sel = “0111”, y is equals a+b+cin.

sel7

In case sel= “1”, that is, when sel= “0001”, y is equals a+1. This was observed in the first 200ns. In the case of sel = "2", that is, when sel = "0010", y is equal to a-1. This situation was observed between 200ns-400ns.

sel1

1.3 Logic Simulation Results

In the case of sel= “10”, that is, when sel= “1010”, y is equal to "a AND b".

log1

In the case of sel = “11” that is when sel = “1011” yis equal to "a OR b".

log2

2.COMPONENT-FREE ALU DESIGN

2.1 RTL Schematic

rtl2

alu's People

Contributors

suhedaras 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.