The creation of the RQS file is the same as project mode. This writes the
suggestion file that must then be added to the run using read_qor_suggestions
. The read_qor_suggestions
command should be run either before synth_design
or before opt_design
.
The equivalent Tcl commands for this flow are as follows:
read_vhdl <some_file>.vhd
read_qor_suggestions all_enabled_suggestions.rqs
synth_design -top <top> -part <part>
opt_design
...
route_design
report_qor_suggestions -file design_rqs_routed.rpt
write_qor_suggestions -force all_enabled_suggestions.rqs
In order to reduce experimentation, find out which suggestions works best with
the current design. This way you can focus on suggestions that have a good return across
a general design base. The following commands enable suggestions after
opt_design
and write suggestions after the final design
stage to a file for recycling into the next design run. This is achieved by focusing on
suggestions generated with the AUTO_RQS_FLOW
property:opt_design
report_qor_suggestions -file opt_report_qor_suggestions.rpt
set_property ENABLED 1 [get_qor_suggestions -filter {GENERATED_AT==opt_design && SUGGESTION_SOURCE=="Current Run" && ENABLED && APPLICABLE_FOR==place_design && AUTO_RQS_FLOW}]
place_design
...
# Final command either route_design or phys opt design
report_qor_suggestions -file route_report_qor_suggestions.rpt
write_qor_suggestions -of_objects [get_qor_suggestion -filter {APPLIED || (AUTO_RQS_FLOW && APPLIED==0)}] -file postroute.rqs
Note: The
report_qor_suggestions
command cannot be run until a design is
loaded.