SlideShare a Scribd company logo
1 of 10
Download to read offline
INTERNATIONAL JOURNAL OF ELECTRONICS AND 
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
COMMUNICATION ENGINEERING  TECHNOLOGY (IJECET) 
 
ISSN 0976 – 6464(Print) 
ISSN 0976 – 6472(Online) 
Volume 5, Issue 9, September (2014), pp. 14-23 
© IAEME: http://www.iaeme.com/IJECET.asp 
Journal Impact Factor (2014): 7.2836 (Calculated by GISI) 
www.jifactor.com 
14 
 
IJECET 
© I A E M E 
DESIGN AND SIMULATION OF A NON-PIPELINED, MULTI- CYCLE 16 
BIT RISC EDUCATIONAL PROCESSOR USING VERILOG HDL 
Qazi Raza Abdul Quadir[1], Arif Rasool[2], Manan Mushtaq[3], YasirBhat[4] 
Department of Electronics  Communication Engineering, National Institute of Technology, 
Srinagar, India 
ABSTRACT 
This paper presents the approach to design and simulate a 16 bit RISC processor using 
Verilog HDL and is based on the SAYEH architecture (Simple Architecture Yet Enough Hardware) 
which is a non pipelined architecture. The multi cycle part includes there set, fetch, decode, 
load/store and haltcycles for carrying out one complete process. In this paper the structure and 
working of Instruction Set Architecture, Datapath and Controller modules are explained along with 
individual submodules. Also the simulation results in ModelSim and RTL layout in XilinxISE of 
main modules are shown. 
Keywords: Educational Processor, HDL Processor, Processor Architecture, Sayehprocessor, 
Verilog Processor. 
1. INTRODUCTION 
RISC stands for “Reduced Instruction Set Computer” and its main difference from CISCis its 
simplicity while others being fewer instruction sets, faster for simple computations, less transistors 
required etc. When it was seen that most of the computations did not require the load/store from the 
memory, the advantage of RISC to such operations was clear[1][2]. Here we will discuss a special 
RISC processor based on SAYEH architecture (Simple Architecture Yet Enough Hardware) which 
as the name suggests tends to develop enough operations with the simplest minimum architecture 
possible. This approach does not use pipelining structure to attain simplicity and can be developed in 
both single and multi-cycleforms[3]. One of the exhaustive approach towards understanding processor 
architecture through HDL is SAYEH developed by Professor ZainalabedinNavabi[4].The processor 
possesses minimum hardware with enough operations possible on that hardware. The aim of the 
paper is to discuss, design and verify a customizable processor which is simple yet exhaustive 
enough to be taught in engineering and technical institutions. This paper will specify the design 
architecture and verify the working of a multi cycle verilog processor. Verilog is selected because of 
its simplicity[5]. It will also discuss the working of the submodules. Thus the main motive of this
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
project is to create an educational custom processor which can be customized by interested parties 
using its architectural skeleton and which can be taught to interested students using Hardware 
Descriptive Languages. Most of the educational institutions in the world teach microprocessors and 
their architecture through assembly language programming. There they are taught about a pre 
designed processor like Intel 8085 with all the simple processes that lead to the understanding of the 
computer micro architecture[6]. The assembly codes, instructions and registers are predefined and 
cannot be altered. But what if the students were given a canvas where they could tinker with a simple 
processor skeleton and develop application specific instructions and alter the register structures and 
transfer logic. Would that not be more productive and innovative method to approach the lesson on 
computer architecture? Definitely, this approach would lead to curiosity and innovative spirit in the 
students and would give birth to a whole new set of ideas aggrandizing the already available 
processor ideas. 
15 
2. HEADINGS 
1. Introduction 
2. Headings 
3. Architecture 
3.1 Processor Architecture layout. 
3.2 Instruction Set Architecture. 
4. Designing the Processor 
4.1 Addressing Unit. 
4.2 Status Register, Window Pointer and Instruction Register. 
4.3 Register File. 
4.4 ALU and Controller. 
5. Simulation Results 
5.1 Addressing Unit. 
5.2 ALU. 
5.3 Register File. 
5.4 Controller. 
5.5 Testing MVI and ADD. 
6. RTL Schematics of ALU and Controller 
7. Conclusion and Future Work 
8. Acknowledgements 
3. ARCHITECTURE 
It has a register file that is used for data processing instructions. The CPU has a 16-bit data 
bus and a 16-bit address bus, also a 16-bit Instruction Set Architecture (ISA). Figure below shows 
the interface signals: 
Fig 1: Interface signals
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
When the memory instructions are executed, the processor issues ReadMem or WriteMem 
signals to the memory. The components that are used by its instructions include the standard registers 
such as the program counter, instruction register, ALU and status register. In addition, this processor 
has a Register File forming registers R0, R1, R2 and R3 as well as a Window pointer that defines R0 
to R3 within the register file. 
3.1 Processor Architecture Layout 
PC: Program counter, 16-bits. 
R0, R1, R2, R3: General purpose registers, 16-bits, the general purpose registers form a window of 
4 in a register file of 64 registers. 
WP: Windows Pointer, 6-bits. 
IR: Instruction Register, 16-bits. 
ALU: The ALU can add, subtract and multiply its inputs. 
Z flag: Becomes 1 when the ALU output is 0. 
C flag: Becomes 1 when the ALU has a carry output. 
Fig 2: Processor Architecture[3] 
16 
3.2 Instruction Set Architecture 
The general format of 16-bit instruction as shown in figure, have 8-bit Immediate field. The 
OPCODE field is a 4-bit code that specifies the type of instruction. The Left and Right fields are 
2-bit codes selecting R0 through R3 registers in the Register File for source and/or destination of an
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
instruction. Usually, Left is used for destination and Right for source. The Immediate field is used 
for immediate data, or is used for the second instruction OPCODE extension. 
Fig 3: Instruction Set Register[3] 
This processor has a total of 18 instructions as shown in figure. Instructions that use the 
Destination and Source fields (designated by D and S in the table of instruction set) have an 
OPCODE that is limited to 4-bits. Instructions that do not require specification of source and 
destination registers use these fields as OPCODE extensions. In the instructions set, addressed 
locations in the memory are indicated by enclosing the address in a set of parenthesis. 
TABLE – Instruction Set[3] 
17 
4. DESIGNING THE PROCESSOR 
4.1 Addressing Unit 
It consists of Program Counter and Addressing Logic Unit. The program counter is used as a 
16 bit address storing register. Reset PC signal from Controller to Address Logic circuit resets value 
of PC to 0000H. According to the control signal to Address logic, the output address is either 
incremented by 1 or made to jump by a 8 bit value from IR[7:0] or by a 16 bit value from RFright 
(from right selected register in Register File). The updated output address is stored back as a new 
value to PC creating a feedback. The output [15:0]Address is put on Databus using a buffer, 
controlled by ‘Address_on_Databus’ control signal, from where it is then sent to the External 
Memory.
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
Fig 4: Addressing Unit consisting of Program Counter and Address Logic Unit 
4.2 Status register, Window pointer and Instruction Register 
Status or Flag Register (SR), is designed as a Carry and Zero bit storing module. It takes previous 
value of Cout from ALUout as input and sends it as new Cin to ALU. It sets Zero flag to 1 when 
ALUout = 0. It monitors the ALUout and the contents are updated when SRload control signal from 
controller = 1. Window Pointer is a 6 bit register which takes its input from lower 6 bits of 
Instruction Register and adds them to previous value stored when WPadd control signal = 1. These 
bits are then sent to Register File as Base address. Wpreset sets value of base address to RF as 
000000b. Instruction Register is a 16 bit register which takes its input from Databus and updates 
itself when IRload control signal = 1. IR bits are sent to Controller(Decode),Address Unit(Immediate 
Jump), Opndbus(then to ALU),Window Pointer and Register File. 
Fig 5: Instruction, Status(Flag) and Window Pointer Registers 
18 
4.3 Register File 
The Register File has 64 * 16 bit registers which are selected by window pointer and IR[11:8] 
in a window of 4 registers(because the maximum difference between Laddress and Raddess can 
be{0011} a distance of 4 registers; like selecting 2 stories out of 4 ).Left Register (sent to ALU) 
and Right Register(sent to ALU or AU{for jump}) are selected as RF[Laddress] and RF[Raddress] 
where Laddress= Base(from WP) + IR[11:10] and Raddress = Base + IR[9:8].To write into RF, 
RFLwrite control signal = 1. When RFLwrite control = 0, data is automatically read from RF to left 
and right outputs as shown in Figure.
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
Figure 6: Register File 
19 
4.4 ALU and Controller 
The Arithmetic Logic Unit module is able to perform – Pass, add, sub, bitwise and, bitwise or, 
not, multiply immediate. It interacts with Status register to get the current status of flags from 
previous computation, gets control signals from controller and sends output to Databus when control 
signal ALUout_on_Databus =1.The Controller takes the Instruction from IR and decodes it and 
sends appropriate control signals to the Datapath Module. Datapath also includes a 16 bit Databus, 
16 bit Address bus,8 bit operand bus(Immediate) and buffers controlled by controller. The whole 
processor is actually an amalgamate of Datapath and Controller. External Memory is designed as an 
array of 1024 * 16 bit array of registers and it used to load instructions and data or store data. The 
Top final module may be considered as the combination of Processor and External Memory. 
Fig 7: Arithmetic Unit and Controller Unit
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
20 
5. SIMULATION RESULTS 
5.1 Addressing Unit 
Fig 8: Addressing Unit waveform 
5.2 ALU 
Fig 9: ALU waveform 
5.3 Register File 
Fig 10: Register File waveform
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
21 
5.4 Controller 
Fig 11: Controller waveform 
5.5 Testing MVI (move immediate) and ADD instructions[7] 
Fig 12: Testing mvi and add waveforms 
Fig 13: Register File values after Fig 14: Register File values after 
updating R0 and R1 running add instructions
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
22 
6. RTL SCHEMATICS 
Fig 15: ALU RTL Fig 16: Controller RTL 
7. CONCLUSIONS AND FUTURE WORK 
The complete procedure of designing and simulating the processor has been outlaid in this 
paper. This processor can further be redesigned for adding various analog and digital inputs and 
algorithm modules which can then be used for robotic sensor boards and other embedded 
applications. This processor can further be commercially used in educational institutions at 
engineering and technical levels and can be integrated in the semester course syllabus. This HDL 
approach to processor design would ignite the creative spirit among students to model or modify 
existing architectures, thus actively learning the micro architectures. Many other processor cores can 
be designed once learning and developing the design of a simple primitive core. Such approach is 
limited to simple processors for students will not be able to develop complex processor architectures 
and functions. But, nonetheless, this approach to study is one of the most creative and enjoyable 
ways to learn microprocessor architectures. 
8. ACKNOWLEDGEMENT 
We would like to sincerely thank our HOD professor G.M. Rather, ECE dept., NIT Srinagar 
who guided us through this project. Also we would like to thank Professor Najeebud Din, ECE dept., 
NIT Srinagar for his timely advices and guidance through the project process.
International Journal of Electronics and Communication Engineering  Technology (IJECET), ISSN 0976 – 
6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 
 
23 
REFERENCES 
 
[1] Carl Hamacher, ZvonkoVranesic and SafwatZaky, Computer Organization (Tata McGraw 
Hill, 5thedition,2011). 
[2] Morris Mano, Digital Logic and Computer Design (Pearson Publications, 1979) 
[3] ZainalabedinNavabi, Embedded Core Design with FPGA, 4 (McGraw Hill, 2007). 
[4] ZainalabedinNavabi, “Verilog Digital System Design”, second edition, McGraw Hill, 
Chapter 8. 
[5] Samir Palnitkar, Verilog HDL – A guide to Digital design and Synthesis (Pearson 
Publications, Second edition, 2013). 
[6] Ramesh Gaonkar, Microprocessor Architecture, Programming and Applications with the 
8085 (Penram international Publishing, 5th edition, 2000). 
[7] AlirezaHaghdoost, ASIC Design of Sayeh Processor using TSMC 0.25 um technology 
(Advanced Logic Design Report, Shahed University, Spring 2008). 
[8] Bharat Kumar Potipireddi and Dr. Abhijit Asati, “Automated HDL Generation of Two’s 
Complement Wallace Multiplier with Parallel Prefix Adders”, International Journal of 
Electronics and Communication Engineering  Technology (IJECET), Volume 4, Issue 3, 
2013, pp. 256 - 269, ISSN Print: 0976- 6464, ISSN Online: 0976 –6472. 
[9] R.Kathiresan, M.Thangavel, K.Rathinakumar and S.Maragadharaj, “Analysis of Different 
Bit Carry Look Ahead Adder using Verilog Code”, International Journal of Electronics 
and Communication Engineering  Technology (IJECET), Volume 4, Issue 4, 2013, 
pp. 214 - 220, ISSN Print: 0976- 6464, ISSN Online: 0976 –6472.

