From db879ae3f7d591482e4665801c946241bb663bce Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 3 Sep 2021 10:31:08 +0200 Subject: [PATCH] litedram_gen: Fix missing user_port request for FIFO ports. --- litedram/gen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litedram/gen.py b/litedram/gen.py index 1064b3d..310e67e 100755 --- a/litedram/gen.py +++ b/litedram/gen.py @@ -693,6 +693,7 @@ class LiteDRAMCore(SoCCore): ] # FIFO --------------------------------------------------------------------------------- elif port["type"] == "fifo": + user_port = self.sdram.crossbar.get_port(data_width=port.get("data_width", None)) platform.add_extension(get_fifo_user_port_ios(name, user_port.data_width)) _user_fifo_io = platform.request("user_fifo_{}".format(name)) fifo = LiteDRAMFIFO(