Encoder: Difference between revisions

Content deleted Content added
No edit summary
fancy formatting
Line 1:
{|align="right"
|[[Image:Encoder diagram.svg|thumb|240px212px|Circuit diagram of a single bit 4-to-2 line encoder]]
|-
|align="center"|
{|<div class="wikitablethumb"><div>
{| class="wikitable" style="margin:0;"
!colspan="6"|Truth table
!style="border-bottom:2px solid #000;"|A<sub>3</sub>
|-
!style="border-bottom:2px solid #000;"|A<sub>32</sub>
!style="border-bottom:2px solid #000;"|A<sub>21</sub>
!style="border-bottom:2px solid #000;"|A<sub>10</sub>
!style="border-bottom:2px solid #000; border-left:2px solid #000;"| F<sub>1</sub>
!A<sub>0</sub>
!style="border-leftbottom:2px solid #000;"| F<sub>10</sub>
!F<sub>0</sub>
|-
| 0 || 0 || 0 || 1 ||style="border-left:2px solid #000;"| 0 || 0
Line 21 ⟶ 19:
| 1 || 0 || 0 || 0 ||style="border-left:2px solid #000;"| 1 || 1
|}
!colspan="6"{{caption|Truth table}}
</div></div>
|}
An '''encoder''' is a [[device]] used to change a [[Signalling (telecommunication)|signal]] (such as a [[bitstream]]) or [[data]] into a [[code]]. The code may serve any of a number of purposes such as compressing information for [[transmission (telecommunications)|transmission]] or [[Computer storage|storage]], [[encrypting]] or adding [[Redundancy (information theory)|redundancies]] to the input code, or translating from one code to another. This is usually done by means of a programmed [[algorithm]], especially if any part is [[digital]], while most [[analog (signal)|analog]] encoding is done with [[analog circuit|analog circuitry]].