aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chipdb.py
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-26 21:00:26 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-26 21:00:26 -0700
commitd5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33 (patch)
tree0f641516654085dd24bb69889ef466041234f684 /ice40/chipdb.py
parentf45e688354c13f38bda3ba4064587880a25980fe (diff)
parente5acd80247264fed41dfc1e7e07efa8a10a67fae (diff)
downloadnextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.tar.gz
nextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.tar.bz2
nextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.zip
Merge remote-tracking branch 'origin/master' into redist_slack
Diffstat (limited to 'ice40/chipdb.py')
-rw-r--r--ice40/chipdb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ice40/chipdb.py b/ice40/chipdb.py
index b5fee359..b6af8fcf 100644
--- a/ice40/chipdb.py
+++ b/ice40/chipdb.py
@@ -675,7 +675,8 @@ class BinaryBlobAssembler:
print("ref %s %s" % (name, comment))
def s(self, s, comment):
- print("str %s" % s)
+ assert "|" not in s
+ print("str |%s| %s" % (s, comment))
def u8(self, v, comment):
if comment is None: