First stab at getting sdram working
This commit is contained in:
@@ -3,10 +3,12 @@ module addr_decode
|
||||
input [15:0] i_addr,
|
||||
|
||||
output o_rom_cs,
|
||||
output o_leds_cs
|
||||
output o_leds_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_sdram_cs = i_addr < 16'h8000;
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user