`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // // HMC-MIPS Auto-generated code // // ////////////////////////////////////////////////////////////////////////////////// module ROM(clock, en, address, instr); input clock; input en; input [16:0] address; output reg [31:0] instr; always @(posedge clock) if(en) begin case(address) {1'b0, 16'h0}: instr <= 32'h3c08a004; {1'b0, 16'h1}: instr <= 32'h35084000; {1'b0, 16'h2}: instr <= 32'h20090009; {1'b0, 16'h3}: instr <= 32'had090000; {1'b0, 16'h4}: instr <= 32'h0bf00084; {1'b0, 16'h5}: instr <= 32'h00000000; default: instr <= 32'h00000000; endcase end endmodule