RISC-V_Verilog/rtl/instruction.v

9 lines
246 B
Coq
Raw Permalink Normal View History

2023-10-23 05:15:21 +00:00
module instruction (input [31:0] address,
output [31:0] instruction);
2023-11-29 01:39:48 +00:00
reg [7:0] memory [1023: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