Forum Discussion
Altera_Forum
Honored Contributor
17 years agoImplimenting a NCO Core.
Hi i am learning to use Quartus II,
At the moment i am trying to just generate a sin wave for a stratix II board. I have set up the NCO block and got the symbol on the block diagram but i have no idea where to go from here. Can anyone give me the direction to go in or a diagram i can copy from? Thank you23 Replies
- Altera_Forum
Honored Contributor
Yes, I have the license to use Quartus. There is no "limited..sof".
I think there is a special license you have to get to use a fully functional NCO. - Altera_Forum
Honored Contributor
Check the License Setup menu to see if you have the NCO Feature on your license
It should appear as Numerically Controlled Oscillator. But even if you don't have the license, you can evaluate the core using the JTAG. I think there might be something else interfering on your project. How are you checking if the NCO is working? Did you use signal tap? - Altera_Forum
Honored Contributor
Hello Thiago!
I tried with the new Quartus v8.1 and now it works fine. I get a time limited .sof. Thank you very much!! - Altera_Forum
Honored Contributor
Hello Friends!
I trying to do a simulation with the NCO mega function and I have been unable, I have tried to follow the steps outlined here, but for some reason I do not work well simulation :confused:, my goal is to generate a sine wave of 50 Hz, I would like to compare with two triangular waves...but what interests me is the first generate the sinusoidal and be able to view...attached a screenshot of the schematic of what I have, be attentive to any suggestions. Regards Edgardo - Altera_Forum
Honored Contributor
Hello.
...try to set the "reset_n" to "VCC" ! Tobias - Altera_Forum
Honored Contributor
Heh, exactly!
=] - Altera_Forum
Honored Contributor
Thanks for your answers!
Even I could not visualize the waveforms, so I doubt emerged another. I need be made of pins configured to be able to simulate?, The simulation also takes a long time to run. Maybe I need to adjust some parameters of simulation, but follow the steps for doing the video tutorial. Regards Edgardo P.S.: sorry for the drafting, what happens is that I'm using a translator to write. - Altera_Forum
Honored Contributor
I'm sorry Edgardo, I don't quite understand what you are saying
Could you please try to explain it better? In portuguese perhaps? Spanish? :) Regards Thiago - Altera_Forum
Honored Contributor
Hola Thiago
Hablas español?...no se si pueda hablar en español en este foro, pero ya lo hice, jaja Lo que mecionaba es que aun no puedo visualizar las formas de onda, a lo que me surge otra duda, es necesario tener configurados los pines de salida en el chip correspondiente para tener una correcta simulación?, porque he seguido los pasos dados en el video tutorial, pero omití el paso del pin planner. Saludos - Altera_Forum
Honored Contributor
What are the results of your simulation? Nothing at all?
It isn't necessary to map the device pins just to make the simulation work. Have you configured the clock input pin in your simulation to provide a clock to the pll? You need to create a waveform file and put the clock input in it, and attribute a clock to this pin so that it can drive your pll. I hope this helps Regards, Thiago