xc <= x(0);
q(3) <= y(4);
t1 <= (q(3) and xc);
q(2) <= (t1 xor y(3));
t2 <= (q(2) and xc);
q(1) <= (t2 xor y(2));
t3 <= (q(1) and xc);
q(0) <= (t3 xor y(1));
t4 <= (q(0) and xc)
r <= "0000" & (t4 xor y(0));
In this VHDL Code Snippet, I'm getting the error "Cannot read output "q"." while compiling. It is Sequential, each next line needs the previous value. I'm not sure about the Syntax. Please do help...
q(3) <= y(4);
t1 <= (q(3) and xc);
q(2) <= (t1 xor y(3));
t2 <= (q(2) and xc);
q(1) <= (t2 xor y(2));
t3 <= (q(1) and xc);
q(0) <= (t3 xor y(1));
t4 <= (q(0) and xc)
r <= "0000" & (t4 xor y(0));
In this VHDL Code Snippet, I'm getting the error "Cannot read output "q"." while compiling. It is Sequential, each next line needs the previous value. I'm not sure about the Syntax. Please do help...