: cmdArgs.jtagShift
? 20000
: model instanceof ChipModel
- ? 1
+ ? 1000
: 1000000;
System.err.println("constructing jtag controller");
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);