1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-25 03:44:35 +00:00

Improvements in bbasm

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf
2018-07-26 15:22:52 +02:00
parent 171d00ee37
commit a86c4f2f5d
2 changed files with 83 additions and 9 deletions

View File

@@ -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: