diff options
author | Tom Verbeure <tom_verbeure@yahoo.com> | 2016-08-29 23:22:53 -0700 |
---|---|---|
committer | Tom Verbeure <tom_verbeure@yahoo.com> | 2016-08-29 23:22:53 -0700 |
commit | 248560c18d32bb11d73a9ecfb448581af6930c0c (patch) | |
tree | a64354d20297ccd4130a40d78e7977aaabdd97d7 /scripts/quartus/table.sh | |
parent | 71a46afa791a642bd8de012f1c0b236d6066ab05 (diff) | |
download | picorv32-248560c18d32bb11d73a9ecfb448581af6930c0c.tar.gz picorv32-248560c18d32bb11d73a9ecfb448581af6930c0c.zip |
table.txt generation works
Diffstat (limited to 'scripts/quartus/table.sh')
-rw-r--r-- | scripts/quartus/table.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/quartus/table.sh b/scripts/quartus/table.sh index f81f586..f5e6efe 100644 --- a/scripts/quartus/table.sh +++ b/scripts/quartus/table.sh @@ -8,11 +8,9 @@ for x in $( grep -H . tab_*/results.txt ) do read _ size device grade _ speed < <( echo "$x" | tr _/: ' ' ) case "$device" in - xc7a) d="Xilinx Artix-7T" ;; - xc7k) d="Xilinx Kintex-7T" ;; - xc7v) d="Xilinx Virtex-7T" ;; - xcku) d="Xilinx Kintex UltraScale" ;; - xcvu) d="Xilinx Virtex UltraScale" ;; + 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" |