Computers, Hardware, Computer Science, Cpu, Electronics.
value is updated. In the register file module, I put $display() to output the contents of the register upon update. module regfile(input logic clk, input logic we3, input logic [4:0] ra1, ra2, wa3, input logic [31:0] wd3, output logic [31:0] rd1, rd2); ... ... rf[wa3] <= wd3; case(wa3) 5'b10000: