SampleAndHoldResetEnabled

SampleAndHoldResetEnabled is a memory block with enable and reset ports.

Methods

Arguments / Input Variables

Return Value

compute

IV::continuous

E::logical

R::logical

u::continuous

y

none

continuous

On activation of method

SampleAndHoldResetEnabled

compute

If reset is disabled (i.e. R = FALSE) and E = TRUE, the value u is buffered.

If reset is enabled, the value IV is buffered.

y

returns the buffered value x.