home *** CD-ROM | disk | FTP | other *** search
- PRIORITY ENCODER AS AN INDEXED EQUATION
-
- In this 16-bit to 4-bit priority encoder, all of the complexity in the
- logic of an encoder is handled by this single-line indexed equation, which
- is explained in the reference guide. Compare this short specification to
- the Boolean specification in file ENCODER1.PLD.
-
- | in:Q[15..5], io:(Q[4..0], A[3..0], ZERO)
- |
- | Title: "16:4 priority encoder"
- |
- | i=3..0: n=15..0: A[i] = Q[15..n]==1 & n[i]
- |
- | ZERO = Q[15..0]==0
-
-