Forum Discussion

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

[ NCO ] numerically controlled oscillators

Hi, i have simulated this NCO IP using small ROM options.Then i run the tcl script to simulate the waveform in modelsim.

Now was it possible to display this sin and cos waveform on the oscilloscope? Using the audio out?

The board i am using is altera DE2 board and do please tell me the step on displaying this signal on oscilloscope or vga.

7 Replies

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

    Connect a DAC to it's output. You can use Video DAC for that I suppose, but I am not sure about audio DAC, since there is audio codec, not simple dac on DE2.

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

    by video DAC are you referring to Video in port and connect it to oscilloscope?

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

    No, video out.

    As described in DE2 I/O features:

    Video Out (VGA 10-bit DAC)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok so i need to use the vga to pc lcd monitor but i could not find the info in nco manual to send the signal to the monitor. I wish it was easy like assigning the 7-bit segment like i use to do it in verilog.

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

    No, connect NCO output to one of the DAC colors input and stick oscilloscope probe to that color pin in the VGA connector.

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

    does assigning the input sine wave to the rgb pin using the pin planner enough for this? or do i need to implement it in the vga_driver.v

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

    I am not sure, check the datasheet of the DAC. Should be enough, since vga driver needs to generate vertical and horizontal timing impulses, which are not needed in this case.