1 2 3 4 5 6 7 8 9 10 11 12
component sample_hold "Sample and Hold"; pin in s32 in; pin in bit hold; pin out s32 out; function _ nofp; license "GPL"; ;; FUNCTION(_) { if (!hold) { out = in; } }