public class ChainControlFake extends ChainControl
errTestSeverity, irBadSeverity, noTestSeverity, system, xmlFile
Constructor and Description |
---|
ChainControlFake(java.lang.String chipName,
int lengthIR,
JtagTester jtagTester,
float jtagVolts,
int jtagKhz) |
Modifier and Type | Method and Description |
---|---|
void |
addScanBits(java.lang.String chain,
java.lang.String scanElementName,
int length,
java.lang.String access,
java.lang.String clears,
java.lang.String dataNet,
java.lang.String dataNet2)
Add 1 or more scan chain bits to the specified chain.
|
boolean |
shift(java.lang.String chainRoot,
boolean readEnable,
boolean writeEnable,
int irBadSeverity,
int noTestSeverity,
int errTestSeverity)
Shift
inBits (cf. |
finalize, findNode, findNode, findNode, getChainPaths, getChainPaths, getChips, getDescendents, getExpectedBits, getInBits, getJtag, getJtagKhz, getJtagVolts, getLength, getLenIR, getLenIR, getOpcode, getOutBits, getParentChain, getSubchainPin, getSystem, getXmlFile, invalidate, main, processMasterClear, resetInBits, resetInBits, setInBits, setInBits, setInBits, setJtagKhz, setJtagVolts, setSubchainPin, shift, shiftOneBit
isLogInits, isLogOthers, isLogSets, logInit, logOther, logSet, setAllLogging, setLogInits, setLogOthers, setLogSets, toString
public ChainControlFake(java.lang.String chipName, int lengthIR, JtagTester jtagTester, float jtagVolts, int jtagKhz)
public void addScanBits(java.lang.String chain, java.lang.String scanElementName, int length, java.lang.String access, java.lang.String clears, java.lang.String dataNet, java.lang.String dataNet2)
chain
- the name of the chainscanElementName
- the name of the scan chain elementlength
- the number of bits in the element (it could by an arrayed instance)access
- the access of the element (see configureXML.bsh)clears
- the clears of the element (see configureXML.bsh)dataNet
- the name of the data network that the scan chain writes to, or null if none.
Note that dataNet can no longer be an internal net to the scan chain element, so
the scanElementName is not used in the hierarchical path to the spice net.dataNet2
- the name of the data-bar network that the scan chain writes to, or null if none
Note that dataNet can no longer be an internal net to the scan chain element, so
the scanElementName is not used in the hierarchical path to the spice net.public boolean shift(java.lang.String chainRoot, boolean readEnable, boolean writeEnable, int irBadSeverity, int noTestSeverity, int errTestSeverity)
ChainControl
inBits
(cf. ChainControl.setInBits(java.lang.String, com.sun.electric.tool.simulation.test.BitVector)
) into a root scan
chain on the chip. Like ChainControl.shift(String, boolean, boolean)
, except
that the response to the possible error conditions are specified
explicitly using the Infrastructure.SEVERITY_* constants. The bits that
are shifted out (see ChainControl.getOutBits(java.lang.String)
) are compared with expectation
(see ChainControl.getExpectedBits(java.lang.String)
).shift
in class ChainControl
chainRoot
- path name to the root scan chain, starting at the chip nodereadEnable
- true to enable reading from the scan chain latches.writeEnable
- true to enable writing to the scan chain latches.irBadSeverity
- action when bits scanned out of the instruction register are
wrongnoTestSeverity
- action when no consistency check is possibleerrTestSeverity
- action when consistency check on scan chain functioning failsInfrastructure.SEVERITY_NOMESSAGE
,
Infrastructure.SEVERITY_WARNING
,
Infrastructure.SEVERITY_NONFATAL
,
Infrastructure.SEVERITY_FATAL