mirror of
https://github.com/YosysHQ/sby.git
synced 2025-09-04 02:28:08 +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
1 changed files with 4 additions and 2 deletions
|
@ -548,6 +548,7 @@ class SbyConfig:
|
||||||
|
|
||||||
def gen_setup_script(self):
|
def gen_setup_script(self):
|
||||||
script = '# Autogenerated by SBY stage setup\n'
|
script = '# Autogenerated by SBY stage setup\n'
|
||||||
|
script += 'select *'
|
||||||
|
|
||||||
def cutpoint(v):
|
def cutpoint(v):
|
||||||
return f"cutpoint {v}"
|
return f"cutpoint {v}"
|
||||||
|
@ -577,8 +578,9 @@ class SbyConfig:
|
||||||
'invoke': invoke(v)
|
'invoke': invoke(v)
|
||||||
}.get(k, '') + '\n'
|
}.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
|
return script
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue