mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 05:47:35 -04:00
minor update
This commit is contained in:
parent
c6afc35989
commit
fb805c1eed
1 changed files with 3 additions and 1 deletions
|
@ -50,8 +50,10 @@ module VX_decode #(
|
|||
|
||||
wire [4:0] rd = instr[11:7];
|
||||
wire [4:0] rs1 = instr[19:15];
|
||||
wire [4:0] rs2 = instr[24:20];
|
||||
wire [4:0] rs2 = instr[24:20];
|
||||
`ifdef EXT_F_ENABLE
|
||||
wire [4:0] rs3 = instr[31:27];
|
||||
`endif
|
||||
|
||||
wire [19:0] upper_imm = {func7, rs2, rs1, func3};
|
||||
wire [11:0] alu_imm = ((func3 == 3'h1) || (func3 == 3'h5)) ? {{7{1'b0}}, rs2} : u_12;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue