Scripting

cmp find_period (Tcl Script API Function)



The cmp find_period function has the following format:

Syntax cmp find_period <type> <dst id> <dst clk id> <src id> <src clk id>
Arguments

<type>

The description of type. Type max or min for worst case or best case performance of a clock path.

<dst id>

The destination register id. Use empty double quotation marks ("") to return the delay for all destination registers.

<dst clk id>

The destination clock id. Use empty double quotation marks ("") to return the delay for all destination clocks.

<src id>

The source register id. Use empty double quotation marks ("") to return the delay for all source registers.

<src clk id>

The source clock id. Use empty double quotation marks ("") to return the delay for all source clocks.

Return Value

Code Name Code String Return
TCL_OK 0

list of <dst id> <dst clk id> <src id> <src clk id> <delay>ns sorted in descending or ascending order depending on max or min in the following form:
<dst id 1> <dst clk id 1> <src id 1> <src clk id 1> <delay 1> ns {<dst id 2> <dst clk id 2> <src id 2> <src clk id 2> <delay 2> ns} {...}

TCL_ERROR 1 wrong # args. Usage: cmp find_period type dst_id dst_clk_id src_id src_clk_id
Description Finds the maximum or minimum period of clock, register, or register-to-register path(s). You can determine the id number for <dst id>, <dst clk id>, <src id>, and <src clk id> by using the cmp get_timing_nodes function. (Based on the id, you can obtain the node name using the cmp get_timing_node_info function.)


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.