1
0
mirror of https://github.com/pConst/basic_verilog.git synced 2025-02-04 07:12:56 +08:00
basic_verilog/scripts/show_runs_progress.tcl
Konstantin Pavlov 319de86e86 Add scripts
2023-03-27 14:18:58 +03:00

25 lines
707 B
Tcl

#------------------------------------------------------------------------------
# show_runs_progress.tcl
# Konstantin Pavlov, pavlovconst@gmail.com
#------------------------------------------------------------------------------
# INFO ------------------------------------------------------------------------
# Get current progress for every Vivado run that is currently running
set my_runs [get_runs]
puts "Progress:"
foreach run_i $my_runs {
set status [get_property STATUS [get_runs $run_i]]
if {[string match "Running*" $status]} {
puts -nonewline "$run_i: "
puts -nonewline "$status, "
puts -nonewline [file rootname [get_property PROGRESS [get_runs $run_i]]]
puts "%"
}
}