Skip to content

Commit

Permalink
Update riscvsingle.vhdl
Browse files Browse the repository at this point in the history
  • Loading branch information
michael9186 committed Jun 2, 2023
1 parent a792ede commit d4807ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/template_2/riscvsingle.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ architecture struct of controller is
signal Branch: STD_ULOGIC;
signal Jump_s : STD_ULOGIC;
begin
md: maindec port map(op, funct3, ResultSrc, MemWrite, Branch,
ALUSrc, RegWrite, Jump_s, ImmSrc, ALUOp);
md: maindec port map(op, funct3, ResultSrc, ALUSrc, MemWrite, Branch,
RegWrite, Jump_s, ImmSrc, ALUOp);
ad: aludec port map(op(5), funct3, funct7b5, ALUOp, ALUControl);

PCSrc <= (Branch and Zero) or Jump_s;
Expand Down

0 comments on commit d4807ce

Please sign in to comment.