mirror of
https://github.com/YosysHQ/sby.git
synced 2025-10-29 20:12:29 +00:00
Add cycle_width option for sim's new -width option
This commit is contained in:
parent
dbbc25a139
commit
6d0a1ed960
3 changed files with 8 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ def sim_witness_trace(prefix, task, engine_idx, witness_file, *, append, inducti
|
|||
sim_args = ""
|
||||
if inductive:
|
||||
sim_args += " -noinitstate"
|
||||
if task.opt_cycle_width != 10:
|
||||
formats.append(f"-width {task.opt_cycle_width}")
|
||||
print(f"sim -hdlname -summary {trace_name}.json -append {append}{sim_args} -r {trace_name}.yw {' '.join(formats)}", file=f)
|
||||
|
||||
def exit_callback(retval):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue