Forum Discussion

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

i want to know how to design sine and cosine lut using vhdl

i dont knw how to do sine cosine lut plz give me any hint. its use for the nco

1 Reply

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

    You can do it all in VHDL. Use an initialisation function to set the table values into a constant, and then access it like a rom.

    From here, I think you have enough to do the work yourself.