diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-07-04 12:24:38 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-07-04 12:24:38 +0200 |
commit | 3fb5934d547f4105d1aec4dfb71ea8934daf754b (patch) | |
tree | 3db7cc5d97757864159f36d7beeceb600e84cb6f /icebox/icebox_vlog.py | |
parent | 832bcbe4a2a2733cd76d70805390cee55524b0bc (diff) | |
parent | 96511b32b1ee0dbae91f9878094c8f12f5bdafaa (diff) | |
download | icestorm-3fb5934d547f4105d1aec4dfb71ea8934daf754b.tar.gz icestorm-3fb5934d547f4105d1aec4dfb71ea8934daf754b.tar.bz2 icestorm-3fb5934d547f4105d1aec4dfb71ea8934daf754b.zip |
Merge branch 'tannewt'
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 "")); |