Forum Discussion
Altera_Forum
Honored Contributor
17 years agoSorry I should have said that the above only applies if you are trying to construct a stand-alone concurrent statement. If this is a line in a process then you need to use an "if" clause, i.e:
process (clk)
begin
if rising_edge (clk) then
if (cs = '1' and oe = '1' and we = '0' ) then
data <= data_out;
else
data <= (others => 'Z');
end if;
end if;
end process;