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.
This commit is contained in:
Byron Lathi
2022-12-20 19:26:24 -05:00
parent aefa3d23f3
commit b8161e3082
8 changed files with 181 additions and 39 deletions

View File

@@ -0,0 +1,12 @@
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