diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-28 12:51:37 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-28 12:51:37 -0700 |
commit | 0eaa92bd6a160696c2f221501d610c99d9231bef (patch) | |
tree | 6f21160deed301364cd866adf9d8dd2244e7c995 /ecp5/trellis_import.py | |
parent | e0517caf1aeb520733edb49f13b4ef61923d41f1 (diff) | |
parent | 95ac8386542af257e487e2dbe8ad6cfe6e848a21 (diff) | |
download | nextpnr-0eaa92bd6a160696c2f221501d610c99d9231bef.tar.gz nextpnr-0eaa92bd6a160696c2f221501d610c99d9231bef.tar.bz2 nextpnr-0eaa92bd6a160696c2f221501d610c99d9231bef.zip |
Merge remote-tracking branch 'origin/master' into redist_slack
Diffstat (limited to 'ecp5/trellis_import.py')
-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: |