Skip to content

Commit

Permalink
cpu commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindu439 committed Jan 6, 2025
1 parent 879bab5 commit af26394
Show file tree
Hide file tree
Showing 5 changed files with 1,168 additions and 1,222 deletions.
2 changes: 1 addition & 1 deletion CPU/CPU.v
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module CPU (CLK, RESET);

// instruction decode stage
controlUnit controlunit1(INSTRUCTION_OUT, WRITEENABLE, MEMORYACCESS, MEMWRITE, MEMREAD, JUMPANDLINK, ALU_OPCODE, IMMEDIATESELECT, OFFSETGENARATOR, BRANCH, JUMP, IMMEDIATE_TYPE);
RegisterFile registerfile1(RS1,RS2,WRITEDATA,WRITEADDRESS_IDOUT,WRITEENABLE_MEMOUT,RESET,CLK,DATA1,DATA2);
RegisterFile registerfile1(RS1,RS2,WRITEDATA,WRITEADDRESS_MEMOUT,WRITEENABLE_MEMOUT,RESET,CLK,DATA1,DATA2);
imidiateGenarator imidiateGenarator1(INSTRUCTION_OUT,IMMEDIATE_TYPE,IMMEDIATE_VALUE);
ID_ExPipeline ID_EXPipeline1(CLK,RESET,WRITEENABLE,MEMORYACCESS,MEMWRITE,MEMREAD,JUMPANDLINK,ALU_OPCODE,IMMEDIATESELECT,OFFSETGENARATOR,BRANCH,JUMP,PC_OUT,PC_PLUS_4_OUT,DATA1,DATA2,INSTRUCTION_OUT,IMMEDIATE_VALUE,WRITEENABLE_IDOUT,MEMORYACCESS_IDOUT,MEMWRITE_IDOUT,MEMREAD_IDOUT,JAL_IDOUT,ALU_OPCODE_IDOUT,IMMEDIATESELECT_IDOUT,OFFSETGENARATOR_IDOUT,BRANCH_IDOUT,JUMP_IDOUT,PC_IDOUT,PC_PLUS_4_IDOUT,DATA1_IDOUT,DATA2_IDOUT,WRITEADDRESS_IDOUT,FUNCT3_IDOUT,IMMEDIATE_VALUE_IDOUT);

Expand Down
Loading

0 comments on commit af26394

Please sign in to comment.