data/full_repos/permissive/446939020/risc-v/inst_mem.v
data/verilator_xmls/410487c6-9e4f-48fb-8f32-360d039ff089.xml
module Instruction_Memory(input [31:0] pc,output reg [31:0] instruction);
  reg [31:0] ex1_memory [0:30];
  
  initial begin
    $display("Loading rom.");
	$readmemh("ex1.mem", ex1_memory);
  end
  always @(pc) begin
    instruction <= ex1_memory[pc/4];
    
  end
  
endmodule
module Instruction_Memory(input [31:0] pc,output reg [31:0] instruction);

  reg [31:0] ex1_memory [0:30];
  
  initial begin
    $display("Loading rom.");
	$readmemh("ex1.mem", ex1_memory);
  end
  always @(pc) begin
    instruction <= ex1_memory[pc/4];
    
  end
  
endmodule