|
WIDAR Classes | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.nrc.widar.vciMapper.Board
ca.nrc.widar.vciMapper.BaselineBoard
public class BaselineBoard
Class BaselineBoard
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Nested Class Summary | |
|---|---|
static class |
BaselineBoard.Side
Used to identify Baseline Board "side": X or Y. |
static class |
BaselineBoard.St1PpOnDiagonal
|
static class |
BaselineBoard.WaferSet
Used to identify set of input wafers: X or Y EVLA configuration uses X wafers for input. |
| Nested classes/interfaces inherited from class ca.nrc.widar.vciMapper.Board |
|---|
Board.Type |
| Field Summary | |
|---|---|
static java.lang.String |
cfgFailed
|
static int |
DATA_STREAMS_PER_PATH
Number of data streams per baseline board data path (so called rows/columns). |
static boolean |
inputFromAntenna
|
static ca.nrc.widar.jaxb.vci.InterFrameDelayAlgType |
INTER_FRAME_DELAY_ALG_DEFAULT
|
static int |
INTER_FRAME_DELAY_DEFAULT
|
static int |
INTER_FRAME_DELAY_MAX
|
static int |
INTER_FRAME_DELAY_MIN
|
static boolean |
INTER_FRAME_DELAY_RANDOMIZER_ON
|
static java.lang.String |
invalidCfgForProduct
|
static int |
MAX_INPUT_WAFER_ID
|
static int |
MIN_INPUT_WAFER_ID
|
static int |
NUM_CC_COLUMNS
Number of columns of Correlator Chips |
static int |
NUM_CC_ROWS
Number of rows of Correlator Chips |
static int |
NUM_INPUT_WAFERS
Number of input wafers |
static java.lang.String |
numCccNotAsExpected
|
static boolean |
sumOfSubarray
|
| Fields inherited from class ca.nrc.widar.vciMapper.Board |
|---|
alertActive, alertConfigName, ASYNC_QUERY_TIME_OUT, CHANGE, configChange, configChangeStatus, configName, LOG_CHANGE, MAX_CRATE_ID, MAX_RACK_ID, MAX_SLOT_ID, MIN_CRATE_ID, MIN_RACK_ID, MIN_SLOT_ID, mlid, NL_ERROR, NL_INFO, NO_CHANGE, queryCounter, queryDelayCounter, reportNextCommFailure, retCounter, retDelayCounter, statusDescriptor, type, useStatus |
| Constructor Summary | |
|---|---|
BaselineBoard(Mlid inMlid,
int numRecStreams)
Create a Baseline Board with specified Mlid. |
|
| Method Summary | |
|---|---|
void |
blockFramesForSubarray(java.lang.String forConfigId)
Created by SV on 2011-11-25 Block frames in LTA for the specified subarray. |
void |
calculateVdifPacketDelay(int counter)
|
void |
carryForwardChangeToBeTransmitted(BaselineBoard prevConfiguration)
This method is called just before (or after) CorrModel becomes active. |
java.lang.String |
ccsToString()
|
boolean |
cfgInProgressFor(int i,
java.lang.String s)
|
boolean |
cfgProductsStOnePerRowCross(java.lang.String configId,
java.util.ArrayList<PolarizationProduct> ppList,
int cellsPerSegment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
void |
configChangeDeepChange(boolean newInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
Set indicator configChange and configChangeStatus for this object, and for all objects (components) owned by the BaselineBoard. |
boolean |
configChangeStatusDeepChange(boolean oldInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus oldStatus,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus,
java.lang.String d)
Updated in December 2012 |
boolean |
configureSum(SummedArray summedArray,
int rxpid,
int inputStream,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Configure sum of subarray. |
boolean |
configureVdif(SummedArray summedArray,
int rxpid,
int inputStream,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
void |
finalize()
|
boolean |
firstBlbLowerSumToCcArray(SummedArray summedArray,
int sumInputStream,
int numSegments,
java.util.ArrayList<java.util.logging.LogRecord> logList)
This method configures input switch on RC x7 and y7 so that input stream 0 is forwarded to internal stream 1. |
java.lang.String |
getBlbMlidAsString()
|
java.lang.String |
getBoardIdAsString()
|
boolean |
getCbeConfigFor4BitProducts(java.lang.String inCfgId,
java.util.List<ca.nrc.widar.jaxb.cbe.Prd4> cfgList,
java.util.concurrent.ConcurrentHashMap<java.lang.Integer,ProductLagChain> listOfProductLagChain,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Get JAXB configuration for products as a list of XML elements prd4. |
boolean |
getCbeConfigFor7BitProducts(java.lang.String inCfgId,
java.util.List<ca.nrc.widar.jaxb.cbe.Prd7> cfgList,
java.util.concurrent.ConcurrentHashMap<java.lang.Integer,ProductLagChain> listOfProductLagChain,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Get JAXB configuration for products as a list of XML elements prd4 or prd7. |
java.lang.String |
getColor()
Returns color as a string - used for HTML interface. |
ca.nrc.widar.jaxb.component.BaselineBoard |
getConfigAsXml(javax.xml.datatype.XMLGregorianCalendar xActTime)
|
CorrChip |
getCorrChip(int x,
int y)
|
int |
getIdleColumn()
|
int |
getIdleRow()
|
int |
getIdleRowColumn()
|
java.lang.String |
getIdsAsString()
|
XBarBoardOutputWafer |
getInputWafer(int i)
|
static java.lang.String |
getLagChainSegmentAsString(int blockSize,
int totalBlocks,
int xStartBlock,
int xEndBlock,
int yStartBlock,
int yEndBlock)
|
int |
getNumIdleColumns()
|
int |
getNumIdleRowsColumns()
|
int |
getPairId()
|
java.lang.String |
getPortForLtaFrames()
|
int |
getPositionInPair()
|
int |
getQuadrantId()
|
XBarBoardOutputWafer |
getRcInputWafer(int rcId,
int index)
|
int |
getRowForWafer(java.lang.String configId,
int wid)
|
int |
getRowForWaferOne(java.lang.String configId)
|
BlbRxpFpga |
getRxp(int i)
|
BlbRecFpga |
getXRecirculator(int i)
|
BlbRecFpga |
getYRecirculator(int i)
|
boolean |
ifdChangeToBeTransmitted()
|
boolean |
inputForThisSubarrayConfigured(java.lang.String cfgId)
|
void |
interFrameDelayConfigChangeStatusDeepChange(boolean oldInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus oldStatus,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
|
boolean |
isIdle()
Baseline Board is idle if all Recirculation Controllers are idle. |
void |
logRcInputAndOutput()
|
boolean |
ltaChangeToBeTransmitted()
|
void |
ltaPortChangeStatusDeepChange(boolean oldInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus oldStatus,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
|
boolean |
modifySum(SummedArray summedArray,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Modify sum for existing subarray. |
boolean |
oneSegmentOnePpPerCorrChipRq4HalfStMaxProd(PolarizationProduct product,
int numSegments,
int cellsPerSegment,
int segment,
boolean aboveDiagonal,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Configure one segment. |
boolean |
oneSumOneProduct(SummedArray summedArray,
PolarizationProduct pp,
int ccqId,
int cellsPerSegment,
int numSegments,
int segment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
packetDelayKnown(int i)
|
java.lang.String |
printBaselinesAndProducts()
|
java.lang.String |
printBoardPositionAndMlid()
|
void |
printChangeIndicators(java.lang.StringBuilder cBuilder)
|
java.lang.String |
printInputWafer(int i)
|
java.lang.StringBuilder |
printInputWafers(boolean onlyIDs)
|
java.lang.String |
printRCstatus()
|
java.lang.String |
printStatusAndRcs()
|
java.lang.String |
printStatusAndRcs2()
|
java.lang.StringBuilder |
printUsedInpWafersAndRCs()
|
java.lang.String |
printWafers()
|
boolean |
rcXCfgInProgressFor(int i,
java.lang.String s)
|
boolean |
rcYCfgInProgressFor(int i,
java.lang.String s)
|
void |
releaseSubarray(java.lang.String subToRelease)
Release resources used for the specified subarray |
java.lang.String |
reportConfigChangeStatus(BaselineBoardStatus blbStatus)
|
void |
reportConfigChangeStatus(java.lang.StringBuilder sBuilder,
BaselineBoardStatus blbStatus)
|
void |
reportConfigChangeStatusHtml(java.lang.StringBuilder sBuilder,
BaselineBoardStatus blbStatus)
|
void |
revokeCmibCfg(BaselineBoardStatus blbStatus,
long corrModelId,
long actTime,
javax.xml.datatype.XMLGregorianCalendar xActTime,
java.lang.StringBuilder sBuilder)
Revoke transmitted configuration by removing it from the CMIB input queue. |
boolean |
rowColumnSevenIdleAndAvailable()
Baseline Board is idle if all Recirculation Controllers are idle. |
boolean |
rxpAndRcInputConfigured(java.lang.String forConfigId)
Find if at least one RC is used for the specified subarray (configId). |
boolean |
secondBlbLowerSumToCcArray(SummedArray summedArray,
int ds1,
int numSegments,
java.util.ArrayList<java.util.logging.LogRecord> logList)
This method is used to get a cross-product A*B or B*A for the summed array. |
boolean |
sendConfiguration(BaselineBoardStatus blbStatus,
long corrModelId,
long actTime,
javax.xml.datatype.XMLGregorianCalendar xActTime,
boolean thisModelActive,
boolean completeReport,
java.lang.StringBuilder bBuilder)
Dec. |
boolean |
setAutoCorrMode(java.lang.String forConfigId,
PolarizationProduct aProd,
PolarizationProduct bProd,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setBlb0InputForStMinPackOneCrossRq4(java.lang.String cfgId,
java.util.List<java.lang.Integer> xStations,
java.util.List<java.lang.Integer> yStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
SV 2011-12-21 Configure the 1st Baseline Board for a pair that produces only cross-correlations, i.e. |
boolean |
setBlb0RcXInputForBlb1ForOnePerColumn(java.lang.String cfgId,
int aBBID,
int bBBID,
java.util.List<java.lang.Integer> xStations,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
int |
setBlb0RcYInputForBlb1ForOnePerColumn(java.lang.String cfgId,
int aBBID,
int bBBID,
int ySID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
void |
setCfgNotInProgressFor(PolarizationProduct product,
int numSegments,
int segment)
|
boolean |
setCorrChipInput(java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Output of the Recirculation Controller is input for the Correlator Chips. |
void |
setCorrChipInputForCrossOnly(java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Output of the Recirculation Controller is input for the Correlator Chips. |
void |
setDefaultConfiguration()
This method is used only when reConfigureCompleteBaselineBoards=true to force CM to transmit (default) configuration even if there is no change. |
boolean |
setDumpTrigSource(java.lang.String cfgId,
boolean forSum,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
void |
setInputFromRCsOnTheFirstBoard(BaselineBoard firstBlb)
|
void |
setInputWafer(int i,
XBarBoardOutputWafer inWafer)
|
void |
setInputWaferFromRcOnTheFirstBoard(BaselineBoard blb0,
int firstRcId,
int firstRcInput)
|
void |
setInputWaferFromRcOnTheFirstBoard(XBarBoardOutputWafer wafer,
int firstRcId,
int firstRcInput)
|
boolean |
setInputWafersRxpAndRcInputFromRCsOnTheFirstBoard(BaselineBoard firstBlb,
java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
2012-03-19 SV: This method is used for stationPacking=onePerRowColumn |
boolean |
setInputWafersRxpAndRcInputFromTheFirstBoard(BaselineBoard firstBlb,
java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Used for summed array 2011-04-28 This method is called when input on the 2nd BLB is not already configured. |
boolean |
setInpWafersRxpsRcsFromRcsOnTheFirstBoard(BaselineBoard firstBlb,
java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
void |
setInterFrameDelayConfigChange(boolean newInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
|
void |
setInterFrameDelayForConfigId(java.lang.String cid,
ca.nrc.widar.jaxb.vci.InterFrameDelayAlgType a,
int d,
boolean r)
|
void |
setLtaPortConfigChange(boolean newInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
|
boolean |
setPairId(int i)
|
void |
setPortForLtaFrames(java.lang.String inPort)
|
boolean |
setPositionInPair(int p)
|
boolean |
setQuadrantId(int q)
|
boolean |
setRC7inputFromFirstBlb(java.lang.String forConfigId,
BaselineBoard firstBlb,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setRcInputBlb0(java.lang.String forConfigId,
java.util.ArrayList<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
int stPerRowColumn,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Older version before 09.09.2010 SonjaVrcic added autoCorrAlgorithm=allStations. |
boolean |
setRcInputBlb0FourStPerRowColumn(java.lang.String forConfigId,
java.util.ArrayList<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
int stPerRowColumn,
BlbRecFpga.RcUseMode rcUseMode,
ca.nrc.widar.jaxb.vci.AutoCorrAlgorithmType autoCorrAlgorithm,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Replaced by setRcInputForFourStationsPerRowColumn() (setRcInputBlb0FourStPerRowColumnVersion3()). |
boolean |
setRcInputBlb0OneStationPerRowColumn(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setRcInputBlb0St1AcAllStMaxProd(int maxNumRowsToUse,
java.util.List<java.lang.Integer> stationsToConfigure,
java.util.List<java.lang.Integer> configuredStations,
java.util.List<java.lang.Integer> stationsForAutoProdAb,
java.lang.String cfgId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
This method is used to set Baseline Boards on the diagonal for: station packing algorithm = MIN_PACK, one station per row/column. |
boolean |
setRcInputBlb0St1AcAllStMaxProd(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
java.util.List<java.lang.Integer> stationsForAutoProdAb,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Deprecated. This method is used to set Baseline Boards on the diagonal for: station packing algorithm = MIN_PACK, one station per row/column. product (lag chain) packing algorithm = MAX_PACK correlation = 4-bits with or without recirculation auto-correlation algorithm = ALL_STATIONS_MAX_PROD number of products = 4 (full polarization) single segment products For stationsToConfigure: 1st BLB: product above diagonal: product A*A, below diagonal:product A*B, on the diagonal: product A*A 2nd BLB: product above diagonal: product B*B, below diagonal:product B*A, on the diagonal: product B*B For stationsForAutoProdAb: On CorrChips on the diagonal configure product a*b. Each board (0 / 1) can produce different set of products. Set two stations per row/column, one for each BLB. This method sets RXP switch so that each row/column (i.e. Recirculation Controller) gets input from one station (subband pair from Baseband A and B). |
boolean |
setRcInputBlb0St2AcHalfStMaxProd(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
stationPacking=twoPerRowColumn 2012-03-07 SV - need to re-write this method. |
boolean |
setRcInputBlb1(java.lang.String forConfigId,
BaselineBoard blb0,
java.util.ArrayList<java.util.logging.LogRecord> logList)
This method is used to set the 2nd BLB in a BLB pair. |
boolean |
setRcInputBlb1OneStPerRowColumn(java.lang.String cfgId,
java.util.ArrayList<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
One station per row/column. |
boolean |
setRcInputBlb1St2AcHalfStMaxProd(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
stationPacking=twoPerRowColumn 2012-03-07 SV - need to re-write this method. |
void |
setRcInputDataStreams(java.lang.String forConfigId)
Used for stationPacking=minPack, boards with cross-correlations only, 2nd BLB in a pair. |
boolean |
setRcInputForCompleteStOnePerRowCrossBlb0Rq4(int[][] rcInput,
int rcIndex,
java.lang.String cfgId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Deprecated. |
boolean |
setRcInputForCompleteStOnePerRowCrossBlb1Rq4(BaselineBoard firstBlb,
int[][] inputForRcs,
int rcIndex,
java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Deprecated. |
boolean |
setRcInputForFourStationsPerRowColumn(java.lang.String forConfigId,
java.util.ArrayList<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
BlbRecFpga.RcUseMode inRcUseMode,
java.util.ArrayList<java.lang.Integer> autoCorrStations,
int rowsColumnsToUseForAutoCorrOnly,
java.util.ArrayList<java.util.logging.LogRecord> logList)
For autoCorrAlgorithm=allStationsMaxProd and (number of stations MOD 4) > 0 add auto-corr only stations to the last row/column used for baselines. |
boolean |
setRcInputForSegmentStOnePerRowCrossBlb0Rq4(int[][][][] rcInput,
int pair,
java.lang.String cfgId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Deprecated. |
boolean |
setRcInputForStOnePerRowCrossBlb0Rq4(int[][][][] rcInput,
int pair,
int numSegments,
java.lang.String cfgId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setRcInputForStOnePerRowCrossBlb1Rq4(BaselineBoard firstBlb,
int[][][][] rcInput,
int pair,
int numSegments,
java.lang.String forConfigId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Deprecated. |
boolean |
setRcInputSt1AcHalfStMaxProdStartFromFirst(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
java.util.List<java.lang.Integer> cList,
int aBBID,
int bBBID,
int SBID,
boolean reportErrorIfInputNotFound,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setRcInputSt1AcHalfStMaxProdStartFromSecond(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
java.util.List<java.lang.Integer> cList,
int aBBID,
int bBBID,
int SBID,
boolean reportErrorIfInputNotFound,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setRcOutputForOnePerRowColumn(java.lang.String forConfigId,
int numSegments,
int segment,
int cellsPerSegment,
int rFactor,
boolean recPhaseSerial,
int subProd,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Mapping for: station packing = one station per row/column. |
boolean |
setRcXInputForOneStationPerColumn(int cid,
java.lang.String cfgId,
int numSegments,
int segmentId,
int cellsPerSegment,
int rFactor,
boolean recPhaseSerial,
ca.nrc.widar.vciMapper.Nibble xNibble,
int aBBID,
int bBBID,
java.util.List<java.lang.Integer> xStations,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setRcYInputForOneStationPerRow(int rcId,
int[] trio,
java.lang.String cfgId,
int numSegments,
int segmentId,
int cellsPerSegment,
int rFactor,
boolean recPhaseSerial,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setRecContOutput_strightForward(java.lang.String forConfigId,
int numSegments,
int segment,
int cellsPerSegment,
int rFactor,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Set Recirculation Controller output for 4-bit correlation. |
boolean |
setRecContOutputFromWafers0And1(java.lang.String forConfigId,
int numSegments,
int segment,
int cellsPerSegment,
int rFactor,
boolean recPhaseSerial,
ca.nrc.widar.vciMapper.Nibble xNibble,
ca.nrc.widar.vciMapper.Nibble yNibble,
java.util.ArrayList<java.util.logging.LogRecord> logList)
This method is used to set RC output for stationPacking=onePerRowColumn, halfStationsMaxProd |
void |
setRxpInputFromRCsOnTheFirstBoard(BaselineBoard firstBlb)
This method is used for Autocorrelator Mode. |
boolean |
setSumProductOnCorrChip77(PolarizationProduct pp,
int ccqId,
int cellsPerSegment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
setTwoSumsOnCorrChip77(int rFactor,
int numSegments,
int segment,
int cellsPerSegment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
void |
setVdifConfigChange(boolean newInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
|
boolean |
stMaxPackCfgSegmentForAllProducts(java.util.ArrayList<PolarizationProduct> listOfProducts,
ca.nrc.widar.jaxb.vci.AutoCorrAlgorithmType autoCorrAlgorithm,
int segment,
int numSegments,
int cellsPerSegment,
int startFromCcq,
int numCcqs,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
boolean |
stMaxPackSetRcOutput(java.lang.String configId,
int numSegments,
int segment,
int cellsPerSegment,
int rFactor,
ca.nrc.widar.vciMapper.Nibble xNibble,
ca.nrc.widar.vciMapper.Nibble yNibble,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Set Recirculation Controller output for 4-bit correlation. |
boolean |
stOnePerRowOneProdPerCorrChip(PolarizationProduct pa,
PolarizationProduct pb,
PolarizationProduct pd,
int numSegments,
int segment,
int cellsPerSegment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
Can be used for single or multi segment products. |
boolean |
sumEnabled(int i)
|
boolean |
thisSumEnabled(int i,
java.lang.String sumConfigId,
int sumSid,
int ds)
|
java.lang.String |
toString()
|
boolean |
twoSumsOneProduct(SummedArray summedArray,
PolarizationProduct pp,
int ccqId,
int cellsPerSegment,
int numSegments,
int segment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
|
void |
updateConfigChangeStatusForToBeTransmitted(ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus,
java.lang.String desc)
Same as configChangeStatusDeepChange for configChange=true and configChangeStatus ToBeTransmitted or CommFailure Used to when transmitting (or re-transmitting) BaselineBoard configuration. |
boolean |
useModeAutoCorrAbOneInputStation(int i,
java.util.ArrayList<java.util.logging.LogRecord> listOfLogs)
This method is used when setting RCs on the 2nd Baseline Board in a pair. |
boolean |
useRowColumnSeven(SummedArray summedArray,
int ds)
|
boolean |
vdifChangeToBeTransmitted()
|
boolean |
vdifConfigChange()
|
void |
vdifConfigChangeStatusDeepChange(boolean oldInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus oldStatus,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
|
boolean |
vdifConfigured()
|
boolean |
vdifConfigured(int i)
|
boolean |
vdifEnabled(int i)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String cfgFailed
public static java.lang.String invalidCfgForProduct
public static java.lang.String numCccNotAsExpected
public static final int NUM_INPUT_WAFERS
public static final int MIN_INPUT_WAFER_ID
public static final int MAX_INPUT_WAFER_ID
public static final int DATA_STREAMS_PER_PATH
public static final int NUM_CC_ROWS
public static final int NUM_CC_COLUMNS
public static final ca.nrc.widar.jaxb.vci.InterFrameDelayAlgType INTER_FRAME_DELAY_ALG_DEFAULT
public static final int INTER_FRAME_DELAY_DEFAULT
public static final int INTER_FRAME_DELAY_MIN
public static final int INTER_FRAME_DELAY_MAX
public static final boolean INTER_FRAME_DELAY_RANDOMIZER_ON
public static boolean inputFromAntenna
public static boolean sumOfSubarray
| Constructor Detail |
|---|
public BaselineBoard(Mlid inMlid,
int numRecStreams)
throws ca.nrc.widar.vciMapper.VciMapperException
ca.nrc.widar.vciMapper.VciMapperExceptioninMlid - - Module Location ID (rack-crate-slot)numRecStreams - - number of streams that can be recirulated by Recirculation Controller: 4 or 8.| Method Detail |
|---|
public void finalize()
finalize in class java.lang.Objectpublic BlbRxpFpga getRxp(int i)
public java.lang.String getBlbMlidAsString()
public int getQuadrantId()
public boolean setQuadrantId(int q)
public int getPairId()
public boolean setPairId(int i)
public java.lang.String getIdsAsString()
public int getPositionInPair()
public boolean setPositionInPair(int p)
public java.lang.String getPortForLtaFrames()
public void setPortForLtaFrames(java.lang.String inPort)
public void setLtaPortConfigChange(boolean newInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
public void ltaPortChangeStatusDeepChange(boolean oldInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus oldStatus,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
public boolean ltaChangeToBeTransmitted()
public boolean vdifConfigChange()
public void setVdifConfigChange(boolean newInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
public void vdifConfigChangeStatusDeepChange(boolean oldInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus oldStatus,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
public boolean vdifChangeToBeTransmitted()
public void setInterFrameDelayConfigChange(boolean newInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
public void interFrameDelayConfigChangeStatusDeepChange(boolean oldInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus oldStatus,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
public boolean ifdChangeToBeTransmitted()
public XBarBoardOutputWafer getInputWafer(int i)
public void setInputWafer(int i,
XBarBoardOutputWafer inWafer)
public XBarBoardOutputWafer getRcInputWafer(int rcId,
int index)
public CorrChip getCorrChip(int x,
int y)
public BlbRecFpga getXRecirculator(int i)
public BlbRecFpga getYRecirculator(int i)
public boolean rcXCfgInProgressFor(int i,
java.lang.String s)
public boolean rcYCfgInProgressFor(int i,
java.lang.String s)
public boolean cfgInProgressFor(int i,
java.lang.String s)
public int getNumIdleRowsColumns()
public int getNumIdleColumns()
public int getIdleRowColumn()
public int getIdleColumn()
public int getIdleRow()
public int getRowForWaferOne(java.lang.String configId)
public int getRowForWafer(java.lang.String configId,
int wid)
public boolean isIdle()
public boolean rowColumnSevenIdleAndAvailable()
public boolean sumEnabled(int i)
public boolean thisSumEnabled(int i,
java.lang.String sumConfigId,
int sumSid,
int ds)
public boolean useRowColumnSeven(SummedArray summedArray,
int ds)
public void configChangeDeepChange(boolean newInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus)
configChangeDeepChange in class BoardconfigChange - - true (change) or false (no change)newStatus - - status of the configuration change.
public boolean configChangeStatusDeepChange(boolean oldInd,
ca.nrc.widar.vciMapper.ConfigChangeStatus oldStatus,
ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus,
java.lang.String d)
oldInd - - set newStatus if configChange=oldIndoldStatus - - set newStatus if configChangeStatus=oldStatusnewStatus - - status of the configuration change to be assigned if
configChange and configChangeStatus are as specified by the first and second parameter.d - - String that provides additional information regarding configChangeStatus.
public void updateConfigChangeStatusForToBeTransmitted(ca.nrc.widar.vciMapper.ConfigChangeStatus newStatus,
java.lang.String desc)
public void carryForwardChangeToBeTransmitted(BaselineBoard prevConfiguration)
prevConfiguration - - Baseline Baord configuration from the previous CorrModel.public void printChangeIndicators(java.lang.StringBuilder cBuilder)
public void setInputFromRCsOnTheFirstBoard(BaselineBoard firstBlb)
public void setInputWaferFromRcOnTheFirstBoard(XBarBoardOutputWafer wafer,
int firstRcId,
int firstRcInput)
public void setInputWaferFromRcOnTheFirstBoard(BaselineBoard blb0,
int firstRcId,
int firstRcInput)
public boolean inputForThisSubarrayConfigured(java.lang.String cfgId)
public boolean setRC7inputFromFirstBlb(java.lang.String forConfigId,
BaselineBoard firstBlb,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setInputWafersRxpAndRcInputFromTheFirstBoard(BaselineBoard firstBlb,
java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setInputWafersRxpAndRcInputFromRCsOnTheFirstBoard(BaselineBoard firstBlb,
java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean useModeAutoCorrAbOneInputStation(int i,
java.util.ArrayList<java.util.logging.LogRecord> listOfLogs)
public void setRcInputDataStreams(java.lang.String forConfigId)
public void setRxpInputFromRCsOnTheFirstBoard(BaselineBoard firstBlb)
public boolean setRcInputBlb0(java.lang.String forConfigId,
java.util.ArrayList<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
int stPerRowColumn,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcInputBlb1(java.lang.String forConfigId,
BaselineBoard blb0,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean rxpAndRcInputConfigured(java.lang.String forConfigId)
public boolean setRcInputBlb0FourStPerRowColumn(java.lang.String forConfigId,
java.util.ArrayList<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
int stPerRowColumn,
BlbRecFpga.RcUseMode rcUseMode,
ca.nrc.widar.jaxb.vci.AutoCorrAlgorithmType autoCorrAlgorithm,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcInputForFourStationsPerRowColumn(java.lang.String forConfigId,
java.util.ArrayList<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
BlbRecFpga.RcUseMode inRcUseMode,
java.util.ArrayList<java.lang.Integer> autoCorrStations,
int rowsColumnsToUseForAutoCorrOnly,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcInputSt1AcHalfStMaxProdStartFromFirst(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
java.util.List<java.lang.Integer> cList,
int aBBID,
int bBBID,
int SBID,
boolean reportErrorIfInputNotFound,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcInputSt1AcHalfStMaxProdStartFromSecond(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
java.util.List<java.lang.Integer> cList,
int aBBID,
int bBBID,
int SBID,
boolean reportErrorIfInputNotFound,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcInputBlb0OneStationPerRowColumn(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setBlb0InputForStMinPackOneCrossRq4(java.lang.String cfgId,
java.util.List<java.lang.Integer> xStations,
java.util.List<java.lang.Integer> yStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcInputForCompleteStOnePerRowCrossBlb0Rq4(int[][] rcInput,
int rcIndex,
java.lang.String cfgId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
rcInput - - an array, each row represents RC input for one RcC on the first BLB in a pair:
Each RC (row/column) gets input for two products:
1st product will be configured on the BLB0
2nd product will be configured on the BLB1
1st pp: index 0 - xStation SID , 1 - yStation SID, 2 - pp index in the listOfProducts (not used here)
2nd pp: index 3 - xStation SID , 4 - yStation SID, 5 - pp index in the listOfProducts (not used here)rcIndex - - index in the rcInput from which we should startconfigId - - configuration ID (string received in VCI message)aBBID - - BBID for baseband AbBBID - - BBID for baseband BSBID - - Subband IDlogList - - list of LogRecords
stationPacking=onePerRowColumn
productPacking=maxPack
re-qunatization=4-bits
Configure RC input for the Baseline Board that produces only cross-correlations, i.e. not on the diagonal.
Each row/column (i.e. Recirculation Controller) produces a single product for a pair of X/Y stations.
Note: In this case we always need all 8 columns, i.e. Baseline Board is used for one subarray.
public boolean setRcInputForCompleteStOnePerRowCrossBlb1Rq4(BaselineBoard firstBlb,
int[][] inputForRcs,
int rcIndex,
java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
firstBlb - - first BLB in a pair, from which this board gets input.rcInput - - an array, each row represents RC input for one RcC on the first BLB in a pair:
Each RC (row/column) gets input for two products:
1st product will be configured on the BLB0
2nd product will be configured on the BLB1
1st pp: index 0 - xStation SID , 1 - yStation SID, 2 - pp index in the listOfProducts (not used here)
2nd pp: index 3 - xStation SID , 4 - yStation SID, 5 - pp index in the listOfProducts (not used here)rcIndex - - index in the rcInput from which we should startlogList - - list of LogRecords
stationPacking=onePerRowColumn
productPacking=maxPack
re-qunatization=4-bits
Configure RC input for the Baseline Board that produces only cross-correlations, i.e. not on the diagonal.
Each row/column (i.e. Recirculation Controller) produces a single product for a pair of X/Y stations.
Note: In this case we always need all 8 columns, i.e. Baseline Board is used for one subarray.
public boolean setRcInputForSegmentStOnePerRowCrossBlb0Rq4(int[][][][] rcInput,
int pair,
java.lang.String cfgId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
rcInput - - an array of integers [pair][board][row][4]
4 integers: 0-xSID, 1-ySID, 3-polProd (index), 4-segment (index)pair - - index of the Baseline Board pair to configure.configId - - configuration ID (string received in VCI message)aBBID - - BBID for baseband AbBBID - - BBID for baseband BSBID - - Subband IDlogList - - list of LogRecords
stationPacking=onePerRowColumn
productPacking=maxPack
re-qunatization=4-bits
Configure RC input for the Baseline Board that produces only cross-correlations, i.e. not on the diagonal.
Each row/column (i.e. Recirculation Controller) produces a segment for a polarization product for a pair of X/Y stations.
Note: In this case we always need all 8 columns, i.e. Baseline Board is used for one subarray.
public boolean cfgProductsStOnePerRowCross(java.lang.String configId,
java.util.ArrayList<PolarizationProduct> ppList,
int cellsPerSegment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
configId - - confgId - identifies subarrayppList - - list of polarization products to configurecellsPerSegment - - number of CCCs to be used per segment.logList - - list of LogRecords
stationPacking=onePerRowColumn
productPacking=maxPack
re-qunatization=4-bits
RCs on X side are set so that each gets input from one X station (already done).
Rcs on Y side are set so that each row gets input for different product and/or station.
CorrChips in the same row (y) produce the same segment for the same product for different baselines.
This method is called when RCs are fully configured.
public boolean setRcInputForStOnePerRowCrossBlb0Rq4(int[][][][] rcInput,
int pair,
int numSegments,
java.lang.String cfgId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
rcInput - - an array if integers [pair][board][row][4]
4 integers: 0-xSID, 1-ySID, 3-polProd (index), 4-segment (index)pair - - index of the Baseline Board pair to configure.configId - - configuration ID (string received in VCI message)aBBID - - BBID for baseband AbBBID - - BBID for baseband BSBID - - Subband IDlogList - - list of LogRecords
stationPacking=onePerRowColumn
productPacking=maxPack
re-qunatization=4-bits
Configure RC input for the Baseline Board that produces only cross-correlations, i.e. not on the diagonal.
Each row/column (i.e. Recirculation Controller) produces a segment for a polarization product for a pair of X/Y stations.
Note: In this case we always need all 8 columns, i.e. Baseline Board is used for one subarray.
public boolean setRcInputForStOnePerRowCrossBlb1Rq4(BaselineBoard firstBlb,
int[][][][] rcInput,
int pair,
int numSegments,
java.lang.String forConfigId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
firstBlb - - first BLB in a pair, from which this board gets input.rcInput - - an array, each row represents RC input for one RcC on the first BLB in a pair:
Each RC (row/column) gets input for two products:
1st product will be configured on the BLB0
2nd product will be configured on the BLB1
1st pp: index 0 - xStation SID , 1 - yStation SID, 2 - pp index in the listOfProducts (not used here)
2nd pp: index 3 - xStation SID , 4 - yStation SID, 5 - pp index in the listOfProducts (not used here)rcIndex - - index in the rcInput from which we should startlogList - - list of LogRecords
stationPacking=onePerRowColumn
productPacking=maxPack
re-qunatization=4-bits
Configure RC input for the Baseline Board that produces only cross-correlations, i.e. not on the diagonal.
Each row/column (i.e. Recirculation Controller) produces a single product for a pair of X/Y stations.
Note: In this case we always need all 8 columns, i.e. Baseline Board is used for one subarray.
public boolean setRcInputBlb0St1AcAllStMaxProd(int maxNumRowsToUse,
java.util.List<java.lang.Integer> stationsToConfigure,
java.util.List<java.lang.Integer> configuredStations,
java.util.List<java.lang.Integer> stationsForAutoProdAb,
java.lang.String cfgId,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
listOfStations - - List of SIDs for which BLB rows/columns should be configured to get products for baselines
plus products A*A and B*B on the diagonal (if required).configuredStations - - add SIDs for stations configured on this board to this list.stationsForAutoProdAb - - List of SIDs for CorrChips on the diagonal for product a*b.logList - - List of logs generated while parsing the subarray. Error logs generated by this method are added to the list.
public boolean setInpWafersRxpsRcsFromRcsOnTheFirstBoard(BaselineBoard firstBlb,
java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcInputBlb0St1AcAllStMaxProd(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
java.util.List<java.lang.Integer> stationsForAutoProdAb,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
listOfStations - - List of SIDs for which BLB rows/columns should be configured to get products for baselines
plus products A*A and B*B on the diagonal (if required).stationsForAutoProdAb - - List of SIDs for CorrChips on the diagonal for product a*b.logList - - List of logs generated while parsing the subarray. Error logs generated by this method are added to the list.
public boolean setRcInputBlb1OneStPerRowColumn(java.lang.String cfgId,
java.util.ArrayList<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcXInputForOneStationPerColumn(int cid,
java.lang.String cfgId,
int numSegments,
int segmentId,
int cellsPerSegment,
int rFactor,
boolean recPhaseSerial,
ca.nrc.widar.vciMapper.Nibble xNibble,
int aBBID,
int bBBID,
java.util.List<java.lang.Integer> xStations,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
cfgId - - configIdnumSegments - - number of segments per productsegment - - segment to be configured in this rowcellsPerSegment - - number of cells to be used for this segmentrFactor - - recirculation factor for this productrecPhaseSerial - - phase for recirculation, if true serial, if false parallelxNibble - - LSN or MSNaBBID - - Baseband ID for data stream abBBID - - Baseband ID for data stream bxStations - - List of stations to be configured on X sideSBID - - Subband IDlogList - - list of LogRecords to be updated if an error is encountered in this method.
public boolean setRcYInputForOneStationPerRow(int rcId,
int[] trio,
java.lang.String cfgId,
int numSegments,
int segmentId,
int cellsPerSegment,
int rFactor,
boolean recPhaseSerial,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
rcId - - RC ID - row to be used for this Y stationtrio - - three integers for yRC: SID, polarization product and nibblecfgId - - configIdnumSegments - - number of segment per productsegment - - segment to be configured in this rowcellsPerSegment - - number of cells to be used for this segmentrFactor - - recirculation factorrecPhaseSerial - - phase for recirculation, if true serial, if false parallelaBBID - - Baseband ID for data stream abBBID - - Baseband ID for data stream bySID - - station IDSBID - - Subband IDlogList - - list of LogRecords to be updated if an error is encountered in this method.
public boolean setBlb0RcXInputForBlb1ForOnePerColumn(java.lang.String cfgId,
int aBBID,
int bBBID,
java.util.List<java.lang.Integer> xStations,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
cfgId - - configIdnumSegments - - number of segment per productsegment - - segment to be configured in this rowcellsPerSegment - - number of cells to be used for this segmentrFactor - - recirculation factor for this productaBBID - - Baseband ID for data stream abBBID - - Baseband ID for data stream bxStations - - List of stations to be configured on X sideSBID - - Subband IDlogList - - list of LogRecords to be updated if an error is encountered in this method.
public int setBlb0RcYInputForBlb1ForOnePerColumn(java.lang.String cfgId,
int aBBID,
int bBBID,
int ySID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
cfgId - - configIdnumSegments - - number of segment per productsegment - - segment to be configured in this rowcellsPerSegment - - number of cells to be used for this segmentrFactor - - recirculation factor for this productaBBID - - Baseband ID for data stream abBBID - - Baseband ID for data stream bxStations - - List of stations to be configured on X sideSBID - - Subband IDlogList - - list of LogRecords to be updated if an error is encountered in this method.
public boolean setRcInputBlb0St2AcHalfStMaxProd(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRcInputBlb1St2AcHalfStMaxProd(java.lang.String cfgId,
java.util.List<java.lang.Integer> listOfStations,
int aBBID,
int bBBID,
int SBID,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean stMaxPackSetRcOutput(java.lang.String configId,
int numSegments,
int segment,
int cellsPerSegment,
int rFactor,
ca.nrc.widar.vciMapper.Nibble xNibble,
ca.nrc.widar.vciMapper.Nibble yNibble,
java.util.ArrayList<java.util.logging.LogRecord> logList)
configId - - String - subarray IDrFactor - - int - recirculation factorlogList - - ArrayLins
public boolean setDumpTrigSource(java.lang.String cfgId,
boolean forSum,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setCorrChipInput(java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public void setCorrChipInputForCrossOnly(java.lang.String forConfigId,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setAutoCorrMode(java.lang.String forConfigId,
PolarizationProduct aProd,
PolarizationProduct bProd,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setRecContOutput_strightForward(java.lang.String forConfigId,
int numSegments,
int segment,
int cellsPerSegment,
int rFactor,
java.util.ArrayList<java.util.logging.LogRecord> logList)
configId - - String - subarray IDrFactor - - int - recirculation factorlogList - - ArrayLins
public boolean setRecContOutputFromWafers0And1(java.lang.String forConfigId,
int numSegments,
int segment,
int cellsPerSegment,
int rFactor,
boolean recPhaseSerial,
ca.nrc.widar.vciMapper.Nibble xNibble,
ca.nrc.widar.vciMapper.Nibble yNibble,
java.util.ArrayList<java.util.logging.LogRecord> logList)
forConfigId - - config ID (a.k.a. subarray ID) - StringnumSegments - - number of segments per productsegment - - segment IDcellsPerSegment - - number of CC Cells per segmentrFactor - - int, recirculation factorrecPhaseSerial - - phase for recirculation, if true serial, if false parallelxNibble - - nibble for xRCyNibble - - nibble for yRClogList - - list of LogRecords.
public boolean setRcOutputForOnePerRowColumn(java.lang.String forConfigId,
int numSegments,
int segment,
int cellsPerSegment,
int rFactor,
boolean recPhaseSerial,
int subProd,
java.util.ArrayList<java.util.logging.LogRecord> logList)
forConfigId - - String - subarray IDsegment - - index of the segment to be configured here (starts from 0)numSegments - - number of segments in the lag chain (each segment on different Correlator Chip)cellsPerSegment - - number of CCCs (Correlator Chip Cells) per segmentrFactor - - recirculation factorrecPhaseSerial - - indicator phase for recirculation serial/parallellogList - - list of LogRecords. LogRecords generated by this method will be added to the list.
public boolean oneSegmentOnePpPerCorrChipRq4HalfStMaxProd(PolarizationProduct product,
int numSegments,
int cellsPerSegment,
int segment,
boolean aboveDiagonal,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public void setCfgNotInProgressFor(PolarizationProduct product,
int numSegments,
int segment)
public boolean stOnePerRowOneProdPerCorrChip(PolarizationProduct pa,
PolarizationProduct pb,
PolarizationProduct pd,
int numSegments,
int segment,
int cellsPerSegment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
pa - - polarization product to be configured above and on the diagonal for RC useMode=Baselinespb - - polarization product to be configured below diagonal for RC useMode=Baselinespd - - polarization product to be configured on the diagonal for RC useMode=AutoCorrAb1/AutoCorrAb2numSegments - - number of segments per productsegment - - index of segment in the lag chain, starting from 0.cellsPerSegment - - number of CCCs (orrelator Chip Cells) per product.logList - - List of logs generated while parsing the subarray. Error logs generated by this method are added to the list.
public boolean stMaxPackCfgSegmentForAllProducts(java.util.ArrayList<PolarizationProduct> listOfProducts,
ca.nrc.widar.jaxb.vci.AutoCorrAlgorithmType autoCorrAlgorithm,
int segment,
int numSegments,
int cellsPerSegment,
int startFromCcq,
int numCcqs,
java.util.ArrayList<java.util.logging.LogRecord> logList)
listOfProducts - - configure a segment for this product.segment - - segment (index starting from zero)numSegments - - total number of segments per productcellsPerSegment - - number of CCCs to use for this segment.logList - - List of logs. LogRecords generated by this method will be added to the list.
public boolean configureSum(SummedArray summedArray,
int rxpid,
int inputStream,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean modifySum(SummedArray summedArray,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean vdifConfigured()
public boolean vdifConfigured(int i)
public boolean vdifEnabled(int i)
public boolean packetDelayKnown(int i)
public boolean configureVdif(SummedArray summedArray,
int rxpid,
int inputStream,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public void calculateVdifPacketDelay(int counter)
counter - - counter of VDIF streams is used to generate different delay for each stream.
public boolean firstBlbLowerSumToCcArray(SummedArray summedArray,
int sumInputStream,
int numSegments,
java.util.ArrayList<java.util.logging.LogRecord> logList)
summedArray - - Summed Array configurationsumInputStream - - input stream A or BlogList - - list of logs.
public boolean secondBlbLowerSumToCcArray(SummedArray summedArray,
int ds1,
int numSegments,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean oneSumOneProduct(SummedArray summedArray,
PolarizationProduct pp,
int ccqId,
int cellsPerSegment,
int numSegments,
int segment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean twoSumsOneProduct(SummedArray summedArray,
PolarizationProduct pp,
int ccqId,
int cellsPerSegment,
int numSegments,
int segment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setTwoSumsOnCorrChip77(int rFactor,
int numSegments,
int segment,
int cellsPerSegment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public boolean setSumProductOnCorrChip77(PolarizationProduct pp,
int ccqId,
int cellsPerSegment,
java.util.ArrayList<java.util.logging.LogRecord> logList)
public void releaseSubarray(java.lang.String subToRelease)
public void setDefaultConfiguration()
public void setInterFrameDelayForConfigId(java.lang.String cid,
ca.nrc.widar.jaxb.vci.InterFrameDelayAlgType a,
int d,
boolean r)
cid - - config ID - stringa - - inter frame delay algorithmd - - inter frame delayr - - randomizer ON (true or false)
public ca.nrc.widar.jaxb.component.BaselineBoard getConfigAsXml(javax.xml.datatype.XMLGregorianCalendar xActTime)
throws ca.nrc.widar.vciMapper.VciMapperException
ca.nrc.widar.vciMapper.VciMapperException
public boolean sendConfiguration(BaselineBoardStatus blbStatus,
long corrModelId,
long actTime,
javax.xml.datatype.XMLGregorianCalendar xActTime,
boolean thisModelActive,
boolean completeReport,
java.lang.StringBuilder bBuilder)
blbOpStatus - - Operation status of this Baseline Board.corrModelId - - CorrModel ID, instance identifier for debuging purposes.xActTime - - XMLGregorianCalendar: activation timecompleteReport - - If false reports succes/failure only if status changed.
If true generate LogRecord even if the transmission need not be performed now,
due to the fact that the configuration was accepted or rejected earlier.listOfLogs - - list of LogRecords, add to this list logs generated by this method.
public void revokeCmibCfg(BaselineBoardStatus blbStatus,
long corrModelId,
long actTime,
javax.xml.datatype.XMLGregorianCalendar xActTime,
java.lang.StringBuilder sBuilder)
public void blockFramesForSubarray(java.lang.String forConfigId)
public boolean getCbeConfigFor4BitProducts(java.lang.String inCfgId,
java.util.List<ca.nrc.widar.jaxb.cbe.Prd4> cfgList,
java.util.concurrent.ConcurrentHashMap<java.lang.Integer,ProductLagChain> listOfProductLagChain,
java.util.ArrayList<java.util.logging.LogRecord> logList)
inCfgId - - configId. Get configuration for this subarray.cfgList - - list of products. If configuration of this board is a part of the product lag chain,
add lag chain segment to the elements in this list.logList - - list of LogRecords. Add Logrecords generated by this method to the list.
public boolean getCbeConfigFor7BitProducts(java.lang.String inCfgId,
java.util.List<ca.nrc.widar.jaxb.cbe.Prd7> cfgList,
java.util.concurrent.ConcurrentHashMap<java.lang.Integer,ProductLagChain> listOfProductLagChain,
java.util.ArrayList<java.util.logging.LogRecord> logList)
inCfgId - - configId. Get configuration for this subarray.cfgList - - list of 7-bit products. If configuration of this board is a part of the product lag chain,
add lag chain segment to the elements in this list.logList - - list of LogRecords. Add Logrecords generated by this method to the list.
public java.lang.String getColor()
public static java.lang.String getLagChainSegmentAsString(int blockSize,
int totalBlocks,
int xStartBlock,
int xEndBlock,
int yStartBlock,
int yEndBlock)
public java.lang.String toString()
toString in class Boardpublic java.lang.String reportConfigChangeStatus(BaselineBoardStatus blbStatus)
public void reportConfigChangeStatus(java.lang.StringBuilder sBuilder,
BaselineBoardStatus blbStatus)
public java.lang.String printRCstatus()
public java.lang.String printWafers()
public void reportConfigChangeStatusHtml(java.lang.StringBuilder sBuilder,
BaselineBoardStatus blbStatus)
public void logRcInputAndOutput()
public java.lang.String printBoardPositionAndMlid()
public java.lang.String getBoardIdAsString()
getBoardIdAsString in class Boardpublic java.lang.String printStatusAndRcs2()
public java.lang.String printStatusAndRcs()
public java.lang.String ccsToString()
public java.lang.String printInputWafer(int i)
public java.lang.StringBuilder printInputWafers(boolean onlyIDs)
public java.lang.StringBuilder printUsedInpWafersAndRCs()
public java.lang.String printBaselinesAndProducts()
|
NRAO/DRAO | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||