Add reset input to memory mapper

Upon reset the memory mapper is automatically disabled, but the mappings
are not cleared.
This commit is contained in:
Byron Lathi
2022-04-07 10:35:16 -05:00
parent a15dde0e89
commit be497ecaa9
2 changed files with 14 additions and 8 deletions

View File

@@ -94,6 +94,7 @@ assign mm_address = {mm_MO, cpu_addr[11:0]};
memory_mapper memory_mapper(
.clk(clk),
.rst(rst),
.rw(cpu_rwb),
.cs(mm_cs1),
.MM_cs(mm_cs2),