Create ML Strategy implementation runs
Syntax
create_rqs_runs [‑reference_run <arg>] [‑quiet] [‑verbose]
Usage
Name | Description |
---|---|
[-reference_run]
|
Reference implementation run name |
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
Categories
Description
This command is used to create up to 3 implementation runs using ML Strategies that are selected based on an analysis of critical features in a design. It is a two step process, where the first step is to create the ML Strategy RQS files and the second step is to create the implementation runs and reference the RQS files.
This command copies any
required properties such as Tcl hooks from the -reference_run
,
reference the RQS file containing the strategy, and set up the directives to use
RQS. It requires ML Strategy RQS files to be present at the
location.
<impl_run_name>/MLStrategy
ML Strategies can be
generated in this location using either of the following
commands.generate_ml_strategies
generate_ml_strategies [get_runs <impl_run_name>] -suggestions_filter {APPLIED || Category==Strategy}
This
command can only be used in Project mode, on implementation runs and for the Ultrascale,
Ultrascale+, and Versal families. Refer to the Examples section for usage on both the
project and non-project use-cases for using ML Strategies.Arguments
-reference_run
<arg> - (Required) A reference implementation run
object which has RQS strategy files generated in the
<run_name>/MLStrategy
folder.
-quiet
- (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
-verbose
- (Optional) Temporarily override any message limits and return all messages from this command.
set_msg_config
command.Examples
generate_ml_strategies [get_runs impl_1] -suggestions_filter {APPLIED || Category==Strategy}
create_rqs_runs -reference_run [get_runs impl_1]
AUTO_RQS
feature of the run.
AUTO_RQS
also update other QoR Suggestions. - Add the following commands into the Tcl
file.
report_qor_suggestions write_qor_suggestions -strategy_dir ./MLStrategy -filter {APPLIED || Category == Strategy}
- Add the Tcl file to the post route Tcl
hook.
import_files -fileset utils_1 post_route.tcl set_property STEPS.ROUTE_DESIGN.TCL.POST [ get_files post_route.tcl -of [get_fileset utils_1] ] [get_runs impl_1]
- Execute the following command to create new
runs.
create_rqs_runs -reference_run [get_runs impl_1]
./MLStrategy
report_qor_suggestions
write_qor_suggestions -strategy_dir ./MLStrategy -filter {APPLIED || Category == Strategy}
<insert after link design or open checkpoint>
read_qor_suggestions ./MLStrategy/<top>_routedSuggestionFile[1||2||3].rqs
opt_design -directive RQS
place_design -directive RQS
phys_opt_design -directive RQS
route_design -directive RQS