RISC-V_Verilog/rtl/instruction.v

9 lines
245 B
Coq
Raw Normal View History

2023-10-23 05:15:21 +00:00
module instruction (input [31:0] address,
output [31:0] instruction);
reg [7:0] memory [127:0];
2023-10-22 13:41:39 +00:00
2023-10-24 12:52:07 +00:00
assign instruction = {memory[address + 3], memory[address + 2], memory[address + 1], memory[address]};
endmodule