mac/sram: LiteEthMACSRAMReader: force READ_FIRST for mems ports (fix tx packet corruption for efinix trion/titanium)
This commit is contained in:
parent
42772f4388
commit
8b2bd00a95
|
@ -282,7 +282,7 @@ class LiteEthMACSRAMReader(Module, AutoCSR):
|
||||||
ports = [None]*nslots
|
ports = [None]*nslots
|
||||||
for n in range(nslots):
|
for n in range(nslots):
|
||||||
mems[n] = Memory(dw, depth)
|
mems[n] = Memory(dw, depth)
|
||||||
ports[n] = mems[n].get_port(has_re=True)
|
ports[n] = mems[n].get_port(has_re=True, mode=READ_FIRST)
|
||||||
self.specials += ports[n]
|
self.specials += ports[n]
|
||||||
self.mems = mems
|
self.mems = mems
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue