diff options
Diffstat (limited to 'picorv32/scripts/quartus/table.sh')
-rw-r--r-- | picorv32/scripts/quartus/table.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/picorv32/scripts/quartus/table.sh b/picorv32/scripts/quartus/table.sh deleted file mode 100644 index f5e6efe..0000000 --- a/picorv32/scripts/quartus/table.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -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 - read _ size device grade _ speed < <( echo "$x" | tr _/: ' ' ) - case "$device" in - ep4ce) d="Altera Cyclone IV E" ;; - ep4cgx) d="Altera Cyclone IV GX" ;; - 5cgx) d="Altera Cyclone V GX" ;; - esac - speedtxt=$( printf '%s.%s ns (%d MHz)' ${speed%?} ${speed#?} $((10000 / speed)) ) - printf '| %-25s | %-10s | %20s |\n' "$d" "-$grade" "$speedtxt" -done |