BlockWerk Documentation
🔀

Demux

Signal Routing

Copies the input signal to multiple outputs. All outputs receive the same value as the input. Useful for fan-out scenarios where one signal needs to drive multiple downstream blocks.

Simulate in BlockWerk

Interactive sandbox directly in your browser — zero installation, WASM-powered.

Simulate in BlockWerk →

Inputs & Outputs

Direction ID Label Type Status
→ In in Vector vector Required
← Out out Element number Output

Parameters

Parameters Label Type Default Description
numOutputs Number of Outputs number 2

Usage Examples

  • Zie de ingebouwde voorbeelden in de handleiding voor een demonstratie van dit blok.

Remarks & Best Practices

  • Fan-out: Use Demux to distribute the same signal to multiple downstream blocks without drawing crossing connection lines
  • All outputs identical: Every output port carries the exact same value as the input; there is no splitting or partitioning
  • Unconnected outputs: Unused output ports are simply ignored — they consume no simulation resources
  • Visual clarity: Demux reduces clutter compared to manually splitting a connection line to multiple targets
  • Performance: Trivial pass-through with no computational overhead

Related Components

  • Mux: Combine multiple signals into one
  • Switch: Conditionally route signals