More Related Content

What's hot

Supervision Postes Moyenne Tension
Supervision Postes Moyenne TensionSupervision Postes Moyenne Tension
Supervision Postes Moyenne Tension
Karim Hassaouan
 
Schémas électriques
Schémas électriquesSchémas électriques
Schémas électriques
zakarianho10
 
UML Part 4- diagrammres de classes et d'objets mansouri
UML Part 4- diagrammres de classes et d'objets mansouriUML Part 4- diagrammres de classes et d'objets mansouri
UML Part 4- diagrammres de classes et d'objets mansouri
Mansouri Khalifa
 
Cours algorithme
Cours algorithmeCours algorithme
Cours algorithme
badr zaimi
 

What's hot (20)

Programmation de systèmes embarqués : Bus et périphériques de communication
Programmation de systèmes embarqués : Bus et périphériques de communicationProgrammation de systèmes embarqués : Bus et périphériques de communication
Programmation de systèmes embarqués : Bus et périphériques de communication
 
ROBOT à base d'Android - Présentation PFE
ROBOT à base d'Android - Présentation PFEROBOT à base d'Android - Présentation PFE
ROBOT à base d'Android - Présentation PFE
 
Langage vhdl
Langage vhdlLangage vhdl
Langage vhdl
 
Supervision Postes Moyenne Tension
Supervision Postes Moyenne TensionSupervision Postes Moyenne Tension
Supervision Postes Moyenne Tension
 
