Professional Documents
Culture Documents
Arshabha Arya
B.Tech Student Electronics & Comm Engg
GLA University Technical Institute
Mathura, India
Abstract-This paper primarily deals with the construction of arithmetic Logic Unit (ALU)
using Hardware Description Language (HDL). The design was implemented using VHDL Xilinx
Synthesis tool ISE 14.2 and targeted for Spartan device. ALU was designed to perform
arithmetic operations such as addition and subtraction using 8-bit fast adder, logical operations
such as AND, OR, XOR and NOT operations, 1’s and 2’s complement operations and compare.
ALU consist of two input registers to hold the data during operation, one output register to hold
the result of operation, 8-bit fast adder with 2’s complement circuit to perform subtraction and
logic gates to perform logical operation. The maximum propagation delay is 13.588ns and
power dissipation is 38mW. The ALU was designed for controller used in network interface
card.
INTRODUCTION
An arithmetic logic unit (ALU) is a Multi operation combinational-logic digital function. It can
perform a set of basic arithmetic operations and a set of logic operations. The ALU has a number
of selection lines to select a particular operation in the unit. The selection lines are decoded
within the ALU so that K selection variables can specify up to 2^k distinct operations. The
design and implementation Arithmetic Logic Unit is of core significance in digital technologies
as it is an integral part of central processing unit. ALU is capable of calculating the results of a
wide variety of basic arithmetical and logical computations. The ALU takes, as input, the data to
be operated on (called operands) and a code, from the control unit, indicating which operation to
perform. The output is the result of the computation. Designed ALU will perform the following
operations:
• Arithmetic operations
• Bitwise logic operations
All the modules described in the design are coded using VHDL which is a very useful tool with
its degree of concurrency to cope with the parallelism of digital hardware. The top level module
connects all the stages into a higher level at Register Transfer Logic (RTL). RTL describes there
quirements of data and control units in terms of digital logic to execute the desired operations.
Each instruction from the architecture's instruction set is defined in detail in the RTL Once
identifying the individual approaches for input, output and other modules, the VHDL
descriptions are run through a VHDL simulator and then is downloaded the design on FPGA
board for verification.
The features of controller used in the network interface card are as follows.
In this paper VHDL implementation of 8-bit ALU is presented which performs operations for
controller in network interface card. Paper is organized as follows section II discusses the design
of ALU results are presented section III and concluded.
TABLE I
SELECT LINES
000 Addition
001 Subtraction
010 AND
011 OR
100 NOT
101 XOR
111 Compare
III. RESULT
VHDL implementation of the ALU was done using Xilinx Synthesis tool 14.2 and targeted for
Spartan device. Detail synthesis report is presented in table II. Fig. 2 shows the simulation
results of ALU.
TABLE II
SYNTHESIS REPORT
Nos Blocks Utilized
1 Registers 4
3-bit registers 1
8-bit registers 3
2 Latches 3
3 Comparator 3
5 Flip Flops 27
6 IOs 33
IV. Applications
The application of ALU are present in our daily life including computer, calculator and video
camera.
Since ALU is the main part of the CPU, we can design the CPU for the system. General
decoding problems will be solved for the system by using this design. Since ALU has huge
applications we can develop microprocessors and microcontrollers.
V. CONCLUSIONS