21.8.53 set_clock_to_output

Description

Defines the timing budget available inside the FPGA for an output relative to a clock.

This non-standard sdc command is intended to constrain an output flip-flop clock-to-output time. This command is only honored by Libero SoC Timing analysis engine. It is not honored by Libero SoC Place and Route, Synplify Synthesis, or any other sdc-compliant synthesis tool. Timing analysis is performed from the initial clock source. If sdc-compliant commands are desired, see set_max_delay, set_min_delay, and set_output_delay.

The clock argument for this command must be set to the actual clock driving the output flip-flop.

set_clock_to_output delay_value -clock clock_ref [–max] [–min] output_list

Arguments

ParameterTypeDescription
delay_valueintegerSpecifies the clock to output delay in nanoseconds. This time represents the amount of time available inside the FPGA between the launch clock edge and the data change at the output port.
clockstringSpecifies the clock to which the specified clock to output is related. This is a mandatory argument.
Note: The clock parameter needs to be set to the clock driving the FF. If it is a generated clock, STA is performed from the initial clock source.
maxNoneSpecifies that delay_value refers to the maximum clock to output at the specified output. If you do not specify –max or –min options, the tool assumes maximum and minimum clock to output constraint values to be equal.
minNoneSpecifies that delay_value refers to the minimum clock to output at the specified output. If you do not specify –max or –min options, the tool assumes maximum and minimum clock to output constraint values to be equal.
output_listlist of stringsProvides a list of output ports in the current design to which delay_value is assigned. If you need to specify more than one object, enclose the objects in braces ({}).

Error Codes

Error CodeDescription
NoneRequired parameter -clock is missing

Supported Families

PolarFire®
PolarFire SoC
SmartFusion® 2
IGLOO® 2
RTG4

Examples

The following example sets an output delay of 0.3 ns for port Q relative to the clk clock.

set_clock_to_output -max 0.3 -clock { clk } [ get_ports { Q } ]

The following example sets an output delay of 12 ns for port Q relative to the FCCC_C0_0/FCCC_C0_0/GL0 clock. Timing analysis will be performed from the CLK0_PAD clock source, assuming that there is a “create_clock” on CLK0_PAD and a “create_generated_clock” on FCCC_C0_0/FCCC_C0_0/GL0 whose source is defined as the CCC reference clock CLK0_PAD. It is recommended to use the supplied SDC constraints generated with the configured CCC core. The supplied SDC constraints can be added to the top-level design using the Derive Constraints action in the Libero SoC Constraints Manager or using the Derive Constraints utility described in the Custom Flow User Guide

set_clock_to_output -max 12 -clock { FCCC_C0_0/FCCC_C0_0/GL0 } [ get_ports { Q } ]

Related Examples on GitHub