{
  "id": "enwiki-001288212683",
  "slug": "encoder-digital",
  "title": "Encoder (digital)",
  "qid": "",
  "lead": "An encoder (or \"simple encoder\") in digital electronics is a one-hot to binary converter. That is, if there are 2 n input lines, and at most only one of them will ever be high, the binary code of this 'hot' line is produced on the n-bit output lines. A binary encoder is the dual of a binary decoder. If the input circuit can guarantee at most a single-active input, a simple encoder is a better choice than a priority encoder, since it requires less logic to implement. However, a simple encoder can generate an incorrect output when more than a single input is active, so a priority encoder is required in such cases.",
  "body": "An encoder (or \"simple encoder\") in digital electronics is a one-hot to binary converter. That is, if there are 2 n input lines, and at most only one of them will ever be high, the binary code of this 'hot' line is produced on the n-bit output lines. A binary encoder is the dual of a binary decoder. If the input circuit can guarantee at most a single-active input, a simple encoder is a better choice than a priority encoder, since it requires less logic to implement. However, a simple encoder can generate an incorrect output when more than a single input is active, so a priority encoder is required in such cases. ==References==",
  "categories": [
    "23118434",
    "23603337",
    "27179408"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1288212683",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1746072411.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001288212683",
    "type": "webpage",
    "title": "Encoder (digital)",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/encoder-digital",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001288212683",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1288212683",
    "note": "Immutable snapshot enwiki-001288212683"
  }
}