From: Luke Kenneth Casson Leighton Date: Fri, 3 Aug 2018 08:57:54 +0000 (+0100) Subject: SDRAM uses SDR0MemBase now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=shakti-core.git SDRAM uses SDR0MemBase now --- diff --git a/src/lib/MemoryMap.bsv b/src/lib/MemoryMap.bsv index db984b1..9281366 100644 --- a/src/lib/MemoryMap.bsv +++ b/src/lib/MemoryMap.bsv @@ -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