X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/8b09558c6aa1ac41a28e9a16d5764df5af5704ee..1e7ff543e49341fedea742d7b8b674111d852748:/BigBlockRAM.v?ds=sidebyside diff --git a/BigBlockRAM.v b/BigBlockRAM.v index 7e6ea99..7b8275a 100644 --- a/BigBlockRAM.v +++ b/BigBlockRAM.v @@ -10,9 +10,10 @@ module BigBlockRAM( /* This module is mapped in physical memory from 0x00000000 to * 0x00800000. rdata and ready must be driven to zero if the - * address is not within the range of this module. + * address is not within the range of this module. There also + * exists a shadow up at 0x80000000. */ - wire decode = bus_addr[31:23] == 9'b0; + wire decode = bus_addr[30:23] == 8'b0; wire [22:0] ramaddr = {bus_addr[22:2], 2'b0}; /* mask off lower two bits * for word alignment */