diff options
Diffstat (limited to 'icebox/icebox_vlog.py')
-rwxr-xr-x | icebox/icebox_vlog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/icebox/icebox_vlog.py b/icebox/icebox_vlog.py index 0080f34..64e9ea5 100755 --- a/icebox/icebox_vlog.py +++ b/icebox/icebox_vlog.py @@ -325,7 +325,7 @@ for segs in sorted(ic.group_segments(extra_connections=extra_connections, extra_ match = re.match("lutff_(\d+)/", s[2]) if match: #IpCon and DSP tiles look like logic tiles, but aren't. - if ic.device == "5k" and (s[0] == 0 or s[0] == ic.max_x): + if ic.device in ["5k", "u4k"] and (s[0] == 0 or s[0] == ic.max_x): special_5k_queue.add((s[0], s[1])) else: luts_queue.add((s[0], s[1], int(match.group(1)))) @@ -743,7 +743,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 in ("8k", "5k")): + if get_ram_config('PowerUp') == (ic.device in ("8k", "5k", "u4k")): 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 "")); |