From dbe09341c09249db46d186487a0b4db21aceacfd Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 8 Apr 2021 12:19:56 +0200 Subject: [PATCH] soc/add_pcie: Remove duplicate assert (already checked by check_if_exists). --- litex/soc/integration/soc.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 8bc48ff62..4c7f770d9 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -1615,7 +1615,6 @@ class LiteXSoC(SoC): # Checks. assert self.csr.data_width == 32 - assert not hasattr(self, f"{name}_endpoint") # Endpoint. self.check_if_exists(f"{name}_endpoint")