Presentation PFE
Presentation PFEPresentation PFE
Presentation PFE
 
Les systèmes embarqués arduino
Les systèmes embarqués arduinoLes systèmes embarqués arduino
Les systèmes embarqués arduino
 
Schémas électriques
Schémas électriquesSchémas électriques
Schémas électriques
 
Overview of Nios II Embedded Processor
Overview of Nios II Embedded ProcessorOverview of Nios II Embedded Processor
Overview of Nios II Embedded Processor
 
conception et réalisation plateforme collaboratif basant sur la methode agile...
conception et réalisation plateforme collaboratif basant sur la methode agile...conception et réalisation plateforme collaboratif basant sur la methode agile...
conception et réalisation plateforme collaboratif basant sur la methode agile...
 
UML Part 4- diagrammres de classes et d'objets mansouri
UML Part 4- diagrammres de classes et d'objets mansouriUML Part 4- diagrammres de classes et d'objets mansouri
UML Part 4- diagrammres de classes et d'objets mansouri
 
Codage de l'information
Codage de l'informationCodage de l'information
Codage de l'information
 
Présentation mécatronique
Présentation mécatroniquePrésentation mécatronique
Présentation mécatronique
 
06 blocos de_programação
06 blocos de_programação06 blocos de_programação
06 blocos de_programação
 
Chp3 - Diagramme de Classes
Chp3 - Diagramme de ClassesChp3 - Diagramme de Classes
Chp3 - Diagramme de Classes
 
rapport de stage
rapport de stage rapport de stage
rapport de stage
 
Python
PythonPython
Python
 
Cours algorithme
Cours algorithmeCours algorithme
Cours algorithme
 
Cours Master Embarqué 2019-2020.pptx
Cours Master Embarqué 2019-2020.pptxCours Master Embarqué 2019-2020.pptx
Cours Master Embarqué 2019-2020.pptx
 
Chap9 : Systèmes non linéaires
Chap9 : Systèmes non linéairesChap9 : Systèmes non linéaires
Chap9 : Systèmes non linéaires
 
USB 2.0
USB 2.0USB 2.0
USB 2.0
 

Viewers also liked (8)

Realization of an 8 bit pipelined microprocessor in verilog hdl
Realization of an 8 bit pipelined microprocessor in verilog hdlRealization of an 8 bit pipelined microprocessor in verilog hdl
Realization of an 8 bit pipelined microprocessor in verilog hdl
 
Assic 11th Lecture
Assic 11th LectureAssic 11th Lecture
Assic 11th Lecture
 
