mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-23 21:27:56 +00:00
Add "append" option
This commit is contained in:
parent
94260e01b8
commit
7be08218cb
6 changed files with 18 additions and 6 deletions
|
@ -21,10 +21,14 @@ from sby_core import SbyTask
|
|||
|
||||
def run(job):
|
||||
job.opt_depth = 20
|
||||
job.opt_append = 0
|
||||
|
||||
if "depth" in job.options:
|
||||
job.opt_depth = int(job.options["depth"])
|
||||
|
||||
if "append" in job.options:
|
||||
job.opt_append = int(job.options["append"])
|
||||
|
||||
for engine_idx in range(len(job.engines)):
|
||||
engine = job.engines[engine_idx]
|
||||
assert len(engine) > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue