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 db984b194395fc51320d14198b79057ab5478ffa..9281366440bcc2d40cb3997be85864561fe8bc5a 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