Forum Discussion
SFalk3
New Contributor
6 years ago"is not declared under this prefix"
Hello all, I'm getting the following errors during Analysis and Synthesis and I can't find much about them using Google. Error (10733): Verilog HDL error at spi_shapes_to_video.sv(67): color is n...
RichardT_altera
Super Contributor
6 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?
- SFalk36 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.
- SFalk36 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_altera6 years ago
Super Contributor
I found out if I relocate these two lines. (see attached) It seems to pass the error.