Scripting

set_clock_latency (Tcl Script API Function)



The set_clock_latency function has the following format:

Syntax set_clock_latency  -source  <delay>  <clock_pin_list>

Arguments

-source Indicates that the delay applies to clock source latency. Required.
<delay> Clock latency value. Value is floating point number, for example, 2.5. Required.
<clock_pin_list> List of clock pins, for example, {clk1 clk2 ...}. Required.

Return Value

Code Name Code String Return
TCL_ERROR 0 Ignoring pin <name> because it is not a clock pin
TCL_ERROR 0 Source clock latency was applied to a base clock -- clock will be treated as a derived clock
TCL_ERROR 1

Usage: set_clock_latency -source <delay> <clock_pin_list>

TCL_ERROR 1

Pin list <list> cannot be specified again

TCL_ERROR 1

Missing clock latency value

TCL_ERROR 1

Missing -source option -- required option in the Quartus® II software

TCL_ERROR 1 <value> is not a legal latency value
TCL_ERROR 1 Clock latency value is already specified
TCL_ERROR 1

Pin name <name> is not a clock pin

TCL_ERROR 1

Illegal source clock <name>

TCL_ERROR 1 Illegal clock latency value <value>
TCL_ERROR 1 Illegal clock latency value <value> for clock <name>
TCL_ERROR 1 Illegal clock name <name>
TCL_ERROR 1 Illegal clock pin name <name>
TCL_ERROR 1 Unknown option <name>
TCL_ERROR 1 One or more Quartus II settings and configuration files are not writable
TCL_ERROR 1 Quartus II settings and configuration files may be corrupted
TCL_ERROR 1 Unknown problem in processing the command
TCL_ERROR 1 Unknown command-line option <name>
TCL_ERROR 1 A Tcl transaction is in progress and must be completed before executing:
TCL_ERROR 1 Project has no active compiler setting
TCL_ERROR 1 No project is currently open
Description Inserts a source latency into an existing base clock. No other clock can derive from a base clock with a source latency.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.