Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 764 Bytes

memsignals.md

File metadata and controls

23 lines (18 loc) · 764 Bytes

Memory Signals

Memory signals are like signals seen before, but using memory references to implement delay lines, recursions, and sharing of common subexpressions. During the compilation signals are translated to memory signals.

Definition

$$ M \in\MS ::= k || u || \ain{c} || \star(M_1,M_2,...) || t || m || v[M1,M2] $$

Where

  • $k$ is a number (integer or real)
  • $u$ is a user interface element (slider, button, etc.)
  • $\ain{c}$ is the input channel $c$
  • $\star(M_1,M_2,...)$ is a numerical operation on signals
  • $t$: is a scalar memory reference corresponding to the current time
  • $m$: is a scalar memory reference corresponding to a signal
  • $v[M_1,M_2]$ is a vector memory reference where $M_1$ is the time and $M_2$ the delay.