Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
Do you mean that you want to implement a sinusoidal generator?
- Altera_Forum
Honored Contributor
Ya. i want to generate a sine wave at the simulation process and need to implement a 100mhz to the vhdl codes. is it pssible?
- Altera_Forum
Honored Contributor
Use the IEEE.math_real package - there's sin and cos functions in there for real types - create your sine wave with that and then convert it to whatever type you need for testing your code.
- Altera_Forum
Honored Contributor
Thanks. I go try the suggested methods.