Professional Documents
Culture Documents
Dokumen - Tips - 8 Bit Alu Report
Dokumen - Tips - 8 Bit Alu Report
ON
TOPIC
Bachelor of Technology
In
SESSION (2023-2024)
2
AKNOWLEDGEMENT
This is opportunity to express my heartfelt words for the people who were part of this
seminar in numerous ways, people who gave me unending support right from
beginning of the seminar.
I want to give sincere thanks to the Supervisor Dr. ……… for his valuable support.
I extend my thanks to Prof. Mithilesh Kumar, Head of the Department for his
Constant support.
I express my deep sense of gratitude to ‘Name of Project Coordinator’ for continuous
cooperation encouragement and esteemed guidance.
Yours Sincerely,
(Student Name)
Roll No.
3
UNIVERSITY DEPARTMENTS,
CERTIFICATE
This is to certify that the Minor Project Report entitled “Project Topic Name” has
been submitted by Mr./Ms. “Student name” in partial fulfillment of the requirement of
the degree of B.Tech in Electronics & Communication Engineering for the academic
Session 2023– 2024.
She has undergone the requisite work as prescribed by Rajasthan Technical University
Kota (Rajasthan).
(Name of Supervisor)
Asst. Professor
Department of ECE
Place:-
Date:-
4
ABSRACT
The aim of this paper is to design 8-bit ALU to perform seven arithmetic and five logical
operation using VHDL Xilinx Synthesis tool ISE 13.1 and implementing it on SPARTAN 3E
FPGA board to simulate and synthesize the design. The ALU consists of two input register
to hold two 8-bit inputs data during operation and one 8-bits output to hold the result of the
operation, 8-bit full-adder with B-input logic to perform 2’s complement for subtractions
and logic gates to perform logical operation.
5
INDEX
Page NO.
LIST OF FIGURES 4
LIST OF TABLES 4
CHAPTER -1 INTRODUCTION 5
CONCLUSION 17
REFERENCE 18
6
LIST OF FIGURES AND TABLES
Figures Page
1.1 Symbol of ALU 5
Tables Page
7
CHAPTER-1
INTRODUCTION
ALU is the integral part of the Central Processing Unit for which it performs
the arithmetic and logical operation. The ALU takes input as the data to be operated on
(called operands) and a code, from the control unit, indicating which operation to perform.
The main operation of any processor is mainly fetching, decoding and executing an
instructions. The fetching of instructions is perform by instruction fetch unit, the decoding of
instructions is perform by decode unit(or control unit) which generate appropriate control
signals for ALU to carry-out the operation of instruction. These control signals refer to as
selection lines for ALU to select particular operation.
8
1.2 BLOCK DIAGRAM OF ALU:
9
S1 S0 Y=s1B’ +s0B
0 0 0
0 1 B
1 0 B’
1 1 1
And Full-adder is used to get addition of two operand with input carry and 8-bit sum and 1-
bit carry.
Logical operations performed are AND, OR, XOR and NOT. 4 to1 MUX selects the
logic operations based on the select lines in the logic unit.
Both arithmetic and logical unit are performed the operation in parallel. Finally a
2 to1 MUX selects between arithmetic and logic unit. Zero flag is obtain by applying all the
lines of result to Nor gate. And Negative flag is obtain by taking the 7th bit of the result.
Inputs of ALU:
1. Two 8-bit Outputs of ALU: 1. One 8-bit result operand,
Operands A &B
2. Z (Zero), Cout (carry-
out),N(negative flags).
2. Operation
Selection lines :
S0, S1
: Cin (carry-in)
3. Result
selection line: M
= 1 : Arithmetic
result
= 0 : Logical
result
10
1.6 FUNCTION TABLE OF ALU:
11
CHAPTER-2
Xilinx ISE is a software tool produced by Xilinx for synthesis and analysis of
HDL designs, which enables the developer to synthesize ("compile") their designs, perform
timing analysis, examine RTL diagrams, simulate a design's reaction to different stimuli, and
ISE Design Suite -The ISE Design Suite: Embedded Edition includes all the
tools and capabilities of the Logic Edition with the added capabilities of the Embedded
Development Kit (EDK). This edition provides an integrated development environment of
embedded processing tools, processor cores, IP, software libraries, and design generators,
including the following:
Xilinx Platform Studio (XPS) - provides an integrated environment for creating software and
hardware specification flows for embedded processor systems based on MicroBlaze and
PowerPC processors. It also provides an editor and a project management interface to create
and edit source code. XPS allows you to customize tool flow configuration options and
provides a graphical system editor for connection of processors, peripherals, and buses.
Hardware Platform Generation Tool (PlatGen) - customizes and generates the embedded
processor system through the use of hardware netlist. Hardware Description Language
(HDL)
files. By default, PlatGen synthesizes each processor IP core instance found in your
embedded hardware design using Xilinx Synthesis Technology (XST). PlatGen also
generates the system-level HDL file that interconnects all the IP cores, which can then be
synthesized as part of the overall design flow.
12
Simulation Model Generation Tool (SimGen) - generates simulation models of the
embedded hardware system, based either on your original, behavioral embedded hardware
design or your finished, timing-accurate device implementation. SimGen can also
incorporate your embedded software to run on the model.
VHDL is commonly used to write text models that describe a logic circuit. Such
a model is processed by a synthesis program, only if it is part of the logic design. A
simulation program is used to test the logic design using simulation models to represent the
logic circuits that interface to the design. This collection of simulation models is commonly
called a test bench.
The key advantage of VHDL, when used for systems design, is that it allows the
behavior of the required system to be described (modeled) and verified (simulated) before
synthesis tools translate the design into real hardware (gates and wires).
used in many other projects. However, many formational and functional block parameters
can be tuned (capacity parameters, memory size, element base, block composition
and
interconnection structure).
In this paper, we have simulated and synthesized the various parameters of ALUs
by using VHDL on Xilinx ISE 13.1 and SPARTAN 3E FPGA board.
13
14
15
16
17
18
19
20