User`s guide
N-Sample Enable
5-325
5N-Sample Enable
Purpose Output ones or zeros for a specified number of sample times.
Library DSP Sources,
Signal Management / Switches and Counters
Description The N-Sample Enable block outputs the inactive value (0 or 1, whichever is not
selected in the
Active level parameter) during the first N sample times, where
N is the
Trigger count value. Beginning with output sample N+1, the block
outputs the active value (
1 or 0, whichever is selected in the Active level
parameter) until a reset event occurs or the simulation terminates.
The
Reset input check box enables the Rst input port. At any time during the
count, a trigger event at the input port resets the counter to its initial state.
The triggering event is specified by the
Trigger type pop-up menu, and can be
one of the following:
•
Rising edge triggers the reset when the trigger input rises from a negative
value to zero or a positive value, or from zero to a positive value.
•
Falling edge triggers the reset when the trigger input falls from a positive
value to zero or a negative value, or from zero to a negative value.
•
Either edge triggers the reset when either a rising or falling edge (as
described above) occurs.
The output is always sample-based.
Dialog Box