Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

NCO megacore function problem

Hi

i have a problem using the megacore function NCO . I made a model in which i have a NCO which generates a sine. i want this sine to be put out to the D2A_converter1 to display it on a oscilloscope. i can compile the model and program the fpga but there is no sine to be seen! then i noticed that in the board demo model to Stratix II EP2S180 there is file named : pll_clock_pins_add.tcl in which pins are assigned as output pins??

when i copy this file into my project it works and the sine can be seen on the oscilloscope!!!

but what did i do wrong and what can i do right so that this file is automatically generated?

does anyone have an idea?

thanks

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    In the StratixII EP2S180 board, there is a jumper to select the clock resource for the DAC device. You can select the oscilator, the PLL output clock, and the external clock resouse. I think it is using the PLL output clock in your jumper setting. And this tcl file can make the pin assignment on that location.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you very much for your reply! I try to work with the information you gave me! I post again when I know more.

    THX