diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-04-13 15:28:09 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-04-13 15:28:09 +0200 |
commit | 5ccd0bb57240146d1911102f8d73889f6e3bb52a (patch) | |
tree | 9658348c228770a14eeeb6cb968fbd1b6cd22970 /scripts | |
parent | faa1c1a159c4c0cf4a0b3168cfb07708d872fb8e (diff) | |
download | picorv32-5ccd0bb57240146d1911102f8d73889f6e3bb52a.tar.gz picorv32-5ccd0bb57240146d1911102f8d73889f6e3bb52a.zip |
Fixed scripts/vivado/table.sh output formatting
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vivado/table.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vivado/table.sh b/scripts/vivado/table.sh index 190ef3f..f81f586 100644 --- a/scripts/vivado/table.sh +++ b/scripts/vivado/table.sh @@ -1,8 +1,8 @@ #!/bin/bash dashes="----------------------------------------------------------------" -printf '| %-20s | %-10s | %-20s |\n' "Device" "Speedgrade" "Clock Period (Freq.)" -printf '|:%.20s |:%.10s:| %.20s:|\n' $dashes $dashes $dashes +printf '| %-25s | %-10s | %-20s |\n' "Device" "Speedgrade" "Clock Period (Freq.)" +printf '|:%.25s |:%.10s:| %.20s:|\n' $dashes $dashes $dashes for x in $( grep -H . tab_*/results.txt ) do @@ -15,5 +15,5 @@ do xcvu) d="Xilinx Virtex UltraScale" ;; esac speedtxt=$( printf '%s.%s ns (%d MHz)' ${speed%?} ${speed#?} $((10000 / speed)) ) - printf '| %-20s | %-10s | %20s |\n' "$d" "-$grade" "$speedtxt" + printf '| %-25s | %-10s | %20s |\n' "$d" "-$grade" "$speedtxt" done |