litedram_gen: Fix missing user_port request for FIFO ports.
This commit is contained in:
parent
80398a8a15
commit
db879ae3f7
|
@ -693,6 +693,7 @@ class LiteDRAMCore(SoCCore):
|
||||||
]
|
]
|
||||||
# FIFO ---------------------------------------------------------------------------------
|
# FIFO ---------------------------------------------------------------------------------
|
||||||
elif port["type"] == "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))
|
platform.add_extension(get_fifo_user_port_ios(name, user_port.data_width))
|
||||||
_user_fifo_io = platform.request("user_fifo_{}".format(name))
|
_user_fifo_io = platform.request("user_fifo_{}".format(name))
|
||||||
fifo = LiteDRAMFIFO(
|
fifo = LiteDRAMFIFO(
|
||||||
|
|
Loading…
Reference in New Issue