SlideShare a Scribd company logo
1 of 5
Download to read offline
International Journal of Trend in Scientific Research and Development (IJTSRD)
Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470
@ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1789
Implementation of 32-Bit RISC
Processor using Reversible Gates
Jyoti Choudhary1, Mahesh Kumar Sharma2
1PG Scholar, 2Assistant Professor
1,2Rajasthan College of Engineering for Women, Jaipur, Rajasthan, India
How to cite this paper: Jyoti Choudhary |
Mahesh Kumar Sharma "Implementation
of 32-Bit RISC Processor using Reversible
Gates" Published in
International
Journal of Trend in
Scientific Research
and Development
(ijtsrd), ISSN: 2456-
6470, Volume-3 |
Issue-5, August
2019, pp.1789-1793,
https://doi.org/10.31142/ijtsrd26709
Copyright © 2019 by author(s) and
International Journal ofTrend inScientific
Research and Development Journal. This
is an Open Access article distributed
under the terms of
the Creative
Commons Attribution
License (CC BY 4.0)
(http://creativecommons.org/licenses/by
/4.0)
ABSTRACT
Reversible logic is one of the emerging technologies having promising
applications in quantum computing. The aim of this project is to design the
schematic and simulation for a 32-bit RISC processor using reversible logic
peres gate. Beside the functional development, by optimizing the speed of our
processor in every block which is inside that,andtominimizetheoveralldelay
conventional gates are replaced with reversible gates. This reversible gates
which are applicable in Nano technology, Quantum computing, Low power
CMOS, Optical computing. This RISC embodies 15 basic instructions involving
Arithmetic, Logical, Data Transfer and control instructions. To implement
these instructions the design incorporates various design blocks like Control
Unit (CU), Arithmetic and Logic Unit (ALU), Accumulator, Program Counter
(PC), Instruction Register (IR), Memory and additional logic. Design is
implemented and verified in VHDL in Xilinx 14.3.
KEYWORDS: RISC, Arithmetic Logic Unit, CISC, Reversible Gates
I. INTRODUCTION
In VLSI which is the growing technology in our day to day life. Everyday new
emerging technologies are introducing in market. So the technology
development is the most important in our current life. In past the computer
occupied the entire room. Gradually the size has reduced andtoday cometo the
level of hand based equipment’s. At first in any device is madebytheICwhich is
based on the conventional gates. In VLSI it having the ultimate goal is less area,
high speed, and low power.
In those technologies the CMOS gates are better than the
bipolar gates. But the CMOS gates are having its own
limitations for that reason wearemoving to reversiblegates.
Reversible logic has received great attention in the recent
years due to their ability to reduce the power Dissipation
which is the main requirement in low power VLSI design. It
has wide applications in low Power CMOS and Optical
information processing, DNA computing, Quantum
computation and nanotechnology. High-performance chips
releasinglargeamountsofheatimposepracticallimitationon
how far can we improve the performance of the system.
Reversible circuits that conserve information, by un
computing bits instead of throwing them away, will soon
offer the only physically possible way to keep improving
performance. Since the development of the stored-program
computer, there has been remarkablyfewtrueinnovationsin
the areas of computer organization and architecture. In this
list, one of the most interesting and potentially one of the
most important innovations is Reduced Instruction Set
Computer (RISC) architecture. The RISC architecture is a
dramatic departure from the historical trend in CPU
architecture and challenges the conventional wisdom
expressed in words and deeds by most computer architects.
The aim of the project is to:
 Design the architecture of simple 32- Bit RISC processor.
 Implementation of individual modules of the RISC
processor using VHDL.
 Integration of individual modules.
 Their Simulation and Synthesis.
A CISC system offers a largemenu of features whichimpliesa
larger and more complicated decoding subsystem and
complex logic which is not in the caseofRISCProcessors.One
of the ways to increase the speed of execution on any
computer is to implement Pipelining which is difficult to
implement in CISC systems.ButinRISCprocessorsPipelining
can be efficiently implemented. Due to this opposition to the
traditional CISC design, in early eightiesthereemergedanew
trend of computer design, i.e. RISC, which became popular
thereafter. Several advantages of RISC processors are:
 VLSI realization
 Increase in computing speed
 Less time to complete the design
 Reduction in overall design cost
 High Level Language (HLL) support
RISC processors are primarily used in work stations and
personal computers. RISC processors with integrated
graphics and display systems can be used in car navigation
systems, driver information systems etc. It is also applicable
in high speed data transmission and real time controlling
applications.
II. REVERSIBLE GATES
A function is reversible if each input vector produces a
unique output vector. Reversible logic is of growing
importance to many future computer technologies. It is not
possible to realize quantum computing without
implementation of reversible logic. The main purposes of
IJTSRD26709
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1790
designing reversible logic are to decrease quantum cost,
depth of the circuits and the number of garbageoutputs. The
reversible circuits form the basic building block of quantum
computers as all quantumoperations are reversible.Thetwo
main constraints of reversible logic circuits are:-
 Fan-out not possible.
 Feedback or loops not allowed.
