From: Luke Kenneth Casson Leighton Date: Tue, 24 Jul 2018 04:59:45 +0000 (+0100) Subject: fix typos X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2737f3d0795005103cc01b93dac6057d0efd29d;p=pinmux.git fix typos --- diff --git a/src/bsv/interface_decl.py b/src/bsv/interface_decl.py index 06b133f..4a7b033 100644 --- a/src/bsv/interface_decl.py +++ b/src/bsv/interface_decl.py @@ -369,18 +369,18 @@ class Interface(PeripheralIface): bitfmt = bitfmt.format(count) template = """\ interface {5} = interface Put#({0}) - method Action put({4}) in); + method Action put({4} in); {1} endmethod endinterface; interface {6} = interface Put#({0}) - method Action put({4}) in); + method Action put({4} in); {2} endmethod endinterface; interface {7} = interface Get#({0}) method ActionValue#({4})) get; - Vector#({0},Bit#(1)) tget; + {4} tget; {3} return tget; endmethod @@ -458,7 +458,7 @@ class InterfaceGPIO(Interface): def ifacedef2(self, *args): return self.vectorifacedef2(self.pins, len(self.pinspecs), ['out', 'out_en', 'in'], - "Vector#({0},Bit#(1)", *args) + "Vector#({0},Bit#(1))", *args) def ifacedef3pin(self, idx, pin): decfn = self.ifacefmtdecfn2