liteth_gen: Remove calls to add_csr (no longed required).

This commit is contained in:
Florent Kermarrec 2021-09-27 17:02:23 +02:00
parent bdff760128
commit 5358234720
1 changed files with 0 additions and 2 deletions

View File

@ -205,7 +205,6 @@ class PHYCore(SoCMini):
else:
raise ValueError("Unsupported PHY")
self.submodules.ethphy = ethphy
self.add_csr("ethphy")
# Generate timing constraints to ensure the "keep" attribute is properly set
# on the various clocks. This also adds the constraints to the generated xdc
@ -240,7 +239,6 @@ class MACCore(PHYCore):
full_memory_we = core_config.get("full_memory_we", False))
self.add_wb_slave(self.mem_map["ethmac"], self.ethmac.bus)
self.add_memory_region("ethmac", self.mem_map["ethmac"], mac_memsize, type="io")
self.add_csr("ethmac")
# Wishbone Interface -----------------------------------------------------------------------
wb_bus = wishbone.Interface()