diff options
author | Tim 'mithro' Ansell <me@mith.ro> | 2018-06-08 11:30:31 -0700 |
---|---|---|
committer | Tim 'mithro' Ansell <me@mith.ro> | 2018-06-14 17:23:15 -0700 |
commit | fdc6f1a1b11f9c163bc120cae2c313a77d1f25bf (patch) | |
tree | 78ff32ec169c7f35a3f059249a4a0c55aad4ae24 /icebox/icebox_hlc2asc.py | |
parent | f23b1f212affec49cc55df819cd47e0428b6eb78 (diff) | |
download | icestorm-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/icebox_hlc2asc.py')
-rwxr-xr-x | icebox/icebox_hlc2asc.py | 4 |
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 |