data/full_repos/permissive/520452389/source_codes/Instruction_fetch.v
1: b"%Error: data/full_repos/permissive/520452389/source_codes/Instruction_fetch.v:59: Too many digits for 32 bit number: 32'b100011_00110_00110_00000_00000_0001010\n    mem[16] = 32'b100011_00110_00110_00000_00000_0001010; \n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 1 error(s)\n"
module instruction_mem(input reset,input [31:0]address,output reg [31:0]instruction);

reg  [0:31]mem[31:0];
reg [31:0]i;
always@(*) begin 
    for(i=0;i<32;i=i+1)
    begin
    if(i==0)
    mem[0] = 32'b000000_00010_00011_00100_00000_100000;
    else if(i==4)
    mem[4] = 32'b000000_00100_00001_00100_00000_100010;
    else if(i==8)
    mem[8] = 32'b000000_00100_00011_00010_00000_011011;
    else if(i==12)
    mem[12] = 32'b000101_00001_00001_00000_00000_000000;
    else if(i==16)
    mem[16] = 32'b100011_00110_00110_00000_00000_0001010;
    else if(i==20)
    mem[20] = 32'b000000_00011_00010_00011_00000_0001010;
    else if(i==24)
    mem[24] = 32'b000100_00100_00010_00000_00000_000001;
    else if(i==28)
    mem[28] = 32'b101011_00100_00010_00000_00000_000001;
    else
    mem[i]=32'h00000000;
    end
     instruction = mem[address];
end

endmodule
module instruction_mem(input reset,input [31:0]address,output reg [31:0]instruction);


reg  [0:31]mem[31:0];
reg [31:0]i;
always@(*) begin 
    for(i=0;i<32;i=i+1)
    begin
    if(i==0)
    mem[0] = 32'b000000_00010_00011_00100_00000_100000;
    else if(i==4)
    mem[4] = 32'b000000_00100_00001_00100_00000_100010;
    else if(i==8)
    mem[8] = 32'b000000_00100_00011_00010_00000_011011;
    else if(i==12)
    mem[12] = 32'b000101_00001_00001_00000_00000_000000;
    else if(i==16)
    mem[16] = 32'b100011_00110_00110_00000_00000_0001010;
    else if(i==20)
    mem[20] = 32'b000000_00011_00010_00011_00000_0001010;
    else if(i==24)
    mem[24] = 32'b000100_00100_00010_00000_00000_000001;
    else if(i==28)
    mem[28] = 32'b101011_00100_00010_00000_00000_000001;
    else
    mem[i]=32'h00000000;
    end
     instruction = mem[address];
end

endmodule