3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 14:13:23 +00:00

fix generated blackboxes for ecp5

This commit is contained in:
Miodrag Milanovic 2023-08-28 16:26:26 +02:00
parent 2f82e8eaed
commit b168ff99d0
2 changed files with 2 additions and 2 deletions

View file

@ -815,6 +815,8 @@ def xtract_cells_decl(device, cells, dirs, outf):
if l.endswith((';', ',', ")")):
l = l[:-1]
l = l.replace(")","")
if l == "":
continue
if ';' in l:
print('Weird port line in {} [{}].'.format(fname, l))
sys.exit(1)