Forum Discussion
Altera_Forum
Honored Contributor
11 years agoInphase (I) and Quadrature (Q) components of signals
Hi All,
How to calculate the Inphase (I) and Quadrature (Q) components of signals, such as RF signals? I would like to shift the RF signals to a specific baseband frequency and then derive the I an Q components from signals. I sort of know I can use NCO megacore function to do these. But I would like to know the actual steps to achieve these and math theory behind it. Tutorial links or reference articles would be appeiciated. Many Thank, Lee22 Replies
- Altera_Forum
Honored Contributor
Hi Dave,
Thanks. Yes, I just re-read the NCO user guide and I can simulate the my NCO design vhdl file on ModelSim now. I used automatically generated tcl file to run the simulation. The instructions to follow is in page A-2 of the NCO MegaCore function User Guides. I think Altera should remind users that the testbench file should not be used in Quartus but will be used by the tcl file to run simulation in Modelsim. In Xilinx, you can run the testbench file directly (recall from my memory). Many Thanks, Lee - Altera_Forum
Honored Contributor
Hi Lee,
--- Quote Start --- Thanks. Yes, I just re-read the NCO user guide and I can simulate the my NCO design vhdl file on ModelSim now. I used automatically generated tcl file to run the simulation. The instructions to follow is in page A-2 of the NCO MegaCore function User Guides. --- Quote End --- Great! Glad to hear you got it working. --- Quote Start --- I think Altera should remind users that the testbench file should not be used in Quartus but will be used by the tcl file to run simulation in Modelsim. In Xilinx, you can run the testbench file directly (recall from my memory). --- Quote End --- I think Altera relies on the error messages to remind you :) Cheers, Dave