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 ...
Altera_Forum
Honored Contributor
11 years agoHi Lee,
--- Quote Start --- I can use NCO megaCore function to generate I and Q data now. Got a question for CIC and FIR MegaCore functions. Should the inputs to these two filters in unsigned/sign integer number format or unsigned/sign fractional number format (p4-1, FIR Compiler User Guide attached)? I think unsigned/sign fractional format means a number is always smaller than 1. So floating number input such as 12.111 is not allowed. Is is corret? --- Quote End --- Altera has a habit of changing their IP cores, so any answer I give could be wrong :) The best way to answer these questions is to create a Modelsim simulation and provide the simulation test stimulus and check the response. Then repeat that sequence with the MATLAB model. In fact, the cores usually provide a simple (usually quite useless) testbench. You should be able to determine the appropriate data format using those testbenches. Cheers, Dave