Skip to content

Design and implementation of RISC-V processor with a multi-cycle datapath and controller.

Notifications You must be signed in to change notification settings

fardinabbasi/RISC-V_Processor_MultiCycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi Cycle RISC-V Processor

Design and implementation of RISC-V processor with a multi-cycle datapath and controller.

Commands

R_Type:  add, sub, and, or, slt
I_Type:  lw, addi, xori, ori, slti, jalr
S_Type:  sw
J_Type:  jal
B_Type:  beq, bne, blt, bge
U_Type:  lui

Datapath

Controller

Immediate Extension Unit Controller

ALU Opcode Controller

ALU Controller

Test Code

The following assembly code can be converted to machine code using RISC-V Online Assembler.

addi x8,x0,30
sub x9,x8,x7
and x10,x8,x7
or x11,x8,x7
slt x12,x8,x7
slt x12,x8,x7
xori x13,x7,13
ori x14,x7,13
slti x15,x7,13
sw x8,400(x7)
jalr x16,x7,10
lui x17,50

Course Description

About

Design and implementation of RISC-V processor with a multi-cycle datapath and controller.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published