FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6360 Discussions

NCO Compiler problem :(

Altera_Forum
Honored Contributor II
1,139 Views

Hi All, 

I am trying to generate a sine wave using nco compiler, I am using simulink for the megacore library, when I use it, in matlab promt it say that unable to locate megacore nco 2.2.2  

well anyways Then i have three inputs  

 

clkken 

phase_inc 

reset 

 

output i have  

sine 

cosine 

data ready 

 

So I just have to plug in the 32 bit array to the phase in and 

attach a scope to see the output of it right? Am i missing something here ? I just see a straight in my scope  

 

Kindly Help me 

Regards 

DspBoard
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
384 Views

Hi DSPBoard, 

 

If I remember NCO correctly... you will have to enable clken, pass a constant value to the phi input (the phi value can be found in the megawizard, after you set all the dithering...etc.) and lastly reset the core. If you do all three, then you should be able to see sine and cosine waves coming out of the core. 

 

Good luck!
0 Kudos
Reply