diff options
author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-06-23 22:53:54 -0700 |
---|---|---|
committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-06-23 22:53:54 -0700 |
commit | a25c8679ac37df5219e1d7a8cdd932288cd596b1 (patch) | |
tree | 1b6a0bc0c5b1dd39e210429a934918cb6b4c44a1 /icebox/icebox_vlog.py | |
parent | 2a7139115c08af847a5e9d19be3229dd627f4be9 (diff) | |
download | icestorm-a25c8679ac37df5219e1d7a8cdd932288cd596b1.tar.gz icestorm-a25c8679ac37df5219e1d7a8cdd932288cd596b1.tar.bz2 icestorm-a25c8679ac37df5219e1d7a8cdd932288cd596b1.zip |
More work figuring out values in icebox.py
Diffstat (limited to 'icebox/icebox_vlog.py')
-rwxr-xr-x | icebox/icebox_vlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icebox/icebox_vlog.py b/icebox/icebox_vlog.py index 4033f01..e046de1 100755 --- a/icebox/icebox_vlog.py +++ b/icebox/icebox_vlog.py @@ -728,7 +728,7 @@ for tile in ic.ramb_tiles: if len(wire_bits) > 1: return "{%s}" % ", ".join(wire_bits) return wire_bits[0] - if get_ram_config('PowerUp') == (ic.device == "8k"): + if get_ram_config('PowerUp') == (ic.device in ("8k", "5k")): if not strip_comments: text_func.append("// RAM TILE %d %d" % tile) text_func.append("SB_RAM40_4K%s%s #(" % ("NR" if negclk_rd else "", "NW" if negclk_wr else "")); |