diff options
author | Tim 'mithro' Ansell <me@mith.ro> | 2018-06-22 21:42:50 -0700 |
---|---|---|
committer | Tim 'mithro' Ansell <me@mith.ro> | 2018-06-22 21:44:48 -0700 |
commit | a3ae94cbebb7f4b2863bac0ff086392938ebd6b3 (patch) | |
tree | d75ed607ca6d2b6fb2412f18e7aec5756fa9df5f /icebox | |
parent | e2adc23681c35bf67834d636a62f4d9c7cf18220 (diff) | |
download | icestorm-a3ae94cbebb7f4b2863bac0ff086392938ebd6b3.tar.gz icestorm-a3ae94cbebb7f4b2863bac0ff086392938ebd6b3.tar.bz2 icestorm-a3ae94cbebb7f4b2863bac0ff086392938ebd6b3.zip |
icebox_hlc2asc: Allow io_X/GLOBAL_OUTPUT_BUFFER
Diffstat (limited to 'icebox')
-rwxr-xr-x | icebox/icebox_hlc2asc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/icebox/icebox_hlc2asc.py b/icebox/icebox_hlc2asc.py index cb9ab1c..c9b2a04 100755 --- a/icebox/icebox_hlc2asc.py +++ b/icebox/icebox_hlc2asc.py @@ -1006,7 +1006,9 @@ class IOBlock: self.enable_input = True elif fields == ['disable_pull_up'] and not self.disable_pull_up: self.disable_pull_up = True - elif fields[0] == 'GLOBAL_BUFFER_OUTPUT' and fields[1] == '->' \ + elif fields[0] in ('GLOBAL_BUFFER_OUTPUT', + 'io_%d/GLOBAL_BUFFER_OUTPUT' % self.index) \ + and fields[1] == '->' \ and fields[2].startswith('glb_netwk_'): if GLB_NETWK_EXTERNAL_BLOCKS[int(fields[2][10:])] \ != (self.tile.x, self.tile.y, self.index): |