mirror of https://github.com/YosysHQ/yosys.git
Fix bug in smtio unroll code
This commit is contained in:
parent
66a1617b69
commit
6e152f7aa1
|
@ -215,9 +215,8 @@ class SmtIo:
|
|||
stmt = stmt.strip()
|
||||
|
||||
if self.nocomments or self.unroll:
|
||||
if stmt.startswith(";"):
|
||||
return
|
||||
stmt = re.sub(r" ;.*", "", stmt)
|
||||
stmt = re.sub(r" *;.*", "", stmt)
|
||||
if stmt == "": return
|
||||
|
||||
if unroll and self.unroll:
|
||||
stmt = self.unroll_buffer + stmt
|
||||
|
|
Loading…
Reference in New Issue