Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
Modify the file that has just been posted for sin/cos
http://www.alteraforum.com/forum/showthread.php?t=26594 - Altera_Forum
Honored Contributor
For two bits IQ mapping, you only have 4 IQ points (QPSK) hence one +/- amplitude level per I or Q. you don't need to worry about sqrt(2) since all levels are same and you can choose any high enough +/- value that suits your resolution.
for multi-level case e.g (16 QAM), you have at least two levels and then you need to scale amplitude according to constellation diagram(ratio). But this is not what you are after. - Altera_Forum
Honored Contributor
How to write vhdl coding for the conversion of real numbers to binary (including decimal points) and more over which is synthesizable?
- Altera_Forum
Honored Contributor
You'll need to write a conversion function.
The IEEE floating point package should have them. http://www.vhdl.org/fphdl/ If you meant fixed point, you can get the same things from the fixed point packages on the same page.