Files
super6502/hw/efinix_fpga/addr_decode.sv
Byron Lathi b8161e3082 Add LED module and address decoding; disable LA
The Logic analyzer isn't that useful anyway since it does not track
rising and falling edges.
2022-12-20 19:26:24 -05:00

12 lines
202 B
Systemverilog

module addr_decode
(
input [15:0] i_addr,
output o_rom_cs,
output o_leds_cs
);
assign o_rom_cs = i_addr >= 16'hf000 && i_addr <= 16'hffff;
assign o_leds_cs = i_addr == 16'hefff;
endmodule