SlideShare a Scribd company logo
SINGLE CYCLE
PROCESSORVerilog implementation
• This processor executes each instruction in one clock cycle only.
• Compatible operations:
IType:
Load word
Store word
RType:
Add
And
Or
Subtract
SLT
JType
Beq
Register
• It takes the data addresses from instruction memory in order to
fetch the data which is already saved in it and/or write the data from
the data memory in a certain address. then save it in memory .
• Data is read through 2 32bit output ports for further operation.
• The Data required to be loaded onto the register is fed through 32
bit input port.
Register code
PC
• A program counter that compute the address of the next
instruction and pass it to the instruction memory which read that
address and pass the corresponding data to the register.
• The address of the next instruction is calculated by incrementing
the current by 4 since we deal with words (32 bit )instruction, while
the memory is byte addressable.
PC code
Controller
• It force some values for every instruction to control ALU and make
operations on data.
• It is divided into two modules:
 controller which detects R , I and J types and sends signals accordingly
ALU control which determines which R type instruction received
Controller code
Determines I type instructions Load word, Store word, Branch equal
and Jump instructions and gives outputs
The R type is determined and gives ALUop as an output which is not
00 or 01
Outputs from Controller: RegDst, Jump, Branch, MemRead,
MemToReg, MemWrite, ALUsrc, RegWrite and ALUop
Controller Truth Table
ALU Control
• Determines the R type instructions which areAdd, Subtract, And,
Or
ALU
• ALU takes 2 input data from register and check the operation from ALU
control and then generate a result and send it to memory (LW/SW) or the
register (R).
ALU control Function
000 AND
001 OR
010 ADD
110 SUBTRACT
111 Set on Less Than
ALU code
Memory
• Memory receives data address from ALU to save data in it then it
waits for an input to write data or read data.
• If read it will write data on register.
Memory code
Generic modules
Mux 32bit
Mux 5 bit
Adder
Shift left by 2
Sign extension
And gate
Data top module
Main top module
Simulation screenshots
• add
• Subtract
Zero flag
Simulation screenshots (cont’d)
Simulation screenshots (cont’d)
• and
• Or
Simulation screenshots (cont’d)
• Slt true
Simulation screenshots (cont’d)
• Slt false
Simulation screenshots (cont’d)
RTL Schematic
Presentation computer architechure (1)
Presentation computer architechure (1)

More Related Content

PDF
Control Unit Design
PPTX
THE PROCESSOR
PPTX
Computer instructions
PPT
PPTX
Micro operation control of processor
PPTX
Computer arithmetics (computer organisation & arithmetics) ppt
PPTX
2.instrumentation ii
Control Unit Design
THE PROCESSOR
Computer instructions
Micro operation control of processor
Computer arithmetics (computer organisation & arithmetics) ppt
2.instrumentation ii

What's hot (17)

PDF
Processor Organization and Architecture
PPT
Programmable Timer 8253/8254
PDF
PPTX
Register transfer and micro-operation
PPT
8254 timer - Microprocessor and interfacing
PPS
Timing and-control-unit
PPT
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
PPT
8254 PIT
PPT
MCA-I-COA- overview of register transfer, micro operations and basic computer...
PPTX
Timer
PPT
CO By Rakesh Roshan
PPTX
Basic Computer Organization and Design
PDF
COMPUTER ORGANIZATION NOTES Unit 2
PPTX
8155 GPPI
PDF
310471266 chapter-7-notes-computer-organization
PPT
Instruction cycle
Processor Organization and Architecture
Programmable Timer 8253/8254
Register transfer and micro-operation
8254 timer - Microprocessor and interfacing
Timing and-control-unit
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
8254 PIT
MCA-I-COA- overview of register transfer, micro operations and basic computer...
Timer
CO By Rakesh Roshan
Basic Computer Organization and Design
COMPUTER ORGANIZATION NOTES Unit 2
8155 GPPI
310471266 chapter-7-notes-computer-organization
Instruction cycle
Ad

Viewers also liked (19)

