hdl,back: add support for name= in property checks (Assert, ...).

Co-authored-by: Jean THOMAS <virgule@jeanthomas.me>
This commit is contained in:
Jean THOMAS 2023-02-12 12:21:31 +01:00 committed by GitHub
parent 666ee27fd0
commit a7fec279aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 5 deletions

View file

@ -751,7 +751,7 @@ class _StatementCompiler(xfrm.StatementVisitor):
self.state.rtlil.cell("$" + stmt._kind, ports={
"\\A": check_wire,
"\\EN": en_wire,
}, src=_src(stmt.src_loc))
}, src=_src(stmt.src_loc), name=stmt.name)
on_Assert = on_property
on_Assume = on_property