A reversible logic circuit should have the following salient
features:
 Use minimum number of reversiblegates.
 Use minimum number of garbageoutputs.
 Use minimum number constant inputs.
A. NOT Gate
The simplest Reversible gate is NOT gate and is a 1*1 gate.
The Reversible 1*1 gate is NOT Gate with zero Quantum Cost
is as shown in the Figure 1.1. If input is A then output is P=A
Fig.1. NOT Gate
B. Feynman Gate (FG)
Feynman gate is a 2*2 one through reversible gate as shown
in figure2. The input vector is I(A, B) and the output vector is
O(P, Q). The outputs are defined by P=A, Q=A^B. It is the
universal reversible gate.
Fig.2. Feynman Gate
C. Peres Gate (PG)
It is a basic reversiblegate which has 3-inputs and 3- outputs
having inputs (A, B, C) and the mapped outputs(P=A,Q=A^B,
R= (A.B)^C).This PG is depicted in Figure.3
Fig.3. Peres Gate
III. PROPOSED RISC PROCESSOR
The design of 32-bit RISC processor incorporates various
design blocks like Arithmetic Logic Unit(ALU),Accumulator,
Program Counter (PC), Instruction Register (IR), Memory,
Control Unit (CU), and additional logic.
The design incorporates some the following issues.
 It handles 32 bit data ,28 bit address
 Uses fixed instruction format of length 32 bit.
 Size of opcode is of 4 bit, handling 15 instructions.
 Has 256 memory locations
 32-bit registers (IR,ACC)
 Implements 2-staged pipelining i.e overlaps offetchand
execute cycles.
 Has two addressing modes ,Register addressing and
memory addressing modes
 No interrupts and No conditional branches
 Data that it handles is unsigned integer type.
