Instruction Multiplex LSU/EXU 1 cycle DONE

This commit is contained in:
felsabbagh3
2019-10-17 22:29:21 -04:00
parent 62db9ae691
commit 6779d0fade
18 changed files with 712 additions and 491 deletions

15
rtl/VX_lsu_addr_gen.v Normal file
View File

@@ -0,0 +1,15 @@
module VX_lsu_addr_gen (
input wire[`NT_M1:0][31:0] base_address,
input wire[31:0] offset,
output wire[`NT_M1:0][31:0] address
);
genvar index;
for (index = 0; index < `NT; index = index + 1)
begin
assign address[index] = base_address[index] + offset;
end
endmodule