mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-15 09:48:43 +00:00
sby: core: setup: added the selection inversion and assertion removal to the script generation
This commit is contained in:
parent
eb90f08086
commit
19061bc422
|
@ -548,6 +548,7 @@ class SbyConfig:
|
|||
|
||||
def gen_setup_script(self):
|
||||
script = '# Autogenerated by SBY stage setup\n'
|
||||
script += 'select *'
|
||||
|
||||
def cutpoint(v):
|
||||
return f"cutpoint {v}"
|
||||
|
@ -577,8 +578,9 @@ class SbyConfig:
|
|||
'invoke': invoke(v)
|
||||
}.get(k, '') + '\n'
|
||||
|
||||
# TODO: Invert selection, then `chformal -assert -remove`
|
||||
|
||||
script += 'select -set _setup %\n'
|
||||
script += 'select @_setup %n\n'
|
||||
script += 'chformal -assert -remove %\n'
|
||||
return script
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue