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?
SFalk3
New Contributor
5 years agoOkay 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.