public class Signalyzer extends NetscanGeneric
DEFAULT_STOP_STATE, newInstructionRegister
logicOutput, printInfo
Constructor and Description |
---|
Signalyzer() |
Signalyzer(int irLen) |
Modifier and Type | Method and Description |
---|---|
void |
configure(float tapVolt,
long kiloHerz)
Configures the JTAG tester, setting its parameters, and resets the JTAG
controller (clears TRST* briefly).
|
void |
disconnect()
Disconnect from the JTAG tester.
|
protected int |
hw_net_scan_dr(int numBits,
short[] scanIn,
short[] scanOut)
Write the bits
scanIn to the JTAG controller's data
register, and read back the bits scanOut . |
protected int |
hw_net_scan_ir(int numBits,
short[] scanIn,
short[] scanOut,
int drBits)
Write the bits
scanIn to the JTAG controller's instruction
register. |
void |
reset()
Reset the finite state machine of the chip's JTAG controller by briefly
setting the TRST signal LO.
|
void |
setLogicOutput(int index,
boolean newLevel)
Set the logic level for a single channel of the parallel programmable
output signals from the JTAG tester to the chip.
|
void |
tms_reset()
Reset the finite state machine of the chip's JTAG controller by briefly
setting the TMS signal HI for 5 cycles.
|
incrementNumTesters, main, padBitVector, shortsToString
isScanOutInverted, setScanOutInverted
isLogInits, isLogOthers, isLogSets, logInit, logOther, logSet, setAllLogging, setLogInits, setLogOthers, setLogSets, toString
public void configure(float tapVolt, long kiloHerz)
JtagTester
Test programs should use ChainControl.setJtagKhz(int)
and
ChainControl.setJtagVolts(float)
instead of calling this
routine directly.
tapVolt
- signal (TAP) voltage in VoltskiloHerz
- the TCK frequency in kHz (from 391 kHz to 40 MHz)public void reset()
JtagTester
reset
in class JtagTester
public void tms_reset()
JtagTester
tms_reset
in class JtagTester
public void disconnect()
JtagTester
public void setLogicOutput(int index, boolean newLevel)
JtagTester
index
- Which parallel output to setnewLevel
- set parallel output HI?protected int hw_net_scan_ir(int numBits, short[] scanIn, short[] scanOut, int drBits)
NetscanGeneric
scanIn
to the JTAG controller's instruction
register. The first bit scanned in to the chip is the LSB of
scanIn[0]
, and the first bit scanned out from the chip is
the LSB of scanOut[0]
.hw_net_scan_ir
in class NetscanGeneric
numBits
- The number of bits to shiftscanIn
- Bit sequence to write to instruction registerscanOut
- Bits scanned out of instruction registerdrBits
- Number of bits in the selected chainprotected int hw_net_scan_dr(int numBits, short[] scanIn, short[] scanOut)
NetscanGeneric
scanIn
to the JTAG controller's data
register, and read back the bits scanOut
. The first bit
scanned in to the chip is the LSB of scanIn[0]
, and the
first bit scanned out from the chip is the LSB of scanOut[0]
.
Extracted from netScan_DR to simplify overriding for different hardware,
e.g., in class Netscan4
.
hw_net_scan_dr
in class NetscanGeneric
numBits
- The number of bits to shiftscanIn
- Bit sequence to write to data registerscanOut
- Bits scanned out of data register