Table of Contents

Class Digital

Namespace
Csra.TheLib.Setup
Assembly
Csra.dll
public class Digital : ILib.ISetup.IDigital
Inheritance
Digital
Implements
Inherited Members

Methods

ConfigureCapture(IDigitalCapture)

Configures capture memory.

public virtual void ConfigureCapture(IDigitalCapture digitalCapture)

Parameters

digitalCapture IDigitalCapture

Tol digital capture object.

ConfigurePatternControl(Pins, int, tlPPMUPatternControlReadFormat)

Setup PPMU capture pin to be controlled from within executed pattern. Exclusive to UP5000.

public void ConfigurePatternControl(Pins capturePins, int numSamplesPerStrobe, tlPPMUPatternControlReadFormat readFormat)

Parameters

capturePins Pins

Pin to configure PPMU to capture data.

numSamplesPerStrobe int

The number of samples to read per strobe.

readFormat tlPPMUPatternControlReadFormat

The reading format for the Pattern Control.

ConfigureRamp(Pins, string, double, double, double, double, int)

Configures a ramp on a digital instrument pin.

public void ConfigureRamp(Pins rampPin, string signalName, double startingValue, double incrementValue, double incrementPeriod, double startDelay, int incrementCount)

Parameters

rampPin Pins

Digital pin to configure ramp on.

signalName string

Signal name of ramp.

startingValue double

Starting value for ramp.

incrementValue double

Increment value for ramp.

incrementPeriod double

Increment period for ramp.

startDelay double

Delay to begin incrementing from start of ramp.

incrementCount int

Increment count for ramp.

Connect(Pins)

Connect digital pins to the digital driver and comparator

public virtual void Connect(Pins pins)

Parameters

pins Pins

Pins to be connected, must contain digital pins

Disconnect(Pins)

Disconnect digital pins from the digital driver and comparator

public virtual void Disconnect(Pins pins)

Parameters

pins Pins

Pins to be disconnected, must contain digital pins

FrequencyCounter(Pins, double, FreqCtrEventSrcSel, FreqCtrEventSlopeSel)

Configures the digital instrument frequency counter.

public virtual void FrequencyCounter(Pins pins, double measureWindow, FreqCtrEventSrcSel eventSource, FreqCtrEventSlopeSel eventSlope)

Parameters

pins Pins

Digital pin(s) to be measured.

measureWindow double

Time to measure the frequency.

eventSource FreqCtrEventSrcSel

The frequency counters comparator threshold.

eventSlope FreqCtrEventSlopeSel

The frequency counters event slope.

ModifyPins(Pins, DigitalPinsParameters)

Selectively program or modify any digital instrument pins parameter.

public virtual void ModifyPins(Pins pins, DigitalPinsParameters parameters)

Parameters

pins Pins

The pins to set.

parameters DigitalPinsParameters

The 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.

public virtual 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

pins Pins

The pins to set.

alarmType tlHSDMAlarm?

Optional. Sets the alarm type for the specified pins.

alarmBehavior tlAlarmBehavior?

Optional. Sets the alarm behavior for the specified pins.

disableCompare bool?

Optional. Disables the comparators for the specified pins

disableDrive bool?

Optional. Disables the drivers for the specified pins

initState ChInitState?

Optional. Sets the initial state of the pins

startState ChStartState?

Optional. Sets the start state of the pins

calibrationExcluded bool?

Optional. Sets the specified pins to be excluded from job dependent calibration

calibrationHighAccuracy bool?

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.

public virtual void ModifyPinsLevels(Pins pins, DigitalPinsLevelsParameters parameters)

Parameters

pins Pins

The pins to set.

parameters DigitalPinsLevelsParameters

The 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.

public virtual 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

pins Pins

The pins to set.

differentialLevelsType ChDiffPinLevel?

Optional. Sets the differential levels type for the specified pins

differentialLevelsValue double?

Optional. Sets the specified differential pin level type for the specified pins

differentialLevelsValuesType DiffLevelValueType[]

Optional. Sets the differential levels values type for the specified pins

differentialLevelsValues double[]

Optional. Sets the specified differential pin levels values type for the specified pins

levelsDriverMode tlDriverMode?

Optional. Sets the driver mode for the specified pins

levelsType ChPinLevel?

