From 2542094b3c56018307c17c9cd077c8bc4129ffe9 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 22 Nov 2020 00:16:02 +0000 Subject: [PATCH] vendor.xilinx_spartan_3_6: fix typo. This was introduced in commit 2f8669ca. Fixes #549. --- nmigen/vendor/xilinx_spartan_3_6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__)) -- 2.30.2