A
Aiken
Guest
data_in : in std_logic_vector(data_size-1 downto 0)
data_out: out std_logic_vector((log2(data_size downto 0)
If the input vector is "000110101", then output is "101" = 5
I don't want to use one case statement to due with it (since it will
create not balance logic)
How can I code it to have balance combination logic and minimize the
level of logic.
p.s. no register in the desin
data_out: out std_logic_vector((log2(data_size downto 0)
If the input vector is "000110101", then output is "101" = 5
I don't want to use one case statement to due with it (since it will
create not balance logic)
How can I code it to have balance combination logic and minimize the
level of logic.
p.s. no register in the desin