Table of Contents

Class ScanNetworkPatternInfo

Namespace
Csra
Assembly
Csra.dll

Class to store ScanNetwork information about a ScanNetwork pattern(set).

[Serializable]
public class ScanNetworkPatternInfo
Inheritance
ScanNetworkPatternInfo
Inherited Members

Constructors

ScanNetworkPatternInfo(Pattern)

Construct a new ScanNetworkPatternInfo object and load the specified pattern(set).

public ScanNetworkPatternInfo(Pattern patternSetName)

Parameters

patternSetName Pattern

Specifies the ScanNetwork pattern(set) to load. This can be the name of a pattern file or a pattern set.

ScanNetworkPatternInfo(Pattern, string)

Construct a new ScanNetworkPatternInfo object and load the specified pattern(set).

public ScanNetworkPatternInfo(Pattern patternSetName, string concatenatedPatternCsvFileName)

Parameters

patternSetName Pattern

Specifies the ScanNetwork pattern(set) to load. This can be the name of a pattern file or a pattern set.

concatenatedPatternCsvFileName string

Specifies the Csv file that comes with the concatenated(set+payload+end) ScanNetwork pattern.

ScanNetworkPatternInfo(Pattern, string, string)

Construct a new ScanNetworkPatternInfo object and load the specified pattern(set).

public ScanNetworkPatternInfo(Pattern patternSetName, string setupPatternCsvFileName, string endPatternCsvFileName)

Parameters

patternSetName Pattern

Specifies the ScanNetwork pattern(set) to load. This can be the name of a pattern file or a pattern set.

setupPatternCsvFileName string

Specifies the Csv file that comes with the ScanNetwork_setup pattern.

endPatternCsvFileName string

Specifies the Csv file that comes with the ScanNetwork_end pattern

Properties

CoreInstance

[readonly] The dictionary that contains the names of all the cores that are tested in this pattern, and the names of icl instances under each core instance.
The key of the dictionary is the name of the core instance and the value is the List<T> of icl instances that belong to the core.

public Dictionary<string, List<string>> CoreInstance { get; }

Property Value

Dictionary<string, List<string>>

CoreInstances

Gets the names of all available core instances.

public string[] CoreInstances { get; }

Property Value

string[]

Remarks

The returned array contains the instance names for each core currently identified from the input files.

IclInstance

[readonly] The dictionary that contains the information of every ICL instance that are tested in this pattern.
The key is the name of the ICL instance and the value is the associated IclInstanceInfo object. that contains all the configuration and attributes of that ICL instance.

public Dictionary<string, IclInstanceInfo> IclInstance { get; }

Property Value

Dictionary<string, IclInstanceInfo>

IclInstances

Gets the collection of instance names currently registered in the ICL system.

public string[] IclInstances { get; }

Property Value

string[]

Remarks

The returned array contains the instance names for each icl currently identified from the input files.

PatternSetName

[readonly] The name of the pattern(set) in IGXL.

public string PatternSetName { get; }

Property Value

string

ScanNetworkMapping

[readonly] The name of the ScanNetwork map file(csv). This name is used for masking certain time slots on scan out pins by applying TesterCompare Masks. TesterCompare related methods are all under: TheHdw.Digital.ScanNetwork[ScanNetworkMapping]

public string ScanNetworkMapping { get; }

Property Value

string

ScanNetworkSetupPatternModuleName

[readonly] The name of the pattern file that contains the contribution bits. This pattern will be modified during OCComp Diagnosis reburst.

public string ScanNetworkSetupPatternModuleName { get; }

Property Value

string

Methods

ClearAllDisableContributionBits()

Clears all disable_contribution_bits, resetting the state to its default.

public void ClearAllDisableContributionBits()

Remarks

This method affects the internal state by removing any flags that disable contributions. It should be used when a full reset of contribution settings is required.

DisableContributionOfListedInstances(Site<string[]>, bool, bool)

Sets disable_contribution_bits for OnChipCompare icl-instances specified in the instanceList parameter.

public void DisableContributionOfListedInstances(Site<string[]> instanceList, bool increment, bool debugWriteComment = false)

Parameters

instanceList Site<string[]>
increment bool

whether to keep the existing masked instances

debugWriteComment bool

For debug use

EnableAllContribution()

[Obsolete("EnableAllContribution is deprecated. Use ClearAllDisableContributionBits instead.")]
public void EnableAllContribution()

ExecuteDiagnosisCoresConcurrent(ScanNetworkPatternResults)

Execute diagnosis rebursts for failed cores concurrently until all failed cores are diagnosed.

public void ExecuteDiagnosisCoresConcurrent(ScanNetworkPatternResults nonDiagnosisResults)

Parameters

nonDiagnosisResults ScanNetworkPatternResults

ExecuteDiagnosisCoresSequential(ScanNetworkPatternResults)

Execute diagnosis rebursts for failed cores sequentially until all failed cores are diagnosed.

public void ExecuteDiagnosisCoresSequential(ScanNetworkPatternResults nonDiagnosisResults)

Parameters

nonDiagnosisResults ScanNetworkPatternResults

ExecuteDiagnosisReburst(bool)

Execute a diagnosis reburst: increment reburst count; execute pattern(set); write FTR & STR.

public void ExecuteDiagnosisReburst(bool debugWriteComment = false)

Parameters

debugWriteComment bool

ExecuteNonDiagnosisBurst()

Execute the ScanNetwork pattern(set) in non-diagnosis mode with reburst until no more reburst is needed.

public void ExecuteNonDiagnosisBurst()

GetScanNetworkPatternResults()

Returns a ScanNetworkPatternResults object that contains the test results of the latest execution of this pattern.

public ScanNetworkPatternResults GetScanNetworkPatternResults()

Returns

ScanNetworkPatternResults

A ScanNetworkPatternResults object that contains the test results of the latest execution of this pattern.

IgnoreFailedInstances(ScanNetworkPatternResults, bool, bool, bool)

Sets disable_contribution_bits or perform TesterCompare mask for those failed instances in the test results, preparing for the next pattern burst.

public void IgnoreFailedInstances(ScanNetworkPatternResults results, bool increment, bool maskRepresentatives, bool debugWriteComment = false)

Parameters

results ScanNetworkPatternResults
increment bool

whether to keep the original ignored instances

maskRepresentatives bool
debugWriteComment bool

For debug use

IgnoreListedInstances(Site<string[]>, bool, bool, bool)

Sets disable_contribution_bits or perform TesterCompare mask for those instances specified in the instanceList parameter.

public void IgnoreListedInstances(Site<string[]> instanceList, bool increment, bool maskRepresentatives, bool debugWriteComment = false)

Parameters

instanceList Site<string[]>

(Per site)List of ssh instances that should be masked/disable_contribution for upcoming Pattern Burst.

increment bool
maskRepresentatives bool
debugWriteComment bool

For debug use

MaskListedInstances(Site<string[]>, bool, bool, bool)

perform TesterCompare mask for specified instances in the instanceList parameter.

public void MaskListedInstances(Site<string[]> instanceList, bool increment, bool maskRepresentatives, bool debugWriteComment = false)

Parameters

instanceList Site<string[]>
increment bool

whether to keep the existing masked instances

maskRepresentatives bool
debugWriteComment bool

For debug use

MuteAllExcept(Site<string[]>, bool)

Sets all disable_contribution_bits except for those icl-instances specified in the contributingSshList parameter.

public void MuteAllExcept(Site<string[]> contributingSshList, bool debugWriteComment = false)

Parameters

contributingSshList Site<string[]>

(Per site)List of ssh instances that should remain 'contributing' for diagnosis.

debugWriteComment bool

For debug use

SetAllDisableContributionBits()

Sets all disable_contribution_bits in the ScanNetwork_setup pattern, disabling all OnChipCompare icl-instances from contributing to the ScanNetwork bus output.

public void SetAllDisableContributionBits()

SetupDiagnosisForCore(Site<List<string>>, bool)

Prepare the instrument for diagnosis of specified cores: Mask non-relevant ssh-icl-instances; Set disable contribution bits for non-relevant OCComp icl-instances.

public void SetupDiagnosisForCore(Site<List<string>> coreList, bool debugWriteComment = false)

Parameters

coreList Site<List<string>>
debugWriteComment bool

SetupNonDiagnosisBurst()

Prepare the instrument for non-diagnosis burst: Mask representative ssh instances; Enable all contribution bits; Set CMEM to capture sticky bits.

public void SetupNonDiagnosisBurst()