Guest
#4291820
Hi, Im trying to implement a generic Mux on the spartan 3e using Xilinx ISE. I am having issues with this, I have an input, call it INPUT_A that can be Q bits wide and a select, SEL_B that is R bits wide. output is 3 bits In the entity its like this: generic R=2, Q=3 INPUT_A is a std_logic_vector (2**R)*Q downto 0); SEL_B std_logic_vector (R-1 down to 0); output std_logic_vector(Q downto 0); I have the entity OK, but just cant get the device itself. i have something like this for the actual device in one line: output<INPUT_A((conv_integer(SEL_B)+1)*Q-1 downto conv_integer(SEL_B)*Q) Can anyone give any ideas on this? Thank you
