FPGA Solution
Logic elements (% usee)
8-bit
34 k (29%)
6-bit
26 k (23%)
5-bit
22 k (19%)
4-bit
20 k (17%)