Forum Discussion
Altera_Forum
Honored Contributor
13 years ago"HREAD" is used but not declared"-Read text image data Error
Hi, I try simulate testbench code for read text image data (project example). I have includes all the package required (textio), but when I compile it I get this error: "Error (10482): V...
Altera_Forum
Honored Contributor
13 years agoYes, you can only run the testbench in modelsim. Textio is not appropriate for synthesys, hence why you cannot compile in Quartus.
The error you are getting is a type missmatch, you probably need to convert them using the to_signed(int, size) function. If you are unfamiliar with this, and textio, I suggest you read some VHDL tutorials, as these are very basic parts of VHDL.