From 3abb4b2ac781cca9fbf0d44eaaae7238edf99ce8 Mon Sep 17 00:00:00 2001 From: travisutk Date: Fri, 19 Mar 2010 02:57:42 +0000 Subject: [PATCH] Glitch graphs no longer require attached goodfet. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@423 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/goodfet.glitch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/client/goodfet.glitch b/client/goodfet.glitch index 69d7b83..aee0d49 100755 --- a/client/goodfet.glitch +++ b/client/goodfet.glitch @@ -34,6 +34,13 @@ Then on a chip to be extracted, sys.exit(); +if(sys.argv[2]=="graphx11"): + glitcher.graphx11(); + exit(); +if(sys.argv[2]=="graph"): + glitcher.graph(); + exit(); + glitcher.setup(sys.argv[1]); if(sys.argv[2]=="learn"): @@ -43,8 +50,3 @@ if(sys.argv[2]=="explore"): if(sys.argv[2]=="exploit"): print "Coming soon."; -if(sys.argv[2]=="graphx11"): - glitcher.graphx11(); - -if(sys.argv[2]=="graph"): - glitcher.graph(); -- 2.20.1