Microprocessors and controllers
Microprocessors and controllersMicroprocessors and controllers
Microprocessors and controllers
 
Verilog hdl design examples
Verilog hdl design examplesVerilog hdl design examples
Verilog hdl design examples
 
8 bit single cycle processor
8 bit single cycle processor8 bit single cycle processor
8 bit single cycle processor
 
Verilog HDL Training Course
Verilog HDL Training CourseVerilog HDL Training Course
Verilog HDL Training Course
 
Students corner131
Students corner131Students corner131
Students corner131
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
 

Similar to Design and simulation of a non pipelined multi cycle 16 bit risc educational processor using verilog hdl

Design and implementation of complex floating point processor using fpga
Design and implementation of complex floating point processor using fpgaDesign and implementation of complex floating point processor using fpga
Design and implementation of complex floating point processor using fpga
VLSICS Design
 

Similar to Design and simulation of a non pipelined multi cycle 16 bit risc educational processor using verilog hdl (20)

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 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
 
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMAn Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
 
A044050107
A044050107A044050107
A044050107
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)
 
20120140502007 2-3
20120140502007 2-320120140502007 2-3
20120140502007 2-3
 
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 implementation of complex floating point processor using fpga
Design and implementation of complex floating point processor using fpgaDesign and implementation of complex floating point processor using fpga
Design and implementation of complex floating point processor using fpga
 
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...
 
Microprocessor and microcontroller (MPMC).pdf
Microprocessor and microcontroller (MPMC).pdfMicroprocessor and microcontroller (MPMC).pdf
Microprocessor and microcontroller (MPMC).pdf
 
lecture1423813120.pdf
lecture1423813120.pdflecture1423813120.pdf
lecture1423813120.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
 
IRJET- Design of Low Power 32- Bit RISC Processor using Verilog HDL
IRJET-  	  Design of Low Power 32- Bit RISC Processor using Verilog HDLIRJET-  	  Design of Low Power 32- Bit RISC Processor using Verilog HDL
IRJET- Design of Low Power 32- Bit RISC Processor using Verilog HDL
 
Sayeh basic computer
Sayeh basic computerSayeh basic computer
Sayeh basic computer
 
IJCRT2006062.pdf
IJCRT2006062.pdfIJCRT2006062.pdf
IJCRT2006062.pdf
 
W04505116121
W04505116121W04505116121
W04505116121
 
Design of FPGA based 8-bit RISC Controller IP core using VHDL
Design of FPGA based 8-bit RISC Controller IP core using VHDLDesign of FPGA based 8-bit RISC Controller IP core using VHDL
Design of FPGA based 8-bit RISC Controller IP core using VHDL
 
Hardware description of a simplified 4-bit softcore processor with bcd capabi...
Hardware description of a simplified 4-bit softcore processor with bcd capabi...Hardware description of a simplified 4-bit softcore processor with bcd capabi...
Hardware description of a simplified 4-bit softcore processor with bcd capabi...
 
Hardware description of a simplified 4-bit softcore processor with bcd capabi...
Hardware description of a simplified 4-bit softcore processor with bcd capabi...Hardware description of a simplified 4-bit softcore processor with bcd capabi...
Hardware description of a simplified 4-bit softcore processor with bcd capabi...
 
8 bit Microprocessor with Single Vectored Interrupt
8 bit Microprocessor with Single Vectored Interrupt8 bit Microprocessor with Single Vectored Interrupt
8 bit Microprocessor with Single Vectored Interrupt
 

More from IAEME Publication

A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURSA STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
IAEME Publication
 
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURSBROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
IAEME Publication
 
GANDHI ON NON-VIOLENT POLICE
GANDHI ON NON-VIOLENT POLICEGANDHI ON NON-VIOLENT POLICE
GANDHI ON NON-VIOLENT POLICE
IAEME Publication
 
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
IAEME Publication
 
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
IAEME Publication
 
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
IAEME Publication
 
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
IAEME Publication
 
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
IAEME Publication
 
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
IAEME Publication
 
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
IAEME Publication
 

More from IAEME Publication (20)

IAEME_Publication_Call_for_Paper_September_2022.pdf
IAEME_Publication_Call_for_Paper_September_2022.pdfIAEME_Publication_Call_for_Paper_September_2022.pdf
IAEME_Publication_Call_for_Paper_September_2022.pdf
 
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
 
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURSA STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
 
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURSBROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
 
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONSDETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
 
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONSANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
 
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINOVOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
 
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
 
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMYVISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
 
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
 
