Altera_Forum
Honored Contributor
9 years agoAssigning value to 7 bits output buffer?
Hi,
I'm doing a Moore FSM, and the outputs are 7 bits buffers (declared as such: sum: out STD_LOGIC_VECTOR(6 down to 0); ) When writing the output logic, I wrote: when S2 => sum <= '0001010'; but that gives me an error for each of these instances. What would be the correct syntax for what I'm trying to do? Thanks!