From 4e6d6c048a89a60bade6508938706b729847cf95 Mon Sep 17 00:00:00 2001 From: Adam Megacz Date: Sat, 10 Oct 2009 19:52:24 -0700 Subject: [PATCH] change marina12-data to a self-executing gnuplot file --- chips/marina/data/marina12-data.txt | 126 +++++++++++++++++------------------ 1 file changed, 61 insertions(+), 65 deletions(-) diff --git a/chips/marina/data/marina12-data.txt b/chips/marina/data/marina12-data.txt index 677d647..c4ee25f 100644 --- a/chips/marina/data/marina12-data.txt +++ b/chips/marina/data/marina12-data.txt @@ -1,6 +1,8 @@ # # Test Data from Marina Chip #12 # +# This file is valid gnuplot input. +# # Each test consists of setting the input voltage, loading the # instruction ring with a certain number of NOPS, and then observing # the number of executions which occur in a 300ms time period @@ -20,27 +22,6 @@ # permanent damage; the chip continued to malfunction when set back # to normal voltages. # -# This file is in a format suitable for being read by gnuplot. I -# use the following plot commands: -# -# set terminal pdf -# set title "Marina Canopy Plot, Chip #12" -# set output "marina12-data.pdf" -# set xlabel "number of instructions in ring" -# set ylabel "BILLIONS of instructions executed per second" -# -# set arrow 1 from 1.5,3.716 to 12,3.716 nohead linetype 4 lc rgb "#000000" -# set label 1 "3.7 GOP/s" at 0.3,3.7 left -# -# set arrow 2 from 1.5,7.67 to 10,7.67 nohead linetype 4 lc rgb "#000000" -# set label 2 "7.6 GOP/s" at 0.3,7.67 left -# -# plot "marina12-data.txt" index 3 using 2:3 title "" with lines lc rgb "#aaaaaa", \ -# "" index 2 using 2:3 title "vdd=2.95" with linespoints lw 6 pt 8 lc rgb "#dd0000", \ -# "" index 0 using 2:3 title "vdd=1.00" with linespoints lw 6 pt 6 lc rgb "#00dd00", \ -# "" index 1 using 2:3 title "vdd=0.40" with linespoints lw 6 pt 10 lc rgb "#0000dd" -# quit -# # A single blank line has been placed between each group of samples # at a particular vdd setting, and the groups have been re-ordered # so that the nominal-vdd group comes first, followed by min-vdd, @@ -50,53 +31,22 @@ # collections. For example, "plot index 0:2 ..." will give you just # the min, nominal, and max contours. # +set terminal pdf +set title "Marina Canopy Plot, Chip #12" +set output "marina12-data.pdf" +set xlabel "number of instructions in ring" +set ylabel "BILLIONS of instructions executed per second" +set arrow 1 from 1.5,3.716 to 12,3.716 nohead linetype 4 lc rgb "#000000" +set label 1 "3.7 GOP/s" at 0.3,3.7 left +set arrow 2 from 1.5,7.67 to 10,7.67 nohead linetype 4 lc rgb "#000000" +set label 2 "7.6 GOP/s" at 0.3,7.67 left -1.0 0 0.0 -1.0 1 0.9275696019999999 -1.0 2 1.8573051995 -1.0 3 2.78130313 -1.0 4 3.7000090764999998 -1.0 5 3.715053691 -1.0 6 3.7163408845 -1.0 7 3.712744251 -1.0 8 3.7130339085000004 -1.0 9 3.714913011 -1.0 10 2.8342246044999997 -1.0 11 1.4261572415 -1.0 12 0.0 - - -0.4 0 0.0 -0.4 1 0.0698507965 -0.4 2 0.139327018 -0.4 3 0.209870672 -0.4 4 0.26231044849999996 -0.4 5 0.26232253949999995 -0.4 6 0.26215192049999997 -0.4 7 0.2624194395 -0.4 8 0.262169147 -0.4 9 0.26219066399999996 -0.4 10 0.208605706 -0.4 11 0.10484677849999999 -0.4 12 0.0 - - -2.95 0 0.0 -2.95 1 2.067674824 -2.95 2 4.045029974 -2.95 3 5.956288443999999 -2.95 4 7.666481924000001 -2.95 5 7.649816762 -2.95 6 7.676890172000002 -2.95 7 7.658147881 -2.95 8 7.661990915 -2.95 9 7.6592752520000005 -2.95 10 6.187673244 -2.95 11 3.212041193 -2.95 12 0.0 - +plot '-' using 2:3 title "" with lines lc rgb "#aaaaaa", \ + '-' using 2:3 title "vdd=1.00" with linespoints lw 6 pt 6 lc rgb "#00dd00", \ + '-' using 2:3 title "vdd=0.40" with linespoints lw 6 pt 10 lc rgb "#0000dd", \ + '-' using 2:3 title "vdd=2.95" with linespoints lw 6 pt 8 lc rgb "#dd0000" 0.45 0 0.0 0.45 1 0.1168395615 @@ -783,4 +733,50 @@ 2.9 10 6.1875573290000005 2.9 11 3.218997857 2.9 12 0.0 +e + +1.0 0 0.0 +1.0 1 0.9275696019999999 +1.0 2 1.8573051995 +1.0 3 2.78130313 +1.0 4 3.7000090764999998 +1.0 5 3.715053691 +1.0 6 3.7163408845 +1.0 7 3.712744251 +1.0 8 3.7130339085000004 +1.0 9 3.714913011 +1.0 10 2.8342246044999997 +1.0 11 1.4261572415 +1.0 12 0.0 +e + +0.4 0 0.0 +0.4 1 0.0698507965 +0.4 2 0.139327018 +0.4 3 0.209870672 +0.4 4 0.26231044849999996 +0.4 5 0.26232253949999995 +0.4 6 0.26215192049999997 +0.4 7 0.2624194395 +0.4 8 0.262169147 +0.4 9 0.26219066399999996 +0.4 10 0.208605706 +0.4 11 0.10484677849999999 +0.4 12 0.0 +e + +2.95 0 0.0 +2.95 1 2.067674824 +2.95 2 4.045029974 +2.95 3 5.956288443999999 +2.95 4 7.666481924000001 +2.95 5 7.649816762 +2.95 6 7.676890172000002 +2.95 7 7.658147881 +2.95 8 7.661990915 +2.95 9 7.6592752520000005 +2.95 10 6.187673244 +2.95 11 3.212041193 +2.95 12 0.0 +e -- 1.7.10.4