preethi19
Full Member level 5
- Joined
- Jun 30, 2014
- Messages
- 273
- Helped
- 0
- Reputation
- 0
- Reaction score
- 1
- Trophy points
- 16
- Activity points
- 3,474
Hi all i need to implement a BASK modulator in vhdl. And i learnt that the basic building block for this is DDS. Can anyone pls explain me about phase accumulator and ROM. Like i understand phase accumulator is just a counter. So say i just build a counter that increases with each clock cycle. And then the output of the accumulator can be given as the input(address) to ROM. And based on the address called the data is outputted from ROM. And then we use a phase to waveform converter to get the sine wave. But can anyone pls explain how to implement the above as blocks in vhdl.. Like say for example you need to build a simple counter and so on.. So i guess sine wave generator is the whole block within which is should instantiate the accumulator, ROM and waveform converter right??? Also please see this link https://books.google.ca/books?id=7-...h3Qwg3D#v=onepage&q=dds lut explained&f=false and pls scroll down wer u get a table. So i understand that table. Now i need to convert the ROM output to amplitude. How can i mention that for this value of ROM output the amplitude should keep toggling in a way to get a sine wave.. pls help me out.. Thank you!!!!
- - - Updated - - -
Also kindly have a look at the lut in this link....
**broken link removed**
Now in this link they have entered values like 255,254,252, 249, 245, 239..... and so on.... now in the previous link in the table ROM outputs digital values. So why use 255, 254.. instead of binary... i am asking this becoz i have no idea of how to write the table. So now when these values be it 255 or binary value outputs from the ROM how to associate these values with a particular amplitude value... Do we need anpther register saying that for this ROM output this is the corresponding amplitude?? How is that done pls help me out.. I'm trying to do from scratch so little confused.. If anyone has some simple examples or sites pls let me know.. would be really helpful...
- - - Updated - - -
Also kindly have a look at the lut in this link....
**broken link removed**
Now in this link they have entered values like 255,254,252, 249, 245, 239..... and so on.... now in the previous link in the table ROM outputs digital values. So why use 255, 254.. instead of binary... i am asking this becoz i have no idea of how to write the table. So now when these values be it 255 or binary value outputs from the ROM how to associate these values with a particular amplitude value... Do we need anpther register saying that for this ROM output this is the corresponding amplitude?? How is that done pls help me out.. I'm trying to do from scratch so little confused.. If anyone has some simple examples or sites pls let me know.. would be really helpful...