Files
Gameboy_MiSTer/fast_boot_rom.v

20 lines
269 B
Verilog

module fast_boot_rom(
input clk,
input [7:0] addr,
output reg [7:0] data
);
reg [7:0] rom_data [255:0];
initial begin
$readmemh("BootROMs/dmg_boot.mem", rom_data);
end
always @(posedge clk)
begin
data <= rom_data[addr];
end
endmodule