modelPulse

Digital Pulse Source

Information

The pulse source forms pulses between the quiet value and the pulse value. The pulse length width is specified in percent of the period length period. The number of periods is specified by nperiod. If nperiod is less than zero, the number of periods is unlimited.

To specify the logic value parameters, the integer code has to be used.

Code Table

Logic value Integer code Meaning
'U' 1 Uninitialized
'X' 2 Forcing Unknown
'0' 3 Forcing 0
'1' 4 Forcing 1
'Z' 5 High Impedance
'W' 6 Weak Unknown
'L' 7 Weak 0
'H' 8 Weak 1
'-' 9 Do not care

If the logic values are imported by
import L = Digital.Interfaces.Logic;
they can be used to specify the parameter, e.g., L.'0' for forcing 0.

Parameters

TypeNameDefaultDescription
RealwidthWidths of pulses in % of periods
SI.TimeperiodTime for one period
SI.TimestartTimeOutput = quiet for time < startTime
D.Interfaces.LogicpulsePulsed value
D.Interfaces.LogicquietQuiet value
IntegernperiodNumber of periods (< 0 means infinite number of periods)

Connectors

TypeNameDefaultDescription
D.Interfaces.DigitalOutputy

Components

TypeNameDefaultDescription
SI.TimeT0Start time of current period
Integernp

Revisions

September 2, 2003
by Christoph Clauss initially modelled.