Add timer and test program

This commit is contained in:
Byron Lathi
2022-12-29 11:51:38 -05:00
parent 642dfcbeb1
commit 8c4102612f
9 changed files with 98 additions and 2306 deletions

View File

@@ -4,11 +4,13 @@ module addr_decode
output o_rom_cs,
output o_leds_cs,
output o_timer_cs,
output o_sdram_cs
);
assign o_rom_cs = i_addr >= 16'hf000 && i_addr <= 16'hffff;
assign o_leds_cs = i_addr == 16'hefff;
assign o_timer_cs = i_addr >= 16'heff8 && i_addr <= 16'heffe;
assign o_sdram_cs = i_addr < 16'h8000;
endmodule