fix logic assign bugs

This commit is contained in:
2026-09-20 17:51:44 -04:00
parent 729c0dfdc3
commit 88d0974585
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -41,9 +41,11 @@ module execute (
output logic [31:0] pc_target_o
);
logic [31:0] a = rs1_data_i;
logic [31:0] b = alu_src_i ? imm_ext_i : rs2_data_i;
logic [31:0] a;
logic [31:0] b;
assign a = rs1_data_i;
assign b = alu_src_i ? imm_ext_i : rs2_data_i;
assign pc_target_o = current_pc_i + imm_ext_i;
alu alu (