Class SsnCsvFile
- Namespace
- Csra
- Assembly
- Csra.dll
Class to parse information from an ssn.csv file. Only for use in constructor method of ScanNetworkPatternInfo.
[Serializable]
public class SsnCsvFile
- Inheritance
-
SsnCsvFile
- Inherited Members
Constructors
SsnCsvFile(string, string)
Construct a new SsnCsvFile object and load the specified _ssn.csv file.
public SsnCsvFile(string fileName, string instanceKey = "Ssh instance")
Parameters
fileNamestringThe _ssn.csv file name, which is generated by ATEGEN along with the atp file.
instanceKeystringOptional. The
Keyattribute for indexing the instances. Must be an attribute whose value is unique across all instances. By default it's the 3rd column, which is "Ssh instance".
Properties
ContribLabel
The label is used for modifying the disable-contribution-bits in the ssn_setup pattern.
public string ContribLabel { get; }
Property Value
ContribPin
The pin list is used for modifying the disable-contribution-bits in the ssn_setup pattern.
public string ContribPin { get; }
Property Value
CsvVersion
The version of the ssn setup csv file. It shall appear in the first line of the csv file, which starts with "//SSN instances". Default to "v1.0" if not specified.
public string CsvVersion { get; }
Property Value
InstanceKey
The attribute name used as the key for indexing instances.
public string InstanceKey { get; }
Property Value
SshInstances
Dictionary of SSH instances, where the default Attribute for key is the icl-instance name and the value is a dictionary of attribute names and values.
public Dictionary<string, Dictionary<string, string>> SshInstances { get; }
Property Value
StickyPin
The pin list that output the sticky bits in the ssn end pattern.
public string StickyPin { get; }
Property Value
TckRatio
The TCK ratio of the SSN pattern. It is used to determine the number of vectors to be modified for each disable-contribution-bit in the ssn_setup pattern. In v1.0, the attribute name was "Num bits", in v2025.7 it is changed to "Tck ratio".
public string TckRatio { get; }