Forum Discussion
Altera_Forum
Honored Contributor
21 years agoProbems with Quartus II software
I'm learning VHDL, using Quarus II software... I have written some functions which are not included in Quartus II software libraries. Now,I would like to use them in my programs but I have many errors during the compilation process ... I have 3 questions:
1) Can I use my own VHDL libraries in Quartus II software ? 2) If the answer is "yes" for the previous question, in which directory do I have to store my VHDL source code? 3) is it necessary to have a .dat file for a new VHDL library in quartus II software? In fact I want to use some functions such as puts, feof,ungetc etc... I can write these functions in VHDL language but I don't know how to call them... Please help http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif Regards2 Replies
- Altera_Forum
Honored Contributor
1.
Yes, "assignment"--> "Setting"-->"user libraries". It is just add "directory",in which your own libraries(files) are. In my opinion,you can simply put the "libraries" in the current project directory. Quartus will search the directory as default. 2. ".dat file, puts, feof", all those things are only useful in "simulation".However Quartus is a EDA software for "synthesis" "programming". So the answer is NO, in my mind. - Altera_Forum
Honored Contributor
Hi Moutain8848, I've tried your suggestions and I have an other problem
When I call a function witch is written in VHDL language and usin only standard functions, everything works fine. But when I add an other library In witch I call some functions witch had been defined in the previous one I have a pyramid of errors... In order to understant really what I need, I suggest you to compile the source named inlet_test.vhd, using the appropriate libraries written in VHDL language. You can find them on http://bear.ces.cwru.edu/vhdl (http://bear.ces.cwru.edu/vhdl) website... Please, let me know if you have the same errors 'cause in fact I'm just beginning using Quartus II software... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Thanks