beautypg.com

Altera Quartus II Scripting User Manual

Page 612

background image

3–482

Chapter 3: Tcl Packages & Commands

timing

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

# List the top 5 pin-to-pin combinational paths
report_timing -tpd -npaths 5

# List the top 5 pin-to-pin combinational paths and
# write output to an out.tao file
report_timing -tpd -npaths 5 -file out.tao

# Compute min tpd and append results to existing out.tao
report_timing -min_tpd -npaths 5 -file out.tao -append

# Show longest path (register to register data path) between a* and b*
report_timing -longest_paths -npaths 1

# Specify bus
set path_count [report_timing -from in[0]]
if { $path_count == 0 } {
puts "No paths found from in[0]"
}

############################################################
# Use this script to create a custom report that contains
# both the Fast Timing Model results and the Slow Model results
# in one combined report
# Use report_timing with the -table
# Usage:
# quartus_map top
# quartus_fit top
# quartus_tan -t