Altera_Forum
Honored Contributor
15 years ago[VHDL] Problem with signal type "std_logic_vector(0 downto 0)"
Hello,
I use IP module, where data bus width is set to '1'. In VHDL code it is declared as type "std_logic_vector(0 downto 0)", but for compiler this is not the same as "std_logic", type of signal assigned to this bus. I changed manually in the component's source code type "std_logic_vector" to "std_logic", but then Model-Sim started to cry, that somewhere in its library in the component's entity is type "std_logic_vector". Does anyone have an idea, how to fix it? Maybe there is a compiler option to ignore it? greetings