Forum Discussion
Altera_Forum
Honored Contributor
8 years agoImplement mux using for loop
Hi I think it is possible to implement a mux using a for loop like in the following example:
type array_type is array (7 downto 0) of std_logic_vector(15 downto 0);
signal mux_in: array...
Altera_Forum
Honored Contributor
8 years agoIt has to be implemented as a priority encoder because i has to keep being compared to mux_slct. Why not just use a case statement?