Forum Discussion
11 Replies
- Altera_Forum
Honored Contributor
hi,
is it possible to see the part of your hdl code containing the instantiation? thx - Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
I think i am missing a library.
- Altera_Forum
Honored Contributor
There are inconsistencies in the info you've posted with references to 'NCO13' in the error but references to 'NCOex' and 'NCO2' in the block diagram and VHDL respectively. Please make sure you are consistent.
However, fundamentally Quartus doesn't know where to find the design entity - what 'NCO' is. How did you create NCO - via the IP Catalogue (or MegaWizard)? Are the source files for the IP included in your project? As indicated when you generate the IP 'you must manually add the .qip and .sip files after generating the ip core.' Or you can add the IP's .qsys file. So, check under 'Project' -> 'Add/Remove Files in Project...' that there are some files included for your IP. If not, add them. Cheers, Alex - Altera_Forum
Honored Contributor
i d on't figure why you called it "NCO13". It must be called "NCO2" as you named it. Pretty sure that's why you get an error.
- Altera_Forum
Honored Contributor
Hi alex,
I am sorry about the confusion. I tried multiple projects. I have created using Mega wizard option. I remember when created the NCO symbol, in my generation report it was not finished. I had to cancel the process. Manually add the symbol. Do you think this might be the case for not compiling? Thanks, Ash - Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
hi,
if i use your vhdl file i would write this in the top level entity: nco_inst : nco13 port map( clk => clk_in, reset_n => reset_n ... ); and one more thing i noticed in the first vhdl file you sent : look at reset_n and clk_en, they got the same signal "clk_en". I doubt that reset_n has the same polarity than clk_en. - Altera_Forum
Honored Contributor
Is 'nco13.qip' included in your project? Check under 'Project' -> 'Add/Remove Files in Project...'
Cheers, Alex