projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74c0578
)
MarinaTest: use GPIOs on blue box for master clear (not updated in all places, though)
author
Adam Megacz
<adam@megacz.com>
Fri, 21 Aug 2009 20:13:38 +0000
(13:13 -0700)
committer
Adam Megacz
<adam@megacz.com>
Sat, 22 Aug 2009 21:23:31 +0000
(14:23 -0700)
src/com/sun/vlsi/chips/marina/test/MarinaTest.java
patch
|
blob
|
history
diff --git
a/src/com/sun/vlsi/chips/marina/test/MarinaTest.java
b/src/com/sun/vlsi/chips/marina/test/MarinaTest.java
index
42e3486
..
192a109
100644
(file)
--- a/
src/com/sun/vlsi/chips/marina/test/MarinaTest.java
+++ b/
src/com/sun/vlsi/chips/marina/test/MarinaTest.java
@@
-234,7
+234,7
@@
public class MarinaTest {
: cmdArgs.jtagShift
? 20000
: model instanceof ChipModel
: cmdArgs.jtagShift
? 20000
: model instanceof ChipModel
- ? 1
+ ? 1000
: 1000000;
System.err.println("constructing jtag controller");
: 1000000;
System.err.println("constructing jtag controller");
@@
-242,6
+242,15
@@
public class MarinaTest {
model instanceof SimulationModel
? ((SimulationModel)model).createJtagTester("TCK", "TMS", "TRSTb", "TDI", "TDO")
: new Netscan4("jtag3", 2);
model instanceof SimulationModel
? ((SimulationModel)model).createJtagTester("TCK", "TMS", "TRSTb", "TDI", "TDO")
: new Netscan4("jtag3", 2);
+ if (tester instanceof Netscan4) {
+ ((Netscan4)tester).reset();
+ // master clear
+ // not sure if "GPIO1" means "index 0" or not
+ JtagLogicLevel mc0 = new JtagLogicLevel(tester, 0);
+ JtagLogicLevel mc1 = new JtagLogicLevel(tester, 1);
+ mc0.setLogicState(true);
+ mc1.setLogicState(true);
+ }
Logger.setLogInits(true);
tester.setLogSets(true);
tester.setLogOthers(true);
Logger.setLogInits(true);
tester.setLogSets(true);
tester.setLogOthers(true);