rohankewl
Newbie level 5
I'm getting the following the error message.
Please help me fix it.
Error: C:/Modeltech_xe_starter/examples/mph.v(45): (vlog-2110) Illegal reference to net "out".
** Error: C:/Modeltech_xe_starter/examples/mph.v(61): (vlog-2110) Illegal reference to net "out".
I have declared out as output[2:0] out
and in always block
I have the two statements where it is showing the error
out =3'b000;
out= mem[ptr];
Please help me fix it.
Error: C:/Modeltech_xe_starter/examples/mph.v(45): (vlog-2110) Illegal reference to net "out".
** Error: C:/Modeltech_xe_starter/examples/mph.v(61): (vlog-2110) Illegal reference to net "out".
I have declared out as output[2:0] out
and in always block
I have the two statements where it is showing the error
out =3'b000;
out= mem[ptr];