From 7dce58c03b56061d7a3c01db256d8e0b2728e192 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 25 Jun 2018 12:27:16 +0100 Subject: [PATCH] change enabled mode, to look lke test output --- src/bsv/interface_decl.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bsv/interface_decl.py b/src/bsv/interface_decl.py index 985dfa0..02975a8 100644 --- a/src/bsv/interface_decl.py +++ b/src/bsv/interface_decl.py @@ -161,6 +161,7 @@ class Interface(object): def wirefmt(self, *args): res = '\n'.join(map(self.wirefmtpin, self.pins)).format(*args) res += '\n' + return '\n' + res for p in self.pinspecs: name = self.pname(p['name']) typ = self.getifacetype(name.format("")) @@ -351,8 +352,8 @@ mux_interface = MuxInterface('cell', [{'name': 'mux', 'ready': False, io_interface = IOInterface( 'io', - [{'name': 'cell_out', 'enabled': False, }, - {'name': 'cell_outen', 'enabled': False, 'outenmode': True, }, + [{'name': 'cell_out', 'enabled': True, }, + {'name': 'cell_outen', 'enabled': True, 'outenmode': True, }, {'name': 'inputval', 'action': True, 'io': True}, ]) # == Peripheral Interface definitions == # -- 2.30.2