Encoder 2^n to n HDL Generator
An archive full of HDL encoders is available
here. Inside the archive, you will find: (a) the VHDL files, (b) the library file
for every encoder, the report file for every encoder (output of the tool, with statistics), a summary file that prints the testbench outcome.
The filenames have
the following naming convention: encoder_a_b_c_d_e_f , where a: normal (0), priority(1), b: no enabling bit (0), enabling bit, c: input bits, d:maximum number of input ports per gate,
e: pipeline level (0: no pipeline), f: do not use buffered IO (0), or use buffered IO (1).