diff options
author | David Shah <davey1576@gmail.com> | 2018-07-27 18:48:02 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-27 18:48:02 +0200 |
commit | 32559638d3beb4c0c04c420d4ce456ad6ec8d874 (patch) | |
tree | b7cd636c638b887811b58f44d89383bc7e5483e0 /ecp5 | |
parent | efda05a5c0d6d14c015382cb3fd2890673200751 (diff) | |
download | nextpnr-32559638d3beb4c0c04c420d4ce456ad6ec8d874.tar.gz nextpnr-32559638d3beb4c0c04c420d4ce456ad6ec8d874.tar.bz2 nextpnr-32559638d3beb4c0c04c420d4ce456ad6ec8d874.zip |
ecp5: Fix chipdb builder
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5')
-rwxr-xr-x | ecp5/trellis_import.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ecp5/trellis_import.py b/ecp5/trellis_import.py index cf12e775..9a4f30ab 100755 --- a/ecp5/trellis_import.py +++ b/ecp5/trellis_import.py @@ -45,7 +45,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: |