From 5efab52844df121442b1e7f6c9ad562e5790832e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 22 Mar 2018 04:17:18 +0000 Subject: [PATCH] no longer need MuxInterface class with consistent naming scheme --- src/interface_decl.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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}]) -- 2.30.2