From: Luke Kenneth Casson Leighton Date: Thu, 22 Mar 2018 04:17:18 +0000 (+0000) Subject: no longer need MuxInterface class with consistent naming scheme X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5efab52844df121442b1e7f6c9ad562e5790832e;p=pinmux.git no longer need MuxInterface class with consistent naming scheme --- diff --git a/src/interface_decl.py b/src/interface_decl.py index 33f6688..1934870 100644 --- a/src/interface_decl.py +++ b/src/interface_decl.py @@ -108,22 +108,8 @@ class Interface(object): return '\n' + res + '\n' -class MuxInterface(Interface): - - def ifacefmtdecfn2(self, name): - return "cell{0}_mux" - - def ifacefmtdecfn(self, name): - return "cell{0}_mux" - - def ifacefmtinfn(self, name): - return "wrcell{0}_mux" - class IOInterface(Interface): - #def ifacefmtdecfn(self, name): - # return "cell{0}_mux" - def ifacefmtoutfn(self, name): return "cell{0}_mux_out.%s" % (name[3:-4]) @@ -133,7 +119,7 @@ class IOInterface(Interface): # ========= Interface declarations ================ # -mux_interface = MuxInterface([{'name': 'cell{0}_mux', 'ready':False, +mux_interface = Interface([{'name': 'cell{0}_mux', 'ready':False, 'enabled':False, 'bitspec': '{1}', 'action': True}])