Optional. Sets the level type for the specified pins

levelsValue double?

Optional. Sets the value for the specified level type on the specified pins

levelsValuePerSite SiteDouble

Optional. Sets the value for the specified level type for the specified pins on each site

levelsValues PinListData

Optional. 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.

public virtual void ModifyPinsTiming(Pins pins, DigitalPinsTimingParameters parameters)

Parameters

pins Pins

The pins to set.

parameters DigitalPinsTimingParameters

The 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.

public virtual 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

pins Pins

The pins to set.

timingClockOffset double?

Optional. Sets the offset value between a DQS bus and a DUT clock in a DDR Protocol Aware test program for the specified pins

timingClockPeriod double?

Optional. Sets the current value for the period for the specified clock pins

timingDisableAllEdges bool?

Optional. Disables all edges (drive and compare) for the specified pins

timingEdgeSet string

Optional. Sets the edgeset name for the specified pins

timingEdgeVal chEdge?

Optional. Sets the timing edge for the specified pins

timingEdgeEnabled bool?

Optional. Sets the enabled state for the specified pins and timing edge

timingEdgeTime double?

Optional. Sets the edge value for the specified pins and timing edge

timingRefOffset double?

Optional. Sets the offset value between the specified source synchronous reference (clock) pin and its data pins

timingSetup1xDiagnosticCapture string

Optional. 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

timingSrcSyncDataDelay double?

Optional. Sets the strobe reference data delay for individual source synchronous data pins

timingOffsetType tlOffsetType?

Optional. Sets the timing offset type for the specified pins

timingOffsetValue double?

Optional. Sets the timing offset value for the specified pins

timingOffsetEnabled bool?

Optional. Sets the timing offset enabled state for the specified pins

timingOffsetSelectedPerSite SiteLong

Optional. Sets the active offset index value for the specified pins on each site

timingOffsetValuePerSiteIndex int?

Optional. Set the timing offset index value. The valid index range is 0-7

timingOffsetValuePerSiteValue SiteDouble

Optional. 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

autoStrobeEnabled AutoStrobeEnableSel?

Optional. Enable state of the AutoStrobe engine for the specified pins

autoStrobeNumSteps int?

Optional. Sets the number of steps on the AutoStrobe engines for the specified pins

autoStrobeSamplesPerStep int?

Optional. Sets the number of samples per step on the AutoStrobe engines for the specified pins

autoStrobeStartTime double?

Optional. Sets the start time on the AutoStrobe engines for the specified pins

autoStrobeStepTime double?

Optional. Sets the step time on the AutoStrobe engines for the specified pins

freeRunningClockEnabled bool?

Optional. Sets the enable state of the free-running clock for the specified pins

freeRunningClockFrequency double?

Optional. Sets the frequency of the free-running clock for the specified pins

freqCtrEnable FreqCtrEnableSel?

Optional. Sets the frequency counter’s enable state for the specified pins

freqCtrEventSlope FreqCtrEventSlopeSel?

Optional. Sets the frequency counter’s event slope for the specified pins

freqCtrEventSource FreqCtrEventSrcSel?

Optional. Sets the frequency counter’s event source for the specified pins

freqCtrInterval double?

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.

public virtual void ReadAll()

ReadFails()

Configures the tester to read the failing vector data using HRAM.

public virtual void ReadFails()

ReadHram(int, CaptType, TrigType, bool, int)

Configures the tester for HRAM read back.

public virtual void ReadHram(int captureLimit, CaptType captureType, TrigType triggerType, bool waitForEvent, int preTriggerCycleCount)

Parameters

captureLimit int

Maximum number of vectors to be captured

captureType CaptType

Cycle type to be captured by HRAM, options are all, fail or stv

triggerType TrigType

Type of trigger for capture cycles, optiona are fail, first or never

waitForEvent bool

Sets whether the trigger waits for a cycle, vector or loop event

preTriggerCycleCount int

The number of cycles to capture before the trigger cycle.

ReadStoredVectors()

Configures the tester to read the data from vectors containing the STV statement.

public virtual void ReadStoredVectors()

ResetCapture(IDigitalCapture)

Resets capture memory.

public virtual void ResetCapture(IDigitalCapture digitalCapture)

Parameters

digitalCapture IDigitalCapture

Tol digital capture object.