To calculate amount needed we use the following formula:
[tex] 2^{a} \cdot b [/tex]
Where a - number of input bits
b - number of output bits
In this case we have:
[tex] 2^{4} \cdot 2^{4} = 2^{8} = 256 [/tex] input bits
The number of output bits would be 8.
[tex] 256 \cdot 8 = 2048 [/tex]