SDRAM uses SDR0MemBase now master
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Aug 2018 08:57:54 +0000 (09:57 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Aug 2018 08:57:54 +0000 (09:57 +0100)
src/lib/MemoryMap.bsv

index db984b1..9281366 100644 (file)
@@ -62,8 +62,8 @@ endfunction
 function Bool is_IO_Addr(Bit#(`PADDR) addr); // TODO Shuold be PADDR
         if(addr>=`DebugBase && addr<=`DebugEnd)
             return (True);
-        `ifdef SDR0_0_Base
-            else if(addr>=`SDR0_0_Base && addr<=`SDR0_0_End)
+        `ifdef SDR0MemBase
+            else if(addr>=`SDR0MemBase && addr<=`SDR0MemEnd)
             `ifdef FlexBus
                 return (True);
             `else