From abaa9091f45d1c5801ec7162322bbc04706e3b43 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 26 Aug 2020 14:57:31 +0000 Subject: [PATCH] vendor.xilinx_7series: unbreak. This commit fixes a series of typos introduced in commit 4e208b0a. --- nmigen/vendor/xilinx_7series.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nmigen/vendor/xilinx_7series.py b/nmigen/vendor/xilinx_7series.py index 5c35469..cb95dfd 100644 --- a/nmigen/vendor/xilinx_7series.py +++ b/nmigen/vendor/xilinx_7series.py @@ -473,7 +473,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): return m def get_tristate(self, pin, port, attrs, invert): - if toolchain == "Symbiflow": + if self.toolchain == "Symbiflow": return super().get_tristate(pin, port, attrs, invert) self._check_feature("single-ended tristate", pin, attrs, @@ -489,7 +489,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): return m def get_input_output(self, pin, port, attrs, invert): - if toolchain == "Symbiflow": + if self.toolchain == "Symbiflow": return super().get_input_output(pin, port, attrs, invert) self._check_feature("single-ended input/output", pin, attrs, @@ -506,7 +506,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): return m def get_diff_input(self, pin, port, attrs, invert): - if toolchain == "Symbiflow": + if self.toolchain == "Symbiflow": return super().get_diff_input(pin, port, attrs, invert) self._check_feature("differential input", pin, attrs, @@ -521,7 +521,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): return m def get_diff_output(self, pin, port, attrs, invert): - if toolchain == "Symbiflow": + if self.toolchain == "Symbiflow": return super().get_diff_output(pin, port, attrs, invert) self._check_feature("differential output", pin, attrs, @@ -536,7 +536,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): return m def get_diff_tristate(self, pin, port, attrs, invert): - if toolchain == "Symbiflow": + if self.toolchain == "Symbiflow": return super().get_diff_tristate(pin, port, attrs, invert) self._check_feature("differential tristate", pin, attrs, @@ -552,7 +552,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): return m def get_diff_input_output(self, pin, port, attrs, invert): - if toolchain == "Symbiflow": + if self.toolchain == "Symbiflow": return super().get_diff_input_output(pin, port, attrs, invert) self._check_feature("differential input/output", pin, attrs, -- 2.30.2