GANDHI ON NON-VIOLENT POLICE
GANDHI ON NON-VIOLENT POLICEGANDHI ON NON-VIOLENT POLICE
GANDHI ON NON-VIOLENT POLICE
 
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
 
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
 
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
 
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
 
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
 
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
 
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
 
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
 
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENTA MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 

Design and simulation of a non pipelined multi cycle 16 bit risc educational processor using verilog hdl

  • 1. INTERNATIONAL JOURNAL OF ELECTRONICS AND International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME COMMUNICATION ENGINEERING TECHNOLOGY (IJECET) ISSN 0976 – 6464(Print) ISSN 0976 – 6472(Online) Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME: http://www.iaeme.com/IJECET.asp Journal Impact Factor (2014): 7.2836 (Calculated by GISI) www.jifactor.com 14 IJECET © I A E M E DESIGN AND SIMULATION OF A NON-PIPELINED, MULTI- CYCLE 16 BIT RISC EDUCATIONAL PROCESSOR USING VERILOG HDL Qazi Raza Abdul Quadir[1], Arif Rasool[2], Manan Mushtaq[3], YasirBhat[4] Department of Electronics Communication Engineering, National Institute of Technology, Srinagar, India ABSTRACT This paper presents the approach to design and simulate a 16 bit RISC processor using Verilog HDL and is based on the SAYEH architecture (Simple Architecture Yet Enough Hardware) which is a non pipelined architecture. The multi cycle part includes there set, fetch, decode, load/store and haltcycles for carrying out one complete process. In this paper the structure and working of Instruction Set Architecture, Datapath and Controller modules are explained along with individual submodules. Also the simulation results in ModelSim and RTL layout in XilinxISE of main modules are shown. Keywords: Educational Processor, HDL Processor, Processor Architecture, Sayehprocessor, Verilog Processor. 1. INTRODUCTION RISC stands for “Reduced Instruction Set Computer” and its main difference from CISCis its simplicity while others being fewer instruction sets, faster for simple computations, less transistors required etc. When it was seen that most of the computations did not require the load/store from the memory, the advantage of RISC to such operations was clear[1][2]. Here we will discuss a special RISC processor based on SAYEH architecture (Simple Architecture Yet Enough Hardware) which as the name suggests tends to develop enough operations with the simplest minimum architecture possible. This approach does not use pipelining structure to attain simplicity and can be developed in both single and multi-cycleforms[3]. One of the exhaustive approach towards understanding processor architecture through HDL is SAYEH developed by Professor ZainalabedinNavabi[4].The processor possesses minimum hardware with enough operations possible on that hardware. The aim of the paper is to discuss, design and verify a customizable processor which is simple yet exhaustive enough to be taught in engineering and technical institutions. This paper will specify the design architecture and verify the working of a multi cycle verilog processor. Verilog is selected because of its simplicity[5]. It will also discuss the working of the submodules. Thus the main motive of this
  • 2. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME project is to create an educational custom processor which can be customized by interested parties using its architectural skeleton and which can be taught to interested students using Hardware Descriptive Languages. Most of the educational institutions in the world teach microprocessors and their architecture through assembly language programming. There they are taught about a pre designed processor like Intel 8085 with all the simple processes that lead to the understanding of the computer micro architecture[6]. The assembly codes, instructions and registers are predefined and cannot be altered. But what if the students were given a canvas where they could tinker with a simple processor skeleton and develop application specific instructions and alter the register structures and transfer logic. Would that not be more productive and innovative method to approach the lesson on computer architecture? Definitely, this approach would lead to curiosity and innovative spirit in the students and would give birth to a whole new set of ideas aggrandizing the already available processor ideas. 15 2. HEADINGS 1. Introduction 2. Headings 3. Architecture 3.1 Processor Architecture layout. 3.2 Instruction Set Architecture. 4. Designing the Processor 4.1 Addressing Unit. 4.2 Status Register, Window Pointer and Instruction Register. 4.3 Register File. 4.4 ALU and Controller. 5. Simulation Results 5.1 Addressing Unit. 5.2 ALU. 5.3 Register File. 5.4 Controller. 5.5 Testing MVI and ADD. 6. RTL Schematics of ALU and Controller 7. Conclusion and Future Work 8. Acknowledgements 3. ARCHITECTURE It has a register file that is used for data processing instructions. The CPU has a 16-bit data bus and a 16-bit address bus, also a 16-bit Instruction Set Architecture (ISA). Figure below shows the interface signals: Fig 1: Interface signals
  • 3. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME When the memory instructions are executed, the processor issues ReadMem or WriteMem signals to the memory. The components that are used by its instructions include the standard registers such as the program counter, instruction register, ALU and status register. In addition, this processor has a Register File forming registers R0, R1, R2 and R3 as well as a Window pointer that defines R0 to R3 within the register file. 3.1 Processor Architecture Layout PC: Program counter, 16-bits. R0, R1, R2, R3: General purpose registers, 16-bits, the general purpose registers form a window of 4 in a register file of 64 registers. WP: Windows Pointer, 6-bits. IR: Instruction Register, 16-bits. ALU: The ALU can add, subtract and multiply its inputs. Z flag: Becomes 1 when the ALU output is 0. C flag: Becomes 1 when the ALU has a carry output. Fig 2: Processor Architecture[3] 16 3.2 Instruction Set Architecture The general format of 16-bit instruction as shown in figure, have 8-bit Immediate field. The OPCODE field is a 4-bit code that specifies the type of instruction. The Left and Right fields are 2-bit codes selecting R0 through R3 registers in the Register File for source and/or destination of an
  • 4. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME instruction. Usually, Left is used for destination and Right for source. The Immediate field is used for immediate data, or is used for the second instruction OPCODE extension. Fig 3: Instruction Set Register[3] This processor has a total of 18 instructions as shown in figure. Instructions that use the Destination and Source fields (designated by D and S in the table of instruction set) have an OPCODE that is limited to 4-bits. Instructions that do not require specification of source and destination registers use these fields as OPCODE extensions. In the instructions set, addressed locations in the memory are indicated by enclosing the address in a set of parenthesis. TABLE – Instruction Set[3] 17 4. DESIGNING THE PROCESSOR 4.1 Addressing Unit It consists of Program Counter and Addressing Logic Unit. The program counter is used as a 16 bit address storing register. Reset PC signal from Controller to Address Logic circuit resets value of PC to 0000H. According to the control signal to Address logic, the output address is either incremented by 1 or made to jump by a 8 bit value from IR[7:0] or by a 16 bit value from RFright (from right selected register in Register File). The updated output address is stored back as a new value to PC creating a feedback. The output [15:0]Address is put on Databus using a buffer, controlled by ‘Address_on_Databus’ control signal, from where it is then sent to the External Memory.
  • 5. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME Fig 4: Addressing Unit consisting of Program Counter and Address Logic Unit 4.2 Status register, Window pointer and Instruction Register Status or Flag Register (SR), is designed as a Carry and Zero bit storing module. It takes previous value of Cout from ALUout as input and sends it as new Cin to ALU. It sets Zero flag to 1 when ALUout = 0. It monitors the ALUout and the contents are updated when SRload control signal from controller = 1. Window Pointer is a 6 bit register which takes its input from lower 6 bits of Instruction Register and adds them to previous value stored when WPadd control signal = 1. These bits are then sent to Register File as Base address. Wpreset sets value of base address to RF as 000000b. Instruction Register is a 16 bit register which takes its input from Databus and updates itself when IRload control signal = 1. IR bits are sent to Controller(Decode),Address Unit(Immediate Jump), Opndbus(then to ALU),Window Pointer and Register File. Fig 5: Instruction, Status(Flag) and Window Pointer Registers 18 4.3 Register File The Register File has 64 * 16 bit registers which are selected by window pointer and IR[11:8] in a window of 4 registers(because the maximum difference between Laddress and Raddess can be{0011} a distance of 4 registers; like selecting 2 stories out of 4 ).Left Register (sent to ALU) and Right Register(sent to ALU or AU{for jump}) are selected as RF[Laddress] and RF[Raddress] where Laddress= Base(from WP) + IR[11:10] and Raddress = Base + IR[9:8].To write into RF, RFLwrite control signal = 1. When RFLwrite control = 0, data is automatically read from RF to left and right outputs as shown in Figure.
  • 6. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME Figure 6: Register File 19 4.4 ALU and Controller The Arithmetic Logic Unit module is able to perform – Pass, add, sub, bitwise and, bitwise or, not, multiply immediate. It interacts with Status register to get the current status of flags from previous computation, gets control signals from controller and sends output to Databus when control signal ALUout_on_Databus =1.The Controller takes the Instruction from IR and decodes it and sends appropriate control signals to the Datapath Module. Datapath also includes a 16 bit Databus, 16 bit Address bus,8 bit operand bus(Immediate) and buffers controlled by controller. The whole processor is actually an amalgamate of Datapath and Controller. External Memory is designed as an array of 1024 * 16 bit array of registers and it used to load instructions and data or store data. The Top final module may be considered as the combination of Processor and External Memory. Fig 7: Arithmetic Unit and Controller Unit
  • 7. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 20 5. SIMULATION RESULTS 5.1 Addressing Unit Fig 8: Addressing Unit waveform 5.2 ALU Fig 9: ALU waveform 5.3 Register File Fig 10: Register File waveform
  • 8. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 21 5.4 Controller Fig 11: Controller waveform 5.5 Testing MVI (move immediate) and ADD instructions[7] Fig 12: Testing mvi and add waveforms Fig 13: Register File values after Fig 14: Register File values after updating R0 and R1 running add instructions
  • 9. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 22 6. RTL SCHEMATICS Fig 15: ALU RTL Fig 16: Controller RTL 7. CONCLUSIONS AND FUTURE WORK The complete procedure of designing and simulating the processor has been outlaid in this paper. This processor can further be redesigned for adding various analog and digital inputs and algorithm modules which can then be used for robotic sensor boards and other embedded applications. This processor can further be commercially used in educational institutions at engineering and technical levels and can be integrated in the semester course syllabus. This HDL approach to processor design would ignite the creative spirit among students to model or modify existing architectures, thus actively learning the micro architectures. Many other processor cores can be designed once learning and developing the design of a simple primitive core. Such approach is limited to simple processors for students will not be able to develop complex processor architectures and functions. But, nonetheless, this approach to study is one of the most creative and enjoyable ways to learn microprocessor architectures. 8. ACKNOWLEDGEMENT We would like to sincerely thank our HOD professor G.M. Rather, ECE dept., NIT Srinagar who guided us through this project. Also we would like to thank Professor Najeebud Din, ECE dept., NIT Srinagar for his timely advices and guidance through the project process.
  • 10. International Journal of Electronics and Communication Engineering Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online), Volume 5, Issue 9, September (2014), pp. 14-23 © IAEME 23 REFERENCES [1] Carl Hamacher, ZvonkoVranesic and SafwatZaky, Computer Organization (Tata McGraw Hill, 5thedition,2011). [2] Morris Mano, Digital Logic and Computer Design (Pearson Publications, 1979) [3] ZainalabedinNavabi, Embedded Core Design with FPGA, 4 (McGraw Hill, 2007). [4] ZainalabedinNavabi, “Verilog Digital System Design”, second edition, McGraw Hill, Chapter 8. [5] Samir Palnitkar, Verilog HDL – A guide to Digital design and Synthesis (Pearson Publications, Second edition, 2013). [6] Ramesh Gaonkar, Microprocessor Architecture, Programming and Applications with the 8085 (Penram international Publishing, 5th edition, 2000). [7] AlirezaHaghdoost, ASIC Design of Sayeh Processor using TSMC 0.25 um technology (Advanced Logic Design Report, Shahed University, Spring 2008). [8] Bharat Kumar Potipireddi and Dr. Abhijit Asati, “Automated HDL Generation of Two’s Complement Wallace Multiplier with Parallel Prefix Adders”, International Journal of Electronics and Communication Engineering Technology (IJECET), Volume 4, Issue 3, 2013, pp. 256 - 269, ISSN Print: 0976- 6464, ISSN Online: 0976 –6472. [9] R.Kathiresan, M.Thangavel, K.Rathinakumar and S.Maragadharaj, “Analysis of Different Bit Carry Look Ahead Adder using Verilog Code”, International Journal of Electronics and Communication Engineering Technology (IJECET), Volume 4, Issue 4, 2013, pp. 214 - 220, ISSN Print: 0976- 6464, ISSN Online: 0976 –6472.