mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-28 07:02:55 +08:00
Add scripts
This commit is contained in:
parent
454f71e80e
commit
319de86e86
7
scripts/create_ramdisk.sh
Normal file
7
scripts/create_ramdisk.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p /media/const/ramdisk
|
||||
sudo chmod 777 /media/const/ramdisk
|
||||
sudo mount -t tmpfs -o size=32768M tmpfs /media/const/ramdisk
|
||||
cd /media/const/ramdisk
|
||||
|
24
scripts/show_runs_progress.tcl
Normal file
24
scripts/show_runs_progress.tcl
Normal file
@ -0,0 +1,24 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# 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 "%"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user