Forum Discussion
RichardT_altera
Super Contributor
5 years agoThe error code meant to fix the problem identified by the message text.
Could you share your project so I can further check on this?
- SFalk35 years ago
New Contributor
Hello, thanks for your response. I've attached the project to this message. I am using Quartus Prime Lite version 18.1.
- SFalk35 years ago
New Contributor
Okay I fixed the issue by not referencing variables outside the scope of the function. So I passed in lines as an argument to get_color and current_point as an argument to get_next_state. Still, I wonder why this is necessary. I thought that I should be able to access module variables from within a module function.
- RichardT_altera5 years ago
Super Contributor
I found out if I relocate these two lines. (see attached) It seems to pass the error.