drom / logidrom

:bulb: Digital Circuit rendering engine
https://logi.drom.io
MIT License
31 stars 6 forks source link

Multiplexer (mux) #10

Open drom opened 8 years ago

drom commented 8 years ago

multiplexer (or mux) is a device that selects one of several input signals and forwards the selected input into a single line.

Proposed mux expression (selector in position 1):

['x', ['?', 'sel', 'a', 'b', 'c', 'd']

mux4-1 svg

2:1 mux expressed as a ternary operator

x = sel ? a : b

mux symbols:

DIN40900: 2:1 MUX / 4:1 MUX 200px-mux-symbol_din40900 svg2-mux_symbol2_din40900 svg

2:1 MUX / 4:1 multiplexer_2-to-1 svg200px-multiplexer_4-to-1 svg

prawlins commented 3 years ago

Is this feature still a proposal or has it been implemented?