From: Luke Kenneth Casson Leighton Date: Mon, 16 Jul 2018 10:43:09 +0000 (+0100) Subject: whoops must delete type field before passing to bsv Pin class X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9760a17356408cf7faa3ec89a58d3a0faf50365;p=pinmux.git whoops must delete type field before passing to bsv Pin class --- diff --git a/src/bsv/interface_decl.py b/src/bsv/interface_decl.py index 84eb2f0..a4e3e75 100644 --- a/src/bsv/interface_decl.py +++ b/src/bsv/interface_decl.py @@ -124,6 +124,8 @@ class Interface(object): for p in pinspecs: _p = {} _p.update(p) + if _p.has_key('type'): + del _p['type'] if p.get('outen') is True: # special case, generate 3 pins del _p['outen'] for psuffix in ['out', 'outen', 'in']: