Scripting

cmp get_timing_node_info (Tcl Script API Function)



The cmp get_timing_node_info function has the following format:

Syntax cmp get_timing_node_info <info type> <node id>

Arguments

<info type>

Information type is an argument used to request timing information and can be specified in the following forms:

  name   Returns name string.
  tsu   Returns micro tSU (for registers only). Delay is expressed in form of ns.
  th   Returns micro tH (for registers only). Delay is expressed in form of ns.
  tco   Returns micro tCO (for registers only). Delay is expressed in form of ns.
  type   Returns node type. You can type reg for register node, pin for pin node, clk for clock node, or comb for combinatorial node.
  location   Returns location in device, for example LC4 A2.
  is_loop   Detects whether a node is part of a combinatorial loop.
  is_clock_inverted   Detects whether a register is clocked by an inverted clock.

<node id>

A number, one of the members of the array returned by the command cmp get_timing_nodes.

Return Value

Code Name Code String Return
TCL_OK 0

<type, tsu, th, tco, type, or location>

TCL_OK 0

<is_scc> 1 if true, 0 if not

TCL_OK 0

<is_clock_inverted> 1 if true, 0 if not

TCL_ERROR 1 wrong # args. Usage: cmp get_timing_node_info info_type node_id
Description Returns the requested type of information for the specified timing node.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.