public abstract class BypassJtagTester extends JtagTester
SimulationModel.setBypassScanning(boolean)
A further optimization is to only read from elements whose state is unknown,
and only write to elements whose state is unknown or changing. This
reduces the number of direct reads and writes when few bits
change between shifts. Only scan chain elements with shadow registers,
or dual ported shadow registers, can take advantage of this functionality.
This option is enabled by
SimulationModel.setOptimizedDirectReadsWrites(boolean)
Modifier and Type | Field and Description |
---|---|
protected double |
delay |
protected SimulationModel |
model |
protected float |
tapVolt |
logicOutput, printInfo
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkDataNets(ChainNode chain,
int set,
BitVector bitsToCheck)
Check that the bits in the chain have been applied to the dataNets for the
scan chain.
|
protected void |
doBypassScanning(ChainNode chain,
boolean readEnable,
boolean writeEnable) |
protected static java.util.List |
getDataNets(SubchainNode chain,
int set)
Get a list of DataNets from the chain.
|
protected static java.util.List |
getDataNetsOld(SubchainNode chain,
int set)
Deprecated.
this was used when the xml file contains data nets specified hierarchically
along with the scan chain bits. I have since split the data nets out into a separate,
flat listing.
|
boolean |
isBypassScanning() |
protected BitVector |
readDirect(ChainNode chain)
Read directly from the data bits the scan chain controls, rather than
applying "read" and scanning out the data.
|
protected BitVector |
writeDirect(ChainNode chain)
Write scan chain data directly to the data bits, rather than
scanning them in and then applying "write".
|
isScanOutInverted, reset, setScanOutInverted, tms_reset
isLogInits, isLogOthers, isLogSets, logInit, logOther, logSet, setAllLogging, setLogInits, setLogOthers, setLogSets, toString
protected final SimulationModel model
protected float tapVolt
protected double delay
public boolean isBypassScanning()
protected void doBypassScanning(ChainNode chain, boolean readEnable, boolean writeEnable)
protected static java.util.List getDataNets(SubchainNode chain, int set)
chain
- the chain to readset
- which set to get. Currently only two supported, so only 0 or 1protected static java.util.List getDataNetsOld(SubchainNode chain, int set)
chain
- the chain to readset
- which set to get. Currently only two supported, so only 0 or 1protected boolean checkDataNets(ChainNode chain, int set, BitVector bitsToCheck)
chain
- the scan chainset
- which set of nets to check. Only 0 and 1 currently.bitsToCheck
- a map of which bits to checkprotected BitVector readDirect(ChainNode chain)
chain
- the scan chainprotected BitVector writeDirect(ChainNode chain)
chain
- the scan chain