soc/add_pcie: Remove duplicate assert (already checked by check_if_exists).

This commit is contained in:
Florent Kermarrec 2021-04-08 12:19:56 +02:00
parent 37a81b145a
commit dbe09341c0
1 changed files with 0 additions and 1 deletions

View File

@ -1615,7 +1615,6 @@ class LiteXSoC(SoC):
# Checks. # Checks.
assert self.csr.data_width == 32 assert self.csr.data_width == 32
assert not hasattr(self, f"{name}_endpoint")
# Endpoint. # Endpoint.
self.check_if_exists(f"{name}_endpoint") self.check_if_exists(f"{name}_endpoint")