Pro catalog
Code Conversion
Encoders, decoders, priority encoders, and binary/gray converters.
Category overview
Encoders, decoders, priority encoders, and binary/gray converters.
IP blocks
-
Combinational 16-bit priority encoder that outputs the binary index of the highest set input bit.
-
Converts 4-bit BCD inputs to binary with validity checking for invalid codes.
-
A synchronous 4-bit binary to BCD converter using the shift-and-add-3 algorithm with FSM control.
-
Converts a 4-bit thermometer code to a 2-bit binary value with clamping for overflow.
-
Encodes a 3-bit binary input into an 8-bit one-hot output.
-
An 8-bit priority decoder that converts a 3-bit binary index into a one-hot encoded output vector with a valid flag.
-
Combinational priority encoder converting 8-bit thermometer code to 3-bit binary index with MSB priority.
-
Combinational logic module that sign-extends an 8-bit input to a 16-bit output by replicating the MSB.
-
Combinational module that extends an 8-bit input to 16 bits by padding the upper 8 bits with zeros.
-
Converts a 4-bit binary number to its 4-bit Excess-3 equivalent.
-
Generate-for compare converter from 8-bit binary to a 9-bit thermometer code slice.
-
Case-table converter from 4-bit binary to a 15-bit thermometer code (value equals number of ones).
-
Registered 8-bit Gray code incrementer with Gray-to-binary and binary-to-Gray conversion logic.
-
Converts N-bit Gray code input to corresponding Binary output using a combinational XOR reduction chain.
-
Combinational priority encoder for active-low inputs, outputting one-hot encoded highest-index active request with valid flag.
-
Case-based one-hot decoder: 4-bit one-hot input to 2-bit binary, defaulting invalid codes to zero.
-
MSB-priority OR-tree decoder from 8-bit one-hot (or multi-hot) input to a 3-bit binary index.
-
An 8-bit thermometer code selector that outputs a one-hot code based on MSB priority.
-
Converts an 8-bit thermometer code to a 3-bit binary index of the highest set bit.
-
Combinational module that encodes the index of the least significant set bit in an 8-bit vector.