The next sections of this chapter presents the schematic
diagrams of individualmodules,explanationoftheirfunction,
flow chart to implementthefunction,VHDLdescriptionofthe
individual modules. In the last section the top order module
Block diagram, functioning, VHDL description of the top
module are given.
Fig.4. Proposed RISC Processor
A. ALU
The ALU performs both arithmetic and logical operations
and as well as control of transfer instructions. It takes data
and acc as inputs to generate outputaccordingtotheopcode.
An execlk is given as input for synchronization and the
output is available at positive edge of the execlk. It performs
arithmetic and logic instructions directly and control of
transfer instructions are performed with the help of control
and logic decoder. The arithmetic-logic unit (ALU) performs
all arithmetic operations (addition, Subtraction,
multiplication, and division) and logic operations. Logic
operations test various conditions encountered during
processing and allow for different actions to be taken based
on the results.
Fig.5. Block Diagram of ALU
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1791
The data required to perform the arithmetic and logical
functions are inputs from the designated CPU registers and
operands. The ALU relies on basic items to perform its
operations. These include number systems, data routing
circuits (adders/subtracters), timing,instructions,operands,
and registers. Figureshowsarepresentativeblockdiagramof
an ALU of a microcomputer.
B. ACCUMULATOR
Fig.6. Block Diagram of an Accumulator
The result of an Alu operation is always stored in
accumulator at some specifiedtimebasedonthecontrollogic
instruction and also theexeclk. This output is againfedtoAlu
as input. If Reset =0, the output of accumulator is cleared to
zero. When reset is high and load accumulator signal is set
high, the output of the ALU is loaded in to the accumulator at
the neg.edge of the execlock.
C. Buffer
Used for writing data in to memory. When it is required to
write data in to the memory, then necessary control signals
are generated at the buffer. Buffer is used for achieving bi-
directional operation of the data bus.
Fig.7. Block Diagram of Buffer
D. Memory
Fig.8. Memory Unit
TABLE I Operation of Memory Unit
TABLE II Functioning of Memory
E. Multiplexer
Multiplexer providesmemoryaccess toeitherIR(instruction
register) or PC (program counter) based on Fetch signal.
Memory has both data and instructions .In order to access
both data and instructions through a single address port a
multiplexer is needed. It selects address according to the
fetch signal. If the fetch signal is high pcout is selected and
irout is selected when fetch signal is low.
Fig.9. Multiplexer
F. Program Counter
Fig.10. Block Diagram Counter of Program Counter
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1792
The program counter (PC) contains the address of the next
instruction. The CPU fetches an instruction from memory,
executes itand increments thecontent of PC.Thusinthenext
instruction cycle, it will fetch the next instruction of the
program pointed out by the program counter. The
instructions are executed sequentially unless an instruction
changes the content of program counter.
G. Instruction Register
Instruction register is a 32-bit register which gets loaded
with data from the memory. When LdIr signal is high, the
data bus contents get loadedintotheInstructionregister.The
4-MSB’s of this loaded data [31:28] are the OpCode of the
Instruction and the remaining bits [27:0]arethe addressofa
memory location to fetch the subsequent data. On the falling
edge of the asynchronous signal Rst the IR gets cleared
irrespective of any condition. Outputs of IR module are IrOut
(lower 28-bits)and OpCode(upper4-bits)ofthedatafetched
from the memory.
Fig.11. Block Diagram of Instruction Register
H. Control Unit
Fig.12. Block Diagram of an Control Unit
The control logic generates all the necessary control signals
required for satisfactory operation of the CPU. The control
signals are load accumulator, load instruction register,
increment program counter, load programcounter, memory
read, memory write. When LdAcc issethigh,theoutputofthe
ALU is loaded into the accumulator. When Ldpc is set high
program counter is loaded with the address from where the
next instruction is to be fetched. When Ldir is set high the
instruction register is loaded with theinstructionthatistobe
executed. If increment program counter signal is set high,
program counter is incremented by onetothepreviousvalue
.If write signal is set high and read low then the data bus is
being written on the address of the memory location
indicated by the program counter .If read signal is high and
write low this is memory read operation and the data at the
memory address indicated is placed on the data bus.
IV. RESULTS
The simulation and synthesis result for code for 32-bit- RISC
design written in VHDL and verified in Xilinx is shown in
below figures
Synthesis Results
Fig.13. Block Diagram
Fig.14. RTL Schematic Diagram
Fig.15. Technology Schematic
V. SIMULATION WAVEFORMS
Fig.16. Addition
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1793
Fig.17. Increment
Fig.18. Decrement
VI. CONCLUSION
To this paper we design a processor ( RISC) with using the
reversible logic gates. In that processor it can hold the many
logic blocks with itself. In those blocks we took the main
logic block which is ALU block, and design that block with
using the reversible gates. The different modules of 32- bit
RISC processor wereidentified and thearchitecturehas been
designed. The VHDL code for these blocks were written and
were implemented with the aid of XILINX software. This
code was compiled and then simulation was carried out.
Analysis and Synthesis reports of various modules were
observed. The results obtained were found to agreewiththe
expected results. Finally the individual modules were
integrated. This top order module was compiled and then
simulated.RTL views of the individual modules were also
observed after simulation and synthesis. The further scope
of this project is that the design can be verified for timing
functionality and can be implemented into FPGA chips.
Additional features like interrupt processing, instructions
employing conditional branches, more registers can be
included in the RISC processor design aspects. The CMOS
logic for the above design can be implemented, synthesized
and simulated using VLSI software tools like Tanner Tools
software. There may be a chance of design the chip for this
RTL using TSMC also.
VII. REFERENCES
[1] R. Landauer, “Irreversibility and heat generation in the
computing process,” IBM J. Res. Dev., vol. 5,p.183,1961.
[2] V. V. Zhirnov, R. K. Cavin, J. A. Hutchby, and G. I.
Bourianoff, “Limits to binary logic switch scaling – a
gedanken model,” Proc. of the IEEE, vol. 91, no. 11, pp.
1934–1939, 2003.
[3] C. H. Bennett, “Logical reversibility of computation,”
IBM J. Res. Dev, vol. 17, no. 6, pp. 525–532, 1973.
[4] Y. syamala & A. V. N Tilak , “Reversible Arthematic logic
unit”, IEEE conference, Page no: 207-211, 2009
[5] D. Mandalidis, P. Kenterlis, J. Ellinas, “A computer
architectureeducationalsystem based on a 32-bitRISC
processor,” International Review on computers and
Software, pp. 114-119, 2008.
[6] Antonio H. Zavala, Jorge Avante R.,”RISC- Based
Architecture for computer Hardware Introduction”
[7] M. Jaumain, M. Osee, A. Richard, A. Vander Biest, P.
Mathys, “EducationalsimulationoftheRiSCprocessor,”
ICEE International Conference on Engineering
Education, 2007.
[8] David A. Patterson, John L. Hennessy, “Computer
Organization and Design - The Hardware/Software
Interface” Second Edition (1998) Morgan Kaufmann
Publisher, Inc.
[9] Xiao Li, Longwei Ji, Bo Shen, Wenhong Li,QianlingZhang,
“VLSI implementation of a High-performance 32-bit
RISC Microprocessor”, Communications, Circuits and
Systems and West Sino Expositions, IEEE 2002
International Conference on ,Volume 2, 2002 ,pp.1458
1461.
[10] Kusumlata Pisda, Deependra Pandey, “Realization &
Study of High Performance MIPS RISC Processor
Design Using VHDL”, InternationalJournalofEmerging
trends in Engineering and Development, Volume 7,
Issue 2, November 2012, pp. 134 – 139, ISSN: 2249 –
6149.
[11] Kirat Pal Singh, ShivaniParmar,“VHDLImplementation
of a MIPS – 32 bit Pipeline Processor”, International
Journal of Applied Engineering Research, Volume 7,
Issue 11, ISSN: 0973 – 4562.
[12] Samiappa Sakthikumaran, S. Salivahanan and V. S.
Kaanchana Bhaaskaran,“16-Bit RISC Processor Design
For Convolution Application”, IEEE International
Conference on Recent Trends In Information
Technology, June 2011, pp.394-397.
[13] Rupali S. Balpande and Rashmi S. Keote, “Design of
FPGA based Instruction Fetch & Decode Module of 32-
bit RISC (MIPS) Processor,International Conferenceon
Communication Systems and Network Technologies
pp. 409 –413.
[14] R. Uma, “Design and Performance Analysis of 8 – bit
RISC Processor using Xilinx Tool”,InternationalJournal
of Engineering Research and Applications, Volume 2,
Issue2, March – April 2012, pp. 053 – 058, ISSN: 2248–
9622.
[15] V. N. Sireesha and D. Hari Hara Santosh, “FPGA
Implementation of a MIPS RISC Processor”,
International Journal of Computer Technology and
Applications, Volume 3, Issue 3, pp. 1251 – 1253, ISSN:
2229 – 6093.
[16] M. Yugandhar and N. Suresh babu, “VLSI Design of
Reduced Instruction set Computer Processor Core
Using VHDL”, International Journal of Electronics,
Communication & Instrumentation Engineering
Research and Development (IJECIERD), Volume 2,
Issue 3, pp. 42 – 47, ISSN: 2249 – 684X.