PDF
BachelorDegree.PDF
PDF
S-E-Michelle_Abney-19554-13847-1016277
PPTX
Presentación1
PPTX
Multiwavelength astronomy
PDF
AbstractsBook_GCACSE2016 (3) (1)
PPSX
Campanha promocional conceição
PPTX
Presentación1gr
PDF
Mario excel
PDF
Microbiological and Physicochemical Assessment of Poultry Soil Samples in Aku...
PDF
Bailasinparar gemaibarra-clases-baile-novios-boda-madrid-1
PDF
Tijuca Uno - Lounge
PDF
Primero e
PPT
Health Data Management - Clear Data - 5 reasons hospital CIOs are extending t...
PPTX
Children's Mental Health Data: The Story
PDF
A Better Understanding: Solving Business Challenges with Data
PPT
Tema 4 palabras
PDF
Biohuertos plan de negocio
PPTX
Plan de Negocios para pequeños emprendedores
PDF
F.U.N. slides Family and Medical Leave Act (FMLA)
BachelorDegree.PDF
S-E-Michelle_Abney-19554-13847-1016277
Presentación1
Multiwavelength astronomy
AbstractsBook_GCACSE2016 (3) (1)
Campanha promocional conceição
Presentación1gr
Mario excel
Microbiological and Physicochemical Assessment of Poultry Soil Samples in Aku...
Bailasinparar gemaibarra-clases-baile-novios-boda-madrid-1
Tijuca Uno - Lounge
Primero e
Health Data Management - Clear Data - 5 reasons hospital CIOs are extending t...
Children's Mental Health Data: The Story
A Better Understanding: Solving Business Challenges with Data
Tema 4 palabras
Biohuertos plan de negocio
Plan de Negocios para pequeños emprendedores
F.U.N. slides Family and Medical Leave Act (FMLA)
Ad

Similar to Presentation computer architechure (1) (20)

PDF
3. Single Cycle Data Path in computer architecture
PPTX
BASICS OF MIPS ARCHITECTURE AND THEIR INSTRUCTION SET
DOC
Alu design-project
PDF
8 bit single cycle processor
DOCX
Lab 4 final report
PPTX
Lect12_Control_full_CS2100_slides2023.pptx
PPTX
Understanding Single-Cycle Datapath Architecture in Computer Systems.pptx
PPTX
Computer organisation and architecture updated unit 2 COA ppt.pptx
PDF
lecture07_RISCV_Impl.pdflecture07_RISCV_Impl.pdf
PPT
07 processor basics
PPT
Design and implementation of five stage pipelined RISC-V processor using Ver...
PDF
Unit 3 The processor
PPTX
ALUs Mini Project.pptx
PPTX
ALUs and HDLs .pptx
PPT
Computer Organization Unit 4 Processor &Control Unit
PPTX
Multicycle Datapath and Control: Enhancing CPU Efficiency through Sequential ...
PPTX
Verilog Final Probe'22.pptx
PPTX
very large scale integration ppt vlsi.pptx
PDF
An Example MIPS
PPTX
systemverilog and veriog presentation
3. Single Cycle Data Path in computer architecture
BASICS OF MIPS ARCHITECTURE AND THEIR INSTRUCTION SET
Alu design-project
8 bit single cycle processor
Lab 4 final report
Lect12_Control_full_CS2100_slides2023.pptx
Understanding Single-Cycle Datapath Architecture in Computer Systems.pptx
Computer organisation and architecture updated unit 2 COA ppt.pptx
lecture07_RISCV_Impl.pdflecture07_RISCV_Impl.pdf
07 processor basics
Design and implementation of five stage pipelined RISC-V processor using Ver...
Unit 3 The processor
ALUs Mini Project.pptx
ALUs and HDLs .pptx
Computer Organization Unit 4 Processor &Control Unit
Multicycle Datapath and Control: Enhancing CPU Efficiency through Sequential ...
Verilog Final Probe'22.pptx
very large scale integration ppt vlsi.pptx
An Example MIPS
systemverilog and veriog presentation

Recently uploaded (20)

PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Geodesy 1.pptx...............................................
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Artificial Intelligence
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT
Project quality management in manufacturing
PDF
composite construction of structures.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Safety Seminar civil to be ensured for safe working.
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
CH1 Production IntroductoryConcepts.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Geodesy 1.pptx...............................................
bas. eng. economics group 4 presentation 1.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Mechanical Engineering MATERIALS Selection
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Construction Project Organization Group 2.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Artificial Intelligence
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Project quality management in manufacturing
composite construction of structures.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Foundation to blockchain - A guide to Blockchain Tech
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx

Presentation computer architechure (1)