Forum Discussion
Altera_Forum
Honored Contributor
13 years agoNeed help with VHDL error here
Error (10476): VHDL error at scomp.vhd(64): type of identifier "AC_SHIFTED" does not agree with its usage as "std_logic_vector" type Error (10558): VHDL error at scomp.vhd(64): cannot associate fo...
Altera_Forum
Honored Contributor
13 years agoAC_SHIFTED is part of the state_type, and so has no specific value - the compiler will chose the value for you. If you want specific std_logic_vector values, you will need to specify them yourself.
You also get the error because you're trying to assign a value to an out port (you can only connect an output to a signal, not a constant or an input).