More Related Content

What's hot

Design and implementation of low power
Design and implementation of low powerDesign and implementation of low power
Design and implementation of low power
Surendra Bommavarapu
 

What's hot (7)

Lecture VLSI
Lecture VLSILecture VLSI
Lecture VLSI
 
FPGA Based Digital Logic Circuits Operation for Beginners
FPGA Based Digital Logic Circuits Operation for BeginnersFPGA Based Digital Logic Circuits Operation for Beginners
FPGA Based Digital Logic Circuits Operation for Beginners
 
J010224750
J010224750J010224750
J010224750
 
Basic signal processing system design on fpga using lms based adaptive filter
Basic signal processing system design on fpga using lms based adaptive filterBasic signal processing system design on fpga using lms based adaptive filter
Basic signal processing system design on fpga using lms based adaptive filter
 
Design and implementation of low power
Design and implementation of low powerDesign and implementation of low power
Design and implementation of low power
 
Vlsi design
Vlsi designVlsi design
Vlsi design
 
An Optimized Implementation Of 64-Bit MAC Unit For DSP Applications Using SPST
An Optimized Implementation Of 64-Bit MAC Unit For DSP Applications Using SPSTAn Optimized Implementation Of 64-Bit MAC Unit For DSP Applications Using SPST
An Optimized Implementation Of 64-Bit MAC Unit For DSP Applications Using SPST
 

Similar to Implementation of 32 Bit RISC Processor using Reversible Gates

A 64-Bit RISC Processor Design and Implementation Using VHDL
A 64-Bit RISC Processor Design and Implementation Using VHDL A 64-Bit RISC Processor Design and Implementation Using VHDL
A 64-Bit RISC Processor Design and Implementation Using VHDL
Andrew Yoila
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD Editor
 
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdfDesign_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
ssuser1e1bab
 
An Area Efficient and High Speed Reversible Multiplier Using NS Gate
An Area Efficient and High Speed Reversible Multiplier Using NS GateAn Area Efficient and High Speed Reversible Multiplier Using NS Gate
An Area Efficient and High Speed Reversible Multiplier Using NS Gate
IJERA Editor
 
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Cemal Ardil
 

Similar to Implementation of 32 Bit RISC Processor using Reversible Gates (20)

A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORS
A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORSA REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORS
A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORS
 
Review paper on 32-BIT RISC processor with floating point arithmetic
Review paper on 32-BIT RISC processor with floating point arithmeticReview paper on 32-BIT RISC processor with floating point arithmetic
Review paper on 32-BIT RISC processor with floating point arithmetic
 
Hg3612911294
Hg3612911294Hg3612911294
Hg3612911294
 
