Report the unique control sets in design
Syntax
report_control_sets [‑file <arg>] [‑append] [‑hierarchical]
[‑hierarchical_depth <arg>] [‑sort_by <args>] [‑cells <args>]
[‑return_string] [‑quiet] [‑verbose]
Returns
Report
Usage
Name | Description |
---|---|
[-file]
|
Filename to output results to. (send output to console if -file is not used) |
[-append]
|
Append to existing file |
[-hierarchical]
|
Generates text-based hierarchical report. |
[-hierarchical_depth]
|
Specifies the depth level for textual hierarchical report Default: 0 |
[-sort_by]
|
Sort criterion: can be used only when -verbose is used. Options are clk, clkEn, set. Ex: report_control_sets -verbose -sort_by {clk clkEn} |
[-cells]
|
Cells/bel_instances for which to report control sets |
[-return_string]
|
return report as string |
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
Categories
Description
Report the control sets of the current design.
Control sets are the list of control signals (Clock, CE, SR) for SLICE registers and LUTs. Registers must belong to the same control set in order to be packed into the same device resource. Registers without a control signal cannot be packed into devices with registers having control signals. A high number of control sets can cause difficulty fitting the device and can cause routing congestion and timing issues.
By default the report_control_sets
command returns an abbreviated report indicating only the number of unique control sets. However, the -verbose
arguments returns a detailed report of all control sets, for either the whole design or for the specified cells.
Arguments
-file <arg>
- (Optional) Write the report into the specified file. The specified file will be overwritten if one already exists.
-append
- (Optional) Append the output of the command to the specified file rather than overwriting it.
-append
option can only be used with the -file
option.
-hierarchical
- (Optional) Generate a hierarchical report of control sets in the design.
-hierarchical_depth
<args> - (Optional) Specifies the depth of the hierarchy to report when the -hierarchical
argument is enabled. The default value is 0, which reports the full design hierarchy.
-sort_by
<args> - (Optional) Sort the detailed report generated by the -verbose
argument according to the specified criteria. Valid sort criteria are: clk
, clkEn
, and set
.
-sort_by
argument is used with -verbose
.
-cells
<args> - (Optional) Report control sets for the specified cell objects.
-return_string
- (Optional) Directs the output to a Tcl string rather than to the standard output. The Tcl string can be captured by a variable definition and parsed or otherwise processed.
-file
option.-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
report_control_sets -verbose -sort_by {clk clkEn}
report_control_sets -verbose -sort_by {clk set} -cells [get_cells usb*]