From 5ccd0bb57240146d1911102f8d73889f6e3bb52a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 13 Apr 2016 15:28:09 +0200 Subject: [PATCH] Fixed scripts/vivado/table.sh output formatting --- scripts/vivado/table.sh | 6 +++--- 1 file 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