Component/3 Bit decoder: Difference between revisions

From Turing Complete
(Initial stub)
 
(added an abstract easy to understand explanation)
 
Line 36: Line 36:


When the Disable pin is {{On}}, all outputs are {{Off}}. Unlike some tri-state components like the {{Component|Switch|switch}} the outputs are always either {{Off}} or {{On}}, never {{Z}}.
When the Disable pin is {{On}}, all outputs are {{Off}}. Unlike some tri-state components like the {{Component|Switch|switch}} the outputs are always either {{Off}} or {{On}}, never {{Z}}.
You can see it as a Binary to Decimal converter; it takes a binary input value from 0 to 7 and activates the corresponding output line.
For example, an input of 000 will turn output 1 {{On}}, while all other outputs remain {{Off}}. An input of 101 (binary 5) will turn output 6 {{On}}, since outputs are numbered starting from 1 rather than 0. (for a complete conversion breakdown see the Truth Table)

Latest revision as of 20:43, 6 February 2026

3 Bit decoder
Type 1bit
Unlocked by 3 Bit Decoder
Internal ID Decoder3
stub
stub

This page is a stub. Help us expand it, and you get a cookie.

3 Bit decoder Truth Table
Input Disable Output
1 2 3 1 2 3 4 5 6 7 8
x x x 1 0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 0 1 0 0 0 0 0 0
0 1 0 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 0 1

When the Disable pin is converts a 3 bit input into a 1-hot encoding, where exactly one output pin is .

When the Disable pin is , all outputs are . Unlike some tri-state components like the switch the outputs are always either or , never .

You can see it as a Binary to Decimal converter; it takes a binary input value from 0 to 7 and activates the corresponding output line.

For example, an input of 000 will turn output 1 , while all other outputs remain . An input of 101 (binary 5) will turn output 6 , since outputs are numbered starting from 1 rather than 0. (for a complete conversion breakdown see the Truth Table)