Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Binary decoder
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Types of decoders== ===1-of-n decoder=== [[File:Decoder Example.svg|thumb|A 2-to-4 line decoder]] A 1-of-n binary decoder has n output bits. This type of decoder asserts exactly one of its n output bits, or none of them, for every integer input value. The "address" (bit number) of the activated output is specified by the integer input value. For example, output bit number 0 is selected when the integer value 0 is applied to the inputs. Examples of this type of decoder include: *A ''3-to-8 line decoder'' activates one of eight output bits for each input value from 0 to 7 β the range of integer values that can be expressed in three bits. Similarly, a ''4-to-16 line decoder'' activates one of 16 outputs for each 4-bit input in the integer range [0,15]. *A ''BCD to decimal decoder'' has ten output bits. It accepts an input value consisting of a [[binary-coded decimal]] integer value and activates one specific, unique output for every input value in the range [0,9]. All outputs are held inactive when a non-decimal value is applied to the inputs. *A [[demultiplexer]] is a 1-of-n binary decoder that is used to route a data bit to one of its n outputs while all other outputs remain inactive. ===Code translator=== Code translators differ from 1-of-n decoders in that multiple output bits may be active at the same time. An example of this is a ''seven-segment decoder'', which converts an integer into the combination of segment control signals needed to display the integer's value on a [[seven-segment display]] digit. One variant of seven-segment decoder is the ''BCD to seven-segment decoder'', which translates a binary-coded decimal value into the corresponding segment control signals for input integer values 0 to 9. This decoder function is available in standard ICs such as the CMOS [[4511]]. ===Binary to Unary Decoder=== A binary to unary decoder converts each binary value to its associated [[Unary coding|unary]] representation. Unlike the 1-of-n (one-hot) decoder, multiple output bits can be asserted for each input value. These decoders can be used in [[Digital-to-analog converter|DACs]] where each bit is equally weighted, and circuits that require a binary [[Mask (computing)|mask]] or window.<ref>{{Cite patent|country=US|number=5313300A|status=patent|title=Binary to unary decoder for a video digital to analog converter|gdate=1992-08-10|url=https://patents.google.com/patent/US5313300A/en}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)