correct syscon bus address to 0xC000_0000
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 15 Feb 2022 15:04:58 +0000 (15:04 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 15 Feb 2022 15:04:58 +0000 (15:04 +0000)
src/ls2.py

index 49fc7318ff84a8ac2e156db5ae12ec25e1773716..df3fb592d76294e394d6ebf5cebd1bdc3051877a 100644 (file)
@@ -94,13 +94,13 @@ class DDR3SoC(SoC, Elaboratable):
         # System Configuration info
         self.syscon = MicrowattSYSCON(sys_clk_freq=clk_freq,
                                       has_uart=(uart_pins is not None))
-        self._decoder.add(self.syscon.bus, addr=0xc000000) # at 0xc000_0000
+        self._decoder.add(self.syscon.bus, addr=0xc0000000) # at 0xc000_0000
 
         # SRAM (read-writeable BRAM)
         self.ram = SRAMPeripheral(size=4096)
         self._decoder.add(self.ram.bus, addr=0x8000000) # SRAM at 0x8000_0000
 
-        # UART
+        # UART at 0xC000_2000
         if uart_pins is not None:
             self.uart = UART16550()
             umap = MemoryMap(addr_width=7, data_width=8, name="uart_map")