Change to simpler rom

This commit is contained in:
Byron Lathi
2023-01-13 13:07:13 -06:00
parent 7682dffe3c
commit 2f11808f11
14 changed files with 4151 additions and 8823 deletions

View File

@@ -139,16 +139,10 @@ always_comb begin
cpu_data_out = 'x;
end
efx_single_port_ram boot_rom(
.clk(clk_2), // clock input for one clock mode
.addr(cpu_addr[7:0]), // address input
.wclke('0), // Write clock-enable input
.byteen('0), // Byteen input
.we('0), // Write-enable input
.re(cpu_rwb & w_rom_cs), // Read-enable input
.rdata(w_rom_data_out) // Read data output
rom #(.DATA_WIDTH(8), .ADDR_WIDTH(12)) u_rom(
.addr(cpu_addr[11:0]),
.clk(clk_2),
.data(w_rom_data_out)
);
leds u_leds(