mac: fix missing core csr generation
This commit is contained in:
parent
aedc964908
commit
67958f7448
|
@ -23,7 +23,7 @@ class LiteEthMAC(Module, AutoCSR):
|
|||
self.submodules.interface = LiteEthMACWishboneInterface(dw, 2, 2)
|
||||
self.comb += Port.connect(self.interface, self.core)
|
||||
self.ev, self.bus = self.interface.sram.ev, self.interface.bus
|
||||
self.csrs = self.interface.get_csrs()
|
||||
self.csrs = self.interface.get_csrs() + self.core.get_csrs()
|
||||
elif interface == "dma":
|
||||
raise NotImplementedError
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue