Interface ILib.ISetup.IDigital
- Namespace
- Csra.Interfaces
- Assembly
- Csra.dll
The interface for the Digital branch.
public interface ILib.ISetup.IDigital
Methods
ConfigureCapture(IDigitalCapture)
Configures capture memory.
void ConfigureCapture(IDigitalCapture digitalCapture)
Parameters
digitalCaptureIDigitalCaptureTol digital capture object.
ConfigurePatternControl(Pins, int, tlPPMUPatternControlReadFormat)
Setup PPMU capture pin to be controlled from within executed pattern. Exclusive to UP5000.
void ConfigurePatternControl(Pins capturePins, int numSamplesPerStrobe, tlPPMUPatternControlReadFormat readFormat)
Parameters
capturePinsPinsPin to configure PPMU to capture data.
numSamplesPerStrobeintThe number of samples to read per strobe.
readFormattlPPMUPatternControlReadFormatThe reading format for the Pattern Control.
ConfigureRamp(Pins, string, double, double, double, double, int)
Configures a ramp on a digital instrument pin.
void ConfigureRamp(Pins rampPin, string signalName, double startingValue, double incrementValue, double incrementPeriod, double startDelay, int incrementCount)
Parameters
rampPinPinsDigital pin to configure ramp on.
signalNamestringSignal name of ramp.
startingValuedoubleStarting value for ramp.
incrementValuedoubleIncrement value for ramp.
incrementPerioddoubleIncrement period for ramp.
startDelaydoubleDelay to begin incrementing from start of ramp.
incrementCountintIncrement count for ramp.
Connect(Pins)
Connect digital pins to the digital driver and comparator
void Connect(Pins pins)
Parameters
pinsPinsPins to be connected, must contain digital pins
Disconnect(Pins)
Disconnect digital pins from the digital driver and comparator
void Disconnect(Pins pins)
Parameters
pinsPinsPins to be disconnected, must contain digital pins
FrequencyCounter(Pins, double, FreqCtrEventSrcSel, FreqCtrEventSlopeSel)
Configures the digital instrument frequency counter.
void FrequencyCounter(Pins pins, double measureWindow, FreqCtrEventSrcSel eventSource, FreqCtrEventSlopeSel eventSlope)
Parameters
pinsPinsDigital pin(s) to be measured.
measureWindowdoubleTime to measure the frequency.
eventSourceFreqCtrEventSrcSelThe frequency counters comparator threshold.
eventSlopeFreqCtrEventSlopeSelThe frequency counters event slope.
ModifyPins(Pins, DigitalPinsParameters)
Selectively program or modify any digital instrument pins parameter.
void ModifyPins(Pins pins, DigitalPinsParameters parameters)
Parameters
pinsPinsThe pins to set.
parametersDigitalPinsParametersThe object through which each parameter can be set.
ModifyPins(Pins, tlHSDMAlarm?, tlAlarmBehavior?, bool?, bool?, ChInitState?, ChStartState?, bool?, bool?)
Selectively program or modify any digital instrument Pins parameter.
void ModifyPins(Pins pins, tlHSDMAlarm? alarmType = null, tlAlarmBehavior? alarmBehavior = null, bool? disableCompare = null, bool? disableDrive = null, ChInitState? initState = null, ChStartState? startState = null, bool? calibrationExcluded = null, bool? calibrationHighAccuracy = null)
Parameters
pinsPinsThe pins to set.
alarmTypetlHSDMAlarm?Optional. Sets the alarm type for the specified pins.
alarmBehaviortlAlarmBehavior?Optional. Sets the alarm behavior for the specified pins.
disableComparebool?Optional. Disables the comparators for the specified pins
disableDrivebool?Optional. Disables the drivers for the specified pins
initStateChInitState?Optional. Sets the initial state of the pins
startStateChStartState?Optional. Sets the start state of the pins
calibrationExcludedbool?Optional. Sets the specified pins to be excluded from job dependent calibration
calibrationHighAccuracybool?Optional. Enables or disables calibration high accuracy mode for the specified pins
ModifyPinsLevels(Pins, DigitalPinsLevelsParameters)
Selectively program or modify any digital instrument pins levels parameter.
void ModifyPinsLevels(Pins pins, DigitalPinsLevelsParameters parameters)
Parameters
pinsPinsThe pins to set.
parametersDigitalPinsLevelsParametersThe object through which each parameter can be set.
ModifyPinsLevels(Pins, ChDiffPinLevel?, double?, DiffLevelValueType[], double[], tlDriverMode?, ChPinLevel?, double?, SiteDouble, PinListData)
Selectively program or modify any digital instrument pins levels parameter.
void ModifyPinsLevels(Pins pins, ChDiffPinLevel? differentialLevelsType = null, double? differentialLevelsValue = null, DiffLevelValueType[] differentialLevelsValuesType = null, double[] differentialLevelsValues = null, tlDriverMode? levelsDriverMode = null, ChPinLevel? levelsType = null, double? levelsValue = null, SiteDouble levelsValuePerSite = null, PinListData levelsValues = null)
Parameters
pinsPinsThe pins to set.
differentialLevelsTypeChDiffPinLevel?Optional. Sets the differential levels type for the specified pins
differentialLevelsValuedouble?Optional. Sets the specified differential pin level type for the specified pins
differentialLevelsValuesTypeDiffLevelValueType[]Optional. Sets the differential levels values type for the specified pins
differentialLevelsValuesdouble[]Optional. Sets the specified differential pin levels values type for the specified pins
levelsDriverModetlDriverMode?Optional. Sets the driver mode for the specified pins
levelsTypeChPinLevel?Optional. Sets the level type for the specified pins
levelsValuedouble?Optional. Sets the value for the specified level type on the specified pins
levelsValuePerSiteSiteDoubleOptional. Sets the value for the specified level type for the specified pins on each site
levelsValuesPinListDataOptional. Sets the value for the specified level value for each specified site and each specified pin
ModifyPinsTiming(Pins, DigitalPinsTimingParameters)
Selectively program or modify any digital instrument pins timing parameter.
void ModifyPinsTiming(Pins pins, DigitalPinsTimingParameters parameters)
Parameters
pinsPinsThe pins to set.
parametersDigitalPinsTimingParametersThe object through which each parameter can be set.
ModifyPinsTiming(Pins, double?, double?, bool?, string, chEdge?, bool?, double?, double?, string, double?, tlOffsetType?, double?, bool?, SiteLong, int?, SiteDouble, AutoStrobeEnableSel?, int?, int?, double?, double?, bool?, double?, FreqCtrEnableSel?, FreqCtrEventSlopeSel?, FreqCtrEventSrcSel?, double?)
Selectively program or modify any digital instrument pins timing parameter.
void ModifyPinsTiming(Pins pins, double? timingClockOffset = null, double? timingClockPeriod = null, bool? timingDisableAllEdges = null, string timingEdgeSet = null, chEdge? timingEdgeVal = null, bool? timingEdgeEnabled = null, double? timingEdgeTime = null, double? timingRefOffset = null, string timingSetup1xDiagnosticCapture = null, double? timingSrcSyncDataDelay = null, tlOffsetType? timingOffsetType = null, double? timingOffsetValue = null, bool? timingOffsetEnabled = null, SiteLong timingOffsetSelectedPerSite = null, int? timingOffsetValuePerSiteIndex = null, SiteDouble timingOffsetValuePerSiteValue = null, AutoStrobeEnableSel? autoStrobeEnabled = null, int? autoStrobeNumSteps = null, int? autoStrobeSamplesPerStep = null, double? autoStrobeStartTime = null, double? autoStrobeStepTime = null, bool? freeRunningClockEnabled = null, double? freeRunningClockFrequency = null, FreqCtrEnableSel? freqCtrEnable = null, FreqCtrEventSlopeSel? freqCtrEventSlope = null, FreqCtrEventSrcSel? freqCtrEventSource = null, double? freqCtrInterval = null)
Parameters
pinsPinsThe pins to set.
timingClockOffsetdouble?Optional. Sets the offset value between a DQS bus and a DUT clock in a DDR Protocol Aware test program for the specified pins
timingClockPerioddouble?Optional. Sets the current value for the period for the specified clock pins
timingDisableAllEdgesbool?Optional. Disables all edges (drive and compare) for the specified pins
timingEdgeSetstringOptional. Sets the edgeset name for the specified pins
timingEdgeValchEdge?Optional. Sets the timing edge for the specified pins
timingEdgeEnabledbool?Optional. Sets the enabled state for the specified pins and timing edge
timingEdgeTimedouble?Optional. Sets the edge value for the specified pins and timing edge
timingRefOffsetdouble?Optional. Sets the offset value between the specified source synchronous reference (clock) pin and its data pins
timingSetup1xDiagnosticCapturestringOptional. Sets up special dual-bit diagnostic capture in CMEM fail capture (LFVM) memory using the 1X pin setup for the specified pins and Time Sets sheet name
timingSrcSyncDataDelaydouble?Optional. Sets the strobe reference data delay for individual source synchronous data pins
timingOffsetTypetlOffsetType?Optional. Sets the timing offset type for the specified pins
timingOffsetValuedouble?Optional. Sets the timing offset value for the specified pins
timingOffsetEnabledbool?Optional. Sets the timing offset enabled state for the specified pins
timingOffsetSelectedPerSiteSiteLongOptional. Sets the active offset index value for the specified pins on each site
timingOffsetValuePerSiteIndexint?Optional. Set the timing offset index value. The valid index range is 0-7
timingOffsetValuePerSiteValueSiteDoubleOptional. Sets the current value for the offset at a specific index location that is to be applied to the timing values for the specified pins on each site
autoStrobeEnabledAutoStrobeEnableSel?Optional. Enable state of the AutoStrobe engine for the specified pins
autoStrobeNumStepsint?Optional. Sets the number of steps on the AutoStrobe engines for the specified pins
autoStrobeSamplesPerStepint?Optional. Sets the number of samples per step on the AutoStrobe engines for the specified pins
autoStrobeStartTimedouble?Optional. Sets the start time on the AutoStrobe engines for the specified pins
autoStrobeStepTimedouble?Optional. Sets the step time on the AutoStrobe engines for the specified pins
freeRunningClockEnabledbool?Optional. Sets the enable state of the free-running clock for the specified pins
freeRunningClockFrequencydouble?Optional. Sets the frequency of the free-running clock for the specified pins
freqCtrEnableFreqCtrEnableSel?Optional. Sets the frequency counter’s enable state for the specified pins
freqCtrEventSlopeFreqCtrEventSlopeSel?Optional. Sets the frequency counter’s event slope for the specified pins
freqCtrEventSourceFreqCtrEventSrcSel?Optional. Sets the frequency counter’s event source for the specified pins
freqCtrIntervaldouble?Optional. Sets the duration of time to capture the frequency counter data for the specified pins
ReadAll()
Configures the tester to read all the vector data using HRAM.
void ReadAll()
ReadFails()
Configures the tester to read the failing vector data using HRAM.
void ReadFails()
ReadHram(int, CaptType, TrigType, bool, int)
Configures the tester for HRAM read back.
void ReadHram(int captureLimit, CaptType captureType, TrigType triggerType, bool waitForEvent, int preTriggerCycleCount)
Parameters
captureLimitintMaximum number of vectors to be captured
captureTypeCaptTypeCycle type to be captured by HRAM, options are all, fail or stv
triggerTypeTrigTypeType of trigger for capture cycles, optiona are fail, first or never
waitForEventboolSets whether the trigger waits for a cycle, vector or loop event
preTriggerCycleCountintThe number of cycles to capture before the trigger cycle.
ReadStoredVectors()
Configures the tester to read the data from vectors containing the STV statement.
void ReadStoredVectors()
ResetCapture(IDigitalCapture)
Resets capture memory.
void ResetCapture(IDigitalCapture digitalCapture)
Parameters
digitalCaptureIDigitalCaptureTol digital capture object.