soc/add_pcie: Remove duplicate assert (already checked by check_if_exists).
This commit is contained in:
parent
37a81b145a
commit
dbe09341c0
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue