Академический Документы
Профессиональный Документы
Культура Документы
1. INTRODUCTION
The design and implementation of FPGA based
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 the
requirements 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.
3. OPERATION OF ALU
There are two kinds of operation which an ALU can
perform first part deals with arithmetic computations and
is referred to as Arithmetic Unit. It is capable of addition,
subtraction, multiplication, division, increment and
decrement. The second part deals with the Gated results
in the shape of AND, OR, XOR, inverter, rotate, left shift
and right shift, which is referred to as Logic Unit. The
functions are controlled and executed by selecting
operation or control bits.
3.1 Software Approach
The VHDL software interface used in this design reduces
the complexity and also provides a graphic presentation
of the system. The key advantage of VHDL when used for
systems design is that it allows the behavior of the
Page 146
ALU Specifications:
OPCOD
E
0000
Table 1
OPERATION SPECIFICATIONS
A
0001
NOT a
0010
0011
NOT b
0100
a AND b
0101
a OR b
0110
a NAND b
0111
a NOR b
1000
a XOR b
1001
a+1
1010
b+1
1011
a+b
1100
a-1
1101
b-1
1110
a-b
1111
a XNOR b
Y is assigned the
value of a (input)
Y is assigned the
value of NOT a
Y is assigned the
value of b (input)
Y is assigned the
value of NOT b
Y is assigned the
value of a AND b
Y is assigned the
value of a OR b
Y is assigned the
value of a NAND b
Y is assigned the
value of a NOR b
Y is assigned the
value of a XOR b
Y is assigned the
value of increment a
Y is assigned the
value of increment
b
Y is assigned the
value of a + b
Y is assigned the
value of a -1
Y is assigned the
value b-1
Y is assigned the
value of a -b
Y is assigned the
value a XNOR b
5. SYNTHESIS RESULT
5.1 RTL VIEW
Fig.2
Page 147
Fig. 3
5.2 Technology View
Figure 6 [11]
Figure 4
6. SIMULATION
By behavioral simulation for a-b where a = 10 & b = 8:Y = a-b =2, gives following results:
Figure 7[11]
Figure 5
8. CONCLUSION
This study helped to understand the complete flow of
RTL design, starting from designing a top level RTL
module for 4-bit ALU using hardware description
language, VHDL. Verification of the designed RTL code
using simulation techniques, synthesis of RTL code to
obtain gate level netlist using Xilinx ISE tool and
Arithmetic Logic Unit was successfully designed and
implemented using Very High Speed Hardware
Descriptive Language and Xilinx Spatan-3E Field
Programmable Gate Array.
REFERENCES
[1] B.Stephen Brown, V.Zvonko, Fundamentals of
digital logic with VHDL Design2ndEdition,Mc Graw
Hill International Edition, 2005.
[2]Charles H.Roth, Jr., Digital System Design using
VHDL, PWS Publishing Company, 2006.
[3] Douglas L. Perry, VHDL, third edition, McGrawHill, pp. 60-63, 238, July 1999.
[4].Mark Zwolinski, Digital System Design with
VHDL, Prentice Hall, 2000.
[5] Pedroni, Digital Logic Design using VHDL.
[6] S.Kaliamurthy, R.Muralidharan, VHDL Design of
FPGA Arithmetic Processor International Conference
on Engineering and ICT, 2007.
[7] Digilent, Inc.., Spartan 3E Starter Board, Date
Accessed June 2000 http://www.digilentinc.com
[8] Fraunhofer IIS, From VHDL and Verilog to
System.www.iis.fraunhofer.de/bf/ic/icdds/arb_sp/vhdl.
jsp.
[9]Xilinx Technologies, Xilinx Data Sheet for
XC3S100E.http://direct.xilinx.com/bvdocs/publications
/ds312.pdf.
[10]http://www.forteds.com/behavioralsynthesis/index.
asp
[11]Prof. S. Kaliamurthy & Ms. U. Sowmmiya,
VHDL design of arithmetic processor ,Global
Journals Inc.(USA) , November 2011.
Authors
Kanika Kaur (Associate Professor,
KIIT,
Gurgaon)
received
B.Sc
(Electronics) Hons. Degree from Delhi
University in 1997 and M.Sc
(Electronics) Hons. Degree from Jamia
Millia Islamia University in 1999.She
received M.Tech degree from RTU in
2005 and presently pursuing Ph.D from the JJTU,
Rajasthan in the field of Low power VLSI designsubthreshold leakage reduction technique for CMOS.
Published more than 20 research papers in national,
international journal & conferences. She has also
Volume 1, Issue 2 July-August 2012
Page 149