RedstoneChips

encoder

A priority encoder circuit of any size. Bit size is determined by the number of outputs. The basic operation of the encoder is to output a binary number equal to the pin number of the input that’s currently on. For example, when the 3rd input of a 4input-2output encoder is on its outputs will be set to 10 or decimal 2.

on Wikipedia

source code


I/O setup

Sign text

  1. encoder

Version history: Added to BasicCircuits 0.1

Fork me on GitHub