Anda di halaman 1dari 10

Designing and Simulation of ALU using VHDL

Project by Devang R. Maniar (051007001) Adarsh Krishnan your name (051007003)

Contents.
What is 8051 Block Diagram What is ALU VHDL Designing ALU on VHDL

your name

What is 8051
The Intel 8051 is a Harvard architecture single chip microcontroller (C) which was developed by Intel in 1980 for use in embedded systems. It was extremely popular in the 1980s and early 1990s, but today it has largely been superseded by a vast range of enhanced devices with 8051compatible processor cores that are manufactured by more than 20 independent manufacturers!!

your name

Block Diagram

your name

What is ALU
An ALU is a combinational circuit that performs arithmetic and logic operations on a pair of operands. The operations performed by an ALU are controlled by a set of function-select inputs.
Logical Operations: AND OR NOT XOR Rotate Left With Carry Without Carry Rotate Right With Carry Without Carry Arithmetic Operations: Addition Signed Unsigned Subtraction Multiplication Division Decimal Adjust (DA)

your name

VHDL
VHDL or VHSIC Hardware Description Language, is commonly used as a design-entry language for Field-Programmable Gate Arrays (FPGAs) and Application-Specific Integrated Circuits (ASIC) in electronic design automation of digital circuits. VHDL when used for systems design, it allows the behaviour of the required system to be described (modelled) and verified (simulated) before synthesis tools translate the design into real hardware (gates and wires). VHDL allows the description of a concurrent system (many parts, each with its own sub-behaviour, working together at the same time).

your name

VHDL Contd
VHDL can be written using either structural or behavioral descriptions. Once written, VHDL code can then be run through sophisticated CAD tools such as a logic synthesis tool that will generate the actual lowlevel gates. Later these designs can be transferred to FPGA where they can be checked for proper working. At RT-level, hardware description language (HDL) simulators execute RT-Level descriptions and provide output waveforms for given input waveforms. At the behavioral level, HDL simulators simulate sequential programs, and cosimulators connect HDL and generalpurpose processor simulators to enable hardware/software coverification.

your name

Designing ALU on VHDL


We would be designing an ALU which resembles 8051s ALU. It would perform all basic functions of 8051. We would have 8 bit arithmetic and logic operations. The simulation model will be based on behavioral approach. We would be looking at the actual operation of basic logical & arthematic functions. It would also be able to handle Signed & Unsigned inputs.

your name

After ALU
After succesfull implementation of ALU we would be looking ahead to simulate RAM, ROM, timers, counters and incorporate it with the simulated ALU. We would also add more instructions as to fetch, decode & perform operations from RAM/ROM.

your name

Thank You.

your name