Hi, I was using <this> script in ORFS to find the ...
# openroad
h
Hi, I was using this script in ORFS to find the minimum clock period for a given design but I noticed that the period value written to the SDC depends on the period in the original SDC file provided. Is this the correct script to find the minimum clock period or is there a different command?
m
The period will depend on placement & routing. If you give a different input period you will likely get a different layout with a different min period
h
This is just post-synth. Sorry, forgot to mention that.
m
@Matt Liberty Please let us know what you think after your trip. Enjoy ๐Ÿ™‚
m
yosys/abc depends on the clock period as well so I guess it will be similar. You can ask what min clock period is for a given implementation, not what the minimum could be under varying input conditions (the autotuner is about the best you can do there)
h
yosys/abc depends on the clock period as well so I guess it will be similar
The netlists generated were identical though...
m
Perhaps your variation isn't large enough to trigger a change. I would have to see a test case. In general the answer stands though as there is no command to tell you what is conceivable possible.
h
The variation was 100us to 1000us in clock period. Each time it generated the same netlist but the min clock period was roughly proportional to the input clock period (19us, 38us, 57us, 76us, ..., 190us)
m
It is common to stop optimizing once the target value is met. If you set it to something slower then the tool will stop at that value.
h
How is the optimization target decided? Is there any documentation for the
sta::worst_slack_cmd
? I couldn't find anything in the OpenSTA help command.
m
You should not be calling swig wrappers in the sta namespace. The command is report_wns
The target is zero slack based on the SDC constraints
๐Ÿ‘ 1
h
You should not be calling swig wrappers in the sta namespace.
The command was in the
write_ref_sdc.tcl
file in ORFS.
m
The value was needed in a script rather than the text report. The command should be used in general and is what will be documented
๐Ÿ‘ 1