|
This example shows a simple Tcl script that you can use to report the worst case setup check in the TimeQuest user interface. A setup check verifies that the setup clock requirements of the register-to-register path is not violated. Copy the Tcl commands to a script file and run it by typing the following in the TimeQuest Console pane: tcl> source my_script.tcl # Run a setup analysis between registers "regA" and "regB", # reporting the worst-case slack if a path is found. set my_list [report_timing -from regA -to regB] set num_paths [lindex $my_list 0] set wc_slack [lindex $my_list 1] if { $num_paths > 0 } { puts "Worst case slack -from regA -to regB is $wc_slack" } The use of this design is governed by, and subject to, the terms and conditions of the Altera® Hardware Reference Design License Agreement. Design examples disclaimerThese design examples may only be used within Altera devices and remain the property of Altera Corporation. They are being provided on an “as-is” basis and as an accommodation; therefore, all warranties, representations, or guarantees of any kind (whether express, implied, or statutory) including, without limitation, warranties of merchantability, non-infringement, or fitness for a particular purpose, are specifically disclaimed. Altera expressly does not recommend, suggest, or require that these examples be used in combination with any other product not provided by Altera. |
