From: whitequark Date: Wed, 26 Aug 2020 14:57:31 +0000 (+0000) Subject: vendor.xilinx_7series: unbreak. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acabce0e983d9b9a6b61d828026a9b28c1b2a4a5;p=nmigen.git vendor.xilinx_7series: unbreak. This commit fixes a series of typos introduced in commit 4e208b0a. --- 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,