IJCRT2006062.pdf
IJCRT2006062.pdfIJCRT2006062.pdf
IJCRT2006062.pdf
 
A novel reduced instruction set computer-communication processor design usin...
A novel reduced instruction set computer-communication  processor design usin...A novel reduced instruction set computer-communication  processor design usin...
A novel reduced instruction set computer-communication processor design usin...
 
Design and development of a 5-stage Pipelined RISC processor based on MIPS
Design and development of a 5-stage Pipelined RISC processor based on MIPSDesign and development of a 5-stage Pipelined RISC processor based on MIPS
Design and development of a 5-stage Pipelined RISC processor based on MIPS
 
A 64-Bit RISC Processor Design and Implementation Using VHDL
A 64-Bit RISC Processor Design and Implementation Using VHDL A 64-Bit RISC Processor Design and Implementation Using VHDL
A 64-Bit RISC Processor Design and Implementation Using VHDL
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design System
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design SystemIC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design System
IC Layout Design of 4-bit Magnitude Comparator using Electric VLSI Design System
 
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdfDesign_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
 
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGSA STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
 
Design of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applicationsDesign of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applications
 
IRJET - Design of RISC-V Bit Manipulation Instruction IP using Bluespec S...
IRJET -  	  Design of RISC-V Bit Manipulation Instruction IP using Bluespec S...IRJET -  	  Design of RISC-V Bit Manipulation Instruction IP using Bluespec S...
IRJET - Design of RISC-V Bit Manipulation Instruction IP using Bluespec S...
 
Low Power 16×16 Bit Multiplier Design using Dadda Algorithm
Low Power 16×16 Bit Multiplier Design using Dadda AlgorithmLow Power 16×16 Bit Multiplier Design using Dadda Algorithm
Low Power 16×16 Bit Multiplier Design using Dadda Algorithm
 
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOCDESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
 
An Area Efficient and High Speed Reversible Multiplier Using NS Gate
An Area Efficient and High Speed Reversible Multiplier Using NS GateAn Area Efficient and High Speed Reversible Multiplier Using NS Gate
An Area Efficient and High Speed Reversible Multiplier Using NS Gate
 
A044050107
A044050107A044050107
A044050107
 
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
 
Netlist Optimization for CMOS Place and Route in MICROWIND
Netlist Optimization for CMOS Place and Route in MICROWINDNetlist Optimization for CMOS Place and Route in MICROWIND
Netlist Optimization for CMOS Place and Route in MICROWIND
 
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
 

More from ijtsrd

‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation
ijtsrd
 
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and ProspectsDynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
ijtsrd
 
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
ijtsrd
 
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
ijtsrd
 
Problems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A StudyProblems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A Study
ijtsrd
 
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
ijtsrd
 
A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...
ijtsrd
 
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
ijtsrd
 
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
ijtsrd
 
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. SadikuSustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
ijtsrd
 
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
ijtsrd
 
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
ijtsrd
 
Activating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment MapActivating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment Map
ijtsrd
 
Educational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger SocietyEducational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger Society
ijtsrd
 
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
ijtsrd
 

More from ijtsrd (20)

‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation
 
Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...
 
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and ProspectsDynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
 
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
 
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
 
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
 
Problems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A StudyProblems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A Study
 
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
 
The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...
 
A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...
 
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
 
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
 
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. SadikuSustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
 
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
 
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
 
Activating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment MapActivating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment Map
 
Educational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger SocietyEducational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger Society
 
Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...
 
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
 
Streamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine LearningStreamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine Learning
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

