Connect dramcore to SoC bus in ECPIX-5 example
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 8 Jun 2020 16:48:25 +0000 (18:48 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 8 Jun 2020 16:48:25 +0000 (18:48 +0200)
examples/ecpix5.py

index d4251bcef2f124a426dc5787d3ad17cdcc5b12de..3848436de26ef3e2a77c2d6439e348ed75199480 100644 (file)
@@ -152,7 +152,9 @@ class DDR3SoC(CPUSoC, Elaboratable):
                        geom_settings   = ddrmodule.geom_settings,
                        timing_settings = ddrmodule.timing_settings,
                        clk_freq = clk_freq)
-               #self._decoder.add(self.dramcore.bus, addr=dramcore_addr)
+               self._decoder.add(self.dramcore.bus, addr=dramcore_addr)
+
+               self.dramport = self.dramcore.crossbar.get_port()
 
                self.memory_map = self._decoder.bus.memory_map