aboutsummaryrefslogtreecommitdiffstats
path: root/icebox
diff options
context:
space:
mode:
authorTim 'mithro' Ansell <me@mith.ro>2018-06-08 11:30:31 -0700
committerTim 'mithro' Ansell <me@mith.ro>2018-06-14 17:23:15 -0700
commitfdc6f1a1b11f9c163bc120cae2c313a77d1f25bf (patch)
tree78ff32ec169c7f35a3f059249a4a0c55aad4ae24 /icebox
parentf23b1f212affec49cc55df819cd47e0428b6eb78 (diff)
downloadicestorm-fdc6f1a1b11f9c163bc120cae2c313a77d1f25bf.tar.gz
icestorm-fdc6f1a1b11f9c163bc120cae2c313a77d1f25bf.tar.bz2
icestorm-fdc6f1a1b11f9c163bc120cae2c313a77d1f25bf.zip
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 ```
Diffstat (limited to 'icebox')
-rwxr-xr-xicebox/icebox_hlc2asc.py4
1 files 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