delay - block
[sim, out] = ld_delay(sim, events, u, N)
in * - input
out * - output
delay in by N steps