Forum Discussion
Altera_Forum
Honored Contributor
10 years agoReading a file content with quartus
Hi everybody, I need to read a value from an external file at compilation time and I don´t achieve to do it with quartus. The same code works for Xilinx Ise but I´m not able to do it with Quart...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Quartus does not support textio during synthesis whilst Xilinx does. I opened an enhancement request for this about 8 years ago, but still no Textio. You can get quartus to read in text files using TCL and output a VHDL package that contains the version number. --- Quote End --- Thank you for your answer. I will try to do what you said but I need to do it automatically, so I will try to do a script that firstly generates the VHDL pakage and then compiles and generates all the quartus Project. I hope it is posible.