From fdc6f1a1b11f9c163bc120cae2c313a77d1f25bf Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Fri, 8 Jun 2018 11:30:31 -0700 Subject: icebox: Fix issue introduced by f7e9fec63a3f88bee8c27e858da319ea03d68d14 Current code fails with the following; ``` Parse error in line 94: span4_y3_g15_6 -> local_g0_3 -> D_OUT_0 ``` --- icebox/icebox_hlc2asc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icebox/icebox_hlc2asc.py b/icebox/icebox_hlc2asc.py index 08b5556..0506b0f 100755 --- a/icebox/icebox_hlc2asc.py +++ b/icebox/icebox_hlc2asc.py @@ -871,7 +871,7 @@ class LogicCell: elif fields[-1].startswith('in_'): self.tile.read(fields[:-1] + [prefix + fields[-1]]) else: - raise ParseError + self.tile.read(fields) return bits = ''.join([ @@ -1037,7 +1037,7 @@ class IOBlock: 'OUT_ENB'): self.tile.read(fields[:-1] + [prefix + fields[-1]]) else: - raise ParseError + self.tile.read(fields) else: raise ParseError -- cgit v1.2.3