From: whitequark Date: Sun, 22 Nov 2020 00:16:02 +0000 (+0000) Subject: vendor.xilinx_spartan_3_6: fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2542094b3c56018307c17c9cd077c8bc4129ffe9;p=nmigen.git vendor.xilinx_spartan_3_6: fix typo. This was introduced in commit 2f8669ca. Fixes #549. --- diff --git a/nmigen/vendor/xilinx_spartan_3_6.py b/nmigen/vendor/xilinx_spartan_3_6.py index 527d089..21cbda0 100644 --- a/nmigen/vendor/xilinx_spartan_3_6.py +++ b/nmigen/vendor/xilinx_spartan_3_6.py @@ -437,7 +437,7 @@ class XilinxSpartan3Or6Platform(TemplatedPlatform): return m def get_async_ff_sync(self, async_ff_sync): - if self._max_input_delay is not None: + if async_ff_sync._max_input_delay is not None: raise NotImplementedError("Platform '{}' does not support constraining input delay " "for AsyncFFSynchronizer" .format(type(self).__name__))