One-shot

class tiliqua.dsp.Trigger(*args, src_loc_at=0, **kwargs)

When trigger condition is met, output is set to 1, for 1 stream cycle.

Currently this only implements rising edge trigger.

class tiliqua.dsp.Ramp(*args, src_loc_at=0, **kwargs)

If trigger strobes a 1, ramps from -1 to 1, staying at 1 until retriggered. A retrigger mid-ramp does not restart the ramp until the output has reached 1.