From: Luke Kenneth Casson Leighton Date: Fri, 3 Aug 2018 08:01:16 +0000 (+0100) Subject: whoops typo in binary number X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4365683ec32af1937a17910cc33b58c107d80a99;p=pinmux.git whoops typo in binary number --- diff --git a/src/bsv/peripheral_gen/gpio.py b/src/bsv/peripheral_gen/gpio.py index 095d654..c01dd1a 100644 --- a/src/bsv/peripheral_gen/gpio.py +++ b/src/bsv/peripheral_gen/gpio.py @@ -40,7 +40,7 @@ class gpio(PBase): size = len(self.peripheral.pinspecs) dflt_ = "%s" % ("0"*size*2) # default if not set in spec dflt = self.peripheral.configs[0].get("muxconfig", dflt_) - return "MUX#(%d) mux{0} <- mkmux(`b%s);\n" % (size, dflt)+ \ + return "MUX#(%d) mux{0} <- mkmux('b%s);\n" % (size, dflt)+ \ "GPIO#(%d) gpio{0} <- mkgpio();" % size def mk_connection(self, count, fabricname, typ):