Closed Viq111 closed 9 years ago
Using vhd file:
entity MUX is Port ( RGB : out STD_LOGIC_VECTOR (0 to 2) ); end MUX; architecture Behavioral of MUX is begin RGB <= "100"; end Behavioral;
This is generated RGB : OUT STD_LOGIC_VECTOR(0 downto 0) but should be: RGB : OUT STD_LOGIC_VECTOR(0 to 2). It happens twice in the code
RGB : OUT STD_LOGIC_VECTOR(0 downto 0)
RGB : OUT STD_LOGIC_VECTOR(0 to 2)
Same for INTEGER which returns INTEGER(0 downto 0)
INTEGER
INTEGER(0 downto 0)
Fixed thanks!
Using vhd file:
This is generated
RGB : OUT STD_LOGIC_VECTOR(0 downto 0)
but should be:RGB : OUT STD_LOGIC_VECTOR(0 to 2)
. It happens twice in the code