]> Joshua Wise's Git repositories - firearm.git/blobdiff - BigBlockRAM.v
Add support for CellularRAM on Nexys2.
[firearm.git] / BigBlockRAM.v
index 7e6ea997908f05903db1a79d5908dfe12c4bac4f..7b8275a0191c80f062e34d451a8e0f727c53789a 100644 (file)
@@ -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 */
 
This page took 0.021705 seconds and 4 git commands to generate.