Implementation of 32 Bit RISC Processor using Reversible Gates

  • 1. International Journal of Trend in Scientific Research and Development (IJTSRD) Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470 @ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1789 Implementation of 32-Bit RISC Processor using Reversible Gates Jyoti Choudhary1, Mahesh Kumar Sharma2 1PG Scholar, 2Assistant Professor 1,2Rajasthan College of Engineering for Women, Jaipur, Rajasthan, India How to cite this paper: Jyoti Choudhary | Mahesh Kumar Sharma "Implementation of 32-Bit RISC Processor using Reversible Gates" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456- 6470, Volume-3 | Issue-5, August 2019, pp.1789-1793, https://doi.org/10.31142/ijtsrd26709 Copyright © 2019 by author(s) and International Journal ofTrend inScientific Research and Development Journal. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0) (http://creativecommons.org/licenses/by /4.0) ABSTRACT Reversible logic is one of the emerging technologies having promising applications in quantum computing. The aim of this project is to design the schematic and simulation for a 32-bit RISC processor using reversible logic peres gate. Beside the functional development, by optimizing the speed of our processor in every block which is inside that,andtominimizetheoveralldelay conventional gates are replaced with reversible gates. This reversible gates which are applicable in Nano technology, Quantum computing, Low power CMOS, Optical computing. This RISC embodies 15 basic instructions involving Arithmetic, Logical, Data Transfer and control instructions. To implement these instructions the design incorporates various design blocks like Control Unit (CU), Arithmetic and Logic Unit (ALU), Accumulator, Program Counter (PC), Instruction Register (IR), Memory and additional logic. Design is implemented and verified in VHDL in Xilinx 14.3. KEYWORDS: RISC, Arithmetic Logic Unit, CISC, Reversible Gates I. INTRODUCTION In VLSI which is the growing technology in our day to day life. Everyday new emerging technologies are introducing in market. So the technology development is the most important in our current life. In past the computer occupied the entire room. Gradually the size has reduced andtoday cometo the level of hand based equipment’s. At first in any device is madebytheICwhich is based on the conventional gates. In VLSI it having the ultimate goal is less area, high speed, and low power. In those technologies the CMOS gates are better than the bipolar gates. But the CMOS gates are having its own limitations for that reason wearemoving to reversiblegates. Reversible logic has received great attention in the recent years due to their ability to reduce the power Dissipation which is the main requirement in low power VLSI design. It has wide applications in low Power CMOS and Optical information processing, DNA computing, Quantum computation and nanotechnology. High-performance chips releasinglargeamountsofheatimposepracticallimitationon how far can we improve the performance of the system. Reversible circuits that conserve information, by un computing bits instead of throwing them away, will soon offer the only physically possible way to keep improving performance. Since the development of the stored-program computer, there has been remarkablyfewtrueinnovationsin the areas of computer organization and architecture. In this list, one of the most interesting and potentially one of the most important innovations is Reduced Instruction Set Computer (RISC) architecture. The RISC architecture is a dramatic departure from the historical trend in CPU architecture and challenges the conventional wisdom expressed in words and deeds by most computer architects. The aim of the project is to:  Design the architecture of simple 32- Bit RISC processor.  Implementation of individual modules of the RISC processor using VHDL.  Integration of individual modules.  Their Simulation and Synthesis. A CISC system offers a largemenu of features whichimpliesa larger and more complicated decoding subsystem and complex logic which is not in the caseofRISCProcessors.One of the ways to increase the speed of execution on any computer is to implement Pipelining which is difficult to implement in CISC systems.ButinRISCprocessorsPipelining can be efficiently implemented. Due to this opposition to the traditional CISC design, in early eightiesthereemergedanew trend of computer design, i.e. RISC, which became popular thereafter. Several advantages of RISC processors are:  VLSI realization  Increase in computing speed  Less time to complete the design  Reduction in overall design cost  High Level Language (HLL) support RISC processors are primarily used in work stations and personal computers. RISC processors with integrated graphics and display systems can be used in car navigation systems, driver information systems etc. It is also applicable in high speed data transmission and real time controlling applications. II. REVERSIBLE GATES A function is reversible if each input vector produces a unique output vector. Reversible logic is of growing importance to many future computer technologies. It is not possible to realize quantum computing without implementation of reversible logic. The main purposes of IJTSRD26709
  • 2. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1790 designing reversible logic are to decrease quantum cost, depth of the circuits and the number of garbageoutputs. The reversible circuits form the basic building block of quantum computers as all quantumoperations are reversible.Thetwo main constraints of reversible logic circuits are:-  Fan-out not possible.  Feedback or loops not allowed. A reversible logic circuit should have the following salient features:  Use minimum number of reversiblegates.  Use minimum number of garbageoutputs.  Use minimum number constant inputs. A. NOT Gate The simplest Reversible gate is NOT gate and is a 1*1 gate. The Reversible 1*1 gate is NOT Gate with zero Quantum Cost is as shown in the Figure 1.1. If input is A then output is P=A Fig.1. NOT Gate B. Feynman Gate (FG) Feynman gate is a 2*2 one through reversible gate as shown in figure2. The input vector is I(A, B) and the output vector is O(P, Q). The outputs are defined by P=A, Q=A^B. It is the universal reversible gate. Fig.2. Feynman Gate C. Peres Gate (PG) It is a basic reversiblegate which has 3-inputs and 3- outputs having inputs (A, B, C) and the mapped outputs(P=A,Q=A^B, R= (A.B)^C).This PG is depicted in Figure.3 Fig.3. Peres Gate III. PROPOSED RISC PROCESSOR The design of 32-bit RISC processor incorporates various design blocks like Arithmetic Logic Unit(ALU),Accumulator, Program Counter (PC), Instruction Register (IR), Memory, Control Unit (CU), and additional logic. The design incorporates some the following issues.  It handles 32 bit data ,28 bit address  Uses fixed instruction format of length 32 bit.  Size of opcode is of 4 bit, handling 15 instructions.  Has 256 memory locations  32-bit registers (IR,ACC)  Implements 2-staged pipelining i.e overlaps offetchand execute cycles.  Has two addressing modes ,Register addressing and memory addressing modes  No interrupts and No conditional branches  Data that it handles is unsigned integer type. The next sections of this chapter presents the schematic diagrams of individualmodules,explanationoftheirfunction, flow chart to implementthefunction,VHDLdescriptionofthe individual modules. In the last section the top order module Block diagram, functioning, VHDL description of the top module are given. Fig.4. Proposed RISC Processor A. ALU The ALU performs both arithmetic and logical operations and as well as control of transfer instructions. It takes data and acc as inputs to generate outputaccordingtotheopcode. An execlk is given as input for synchronization and the output is available at positive edge of the execlk. It performs arithmetic and logic instructions directly and control of transfer instructions are performed with the help of control and logic decoder. The arithmetic-logic unit (ALU) performs all arithmetic operations (addition, Subtraction, multiplication, and division) and logic operations. Logic operations test various conditions encountered during processing and allow for different actions to be taken based on the results. Fig.5. Block Diagram of ALU
  • 3. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1791 The data required to perform the arithmetic and logical functions are inputs from the designated CPU registers and operands. The ALU relies on basic items to perform its operations. These include number systems, data routing circuits (adders/subtracters), timing,instructions,operands, and registers. Figureshowsarepresentativeblockdiagramof an ALU of a microcomputer. B. ACCUMULATOR Fig.6. Block Diagram of an Accumulator The result of an Alu operation is always stored in accumulator at some specifiedtimebasedonthecontrollogic instruction and also theexeclk. This output is againfedtoAlu as input. If Reset =0, the output of accumulator is cleared to zero. When reset is high and load accumulator signal is set high, the output of the ALU is loaded in to the accumulator at the neg.edge of the execlock. C. Buffer Used for writing data in to memory. When it is required to write data in to the memory, then necessary control signals are generated at the buffer. Buffer is used for achieving bi- directional operation of the data bus. Fig.7. Block Diagram of Buffer D. Memory Fig.8. Memory Unit TABLE I Operation of Memory Unit TABLE II Functioning of Memory E. Multiplexer Multiplexer providesmemoryaccess toeitherIR(instruction register) or PC (program counter) based on Fetch signal. Memory has both data and instructions .In order to access both data and instructions through a single address port a multiplexer is needed. It selects address according to the fetch signal. If the fetch signal is high pcout is selected and irout is selected when fetch signal is low. Fig.9. Multiplexer F. Program Counter Fig.10. Block Diagram Counter of Program Counter
  • 4. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1792 The program counter (PC) contains the address of the next instruction. The CPU fetches an instruction from memory, executes itand increments thecontent of PC.Thusinthenext instruction cycle, it will fetch the next instruction of the program pointed out by the program counter. The instructions are executed sequentially unless an instruction changes the content of program counter. G. Instruction Register Instruction register is a 32-bit register which gets loaded with data from the memory. When LdIr signal is high, the data bus contents get loadedintotheInstructionregister.The 4-MSB’s of this loaded data [31:28] are the OpCode of the Instruction and the remaining bits [27:0]arethe addressofa memory location to fetch the subsequent data. On the falling edge of the asynchronous signal Rst the IR gets cleared irrespective of any condition. Outputs of IR module are IrOut (lower 28-bits)and OpCode(upper4-bits)ofthedatafetched from the memory. Fig.11. Block Diagram of Instruction Register H. Control Unit Fig.12. Block Diagram of an Control Unit The control logic generates all the necessary control signals required for satisfactory operation of the CPU. The control signals are load accumulator, load instruction register, increment program counter, load programcounter, memory read, memory write. When LdAcc issethigh,theoutputofthe ALU is loaded into the accumulator. When Ldpc is set high program counter is loaded with the address from where the next instruction is to be fetched. When Ldir is set high the instruction register is loaded with theinstructionthatistobe executed. If increment program counter signal is set high, program counter is incremented by onetothepreviousvalue .If write signal is set high and read low then the data bus is being written on the address of the memory location indicated by the program counter .If read signal is high and write low this is memory read operation and the data at the memory address indicated is placed on the data bus. IV. RESULTS The simulation and synthesis result for code for 32-bit- RISC design written in VHDL and verified in Xilinx is shown in below figures Synthesis Results Fig.13. Block Diagram Fig.14. RTL Schematic Diagram Fig.15. Technology Schematic V. SIMULATION WAVEFORMS Fig.16. Addition
  • 5. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD26709 | Volume – 3 | Issue – 5 | July - August 2019 Page 1793 Fig.17. Increment Fig.18. Decrement VI. CONCLUSION To this paper we design a processor ( RISC) with using the reversible logic gates. In that processor it can hold the many logic blocks with itself. In those blocks we took the main logic block which is ALU block, and design that block with using the reversible gates. The different modules of 32- bit RISC processor wereidentified and thearchitecturehas been designed. The VHDL code for these blocks were written and were implemented with the aid of XILINX software. This code was compiled and then simulation was carried out. Analysis and Synthesis reports of various modules were observed. The results obtained were found to agreewiththe expected results. Finally the individual modules were integrated. This top order module was compiled and then simulated.RTL views of the individual modules were also observed after simulation and synthesis. The further scope of this project is that the design can be verified for timing functionality and can be implemented into FPGA chips. Additional features like interrupt processing, instructions employing conditional branches, more registers can be included in the RISC processor design aspects. The CMOS logic for the above design can be implemented, synthesized and simulated using VLSI software tools like Tanner Tools software. There may be a chance of design the chip for this RTL using TSMC also. VII. REFERENCES [1] R. Landauer, “Irreversibility and heat generation in the computing process,” IBM J. Res. Dev., vol. 5,p.183,1961. [2] V. V. Zhirnov, R. K. Cavin, J. A. Hutchby, and G. I. Bourianoff, “Limits to binary logic switch scaling – a gedanken model,” Proc. of the IEEE, vol. 91, no. 11, pp. 1934–1939, 2003. [3] C. H. Bennett, “Logical reversibility of computation,” IBM J. Res. Dev, vol. 17, no. 6, pp. 525–532, 1973. [4] Y. syamala & A. V. N Tilak , “Reversible Arthematic logic unit”, IEEE conference, Page no: 207-211, 2009 [5] D. Mandalidis, P. Kenterlis, J. Ellinas, “A computer architectureeducationalsystem based on a 32-bitRISC processor,” International Review on computers and Software, pp. 114-119, 2008. [6] Antonio H. Zavala, Jorge Avante R.,”RISC- Based Architecture for computer Hardware Introduction” [7] M. Jaumain, M. Osee, A. Richard, A. Vander Biest, P. Mathys, “EducationalsimulationoftheRiSCprocessor,” ICEE International Conference on Engineering Education, 2007. [8] David A. Patterson, John L. Hennessy, “Computer Organization and Design - The Hardware/Software Interface” Second Edition (1998) Morgan Kaufmann Publisher, Inc. [9] Xiao Li, Longwei Ji, Bo Shen, Wenhong Li,QianlingZhang, “VLSI implementation of a High-performance 32-bit RISC Microprocessor”, Communications, Circuits and Systems and West Sino Expositions, IEEE 2002 International Conference on ,Volume 2, 2002 ,pp.1458 1461. [10] Kusumlata Pisda, Deependra Pandey, “Realization & Study of High Performance MIPS RISC Processor Design Using VHDL”, InternationalJournalofEmerging trends in Engineering and Development, Volume 7, Issue 2, November 2012, pp. 134 – 139, ISSN: 2249 – 6149. [11] Kirat Pal Singh, ShivaniParmar,“VHDLImplementation of a MIPS – 32 bit Pipeline Processor”, International Journal of Applied Engineering Research, Volume 7, Issue 11, ISSN: 0973 – 4562. [12] Samiappa Sakthikumaran, S. Salivahanan and V. S. Kaanchana Bhaaskaran,“16-Bit RISC Processor Design For Convolution Application”, IEEE International Conference on Recent Trends In Information Technology, June 2011, pp.394-397. [13] Rupali S. Balpande and Rashmi S. Keote, “Design of FPGA based Instruction Fetch & Decode Module of 32- bit RISC (MIPS) Processor,International Conferenceon Communication Systems and Network Technologies pp. 409 –413. [14] R. Uma, “Design and Performance Analysis of 8 – bit RISC Processor using Xilinx Tool”,InternationalJournal of Engineering Research and Applications, Volume 2, Issue2, March – April 2012, pp. 053 – 058, ISSN: 2248– 9622. [15] V. N. Sireesha and D. Hari Hara Santosh, “FPGA Implementation of a MIPS RISC Processor”, International Journal of Computer Technology and Applications, Volume 3, Issue 3, pp. 1251 – 1253, ISSN: 2229 – 6093. [16] M. Yugandhar and N. Suresh babu, “VLSI Design of Reduced Instruction set Computer Processor Core Using VHDL”, International Journal of Electronics, Communication & Instrumentation Engineering Research and Development (IJECIERD), Volume 2, Issue 3, pp. 42 – 47, ISSN: 2249 – 684X.