fix typos
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 04:59:45 +0000 (05:59 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 04:59:45 +0000 (05:59 +0100)
src/bsv/interface_decl.py

index 06b133feb5dc9f3735df9ec0d195eebc3a896046..4a7b033396740d3794a07668e1b382c0fd9a6428 100644 (file)
@@ -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