Altera_Forum
Honored Contributor
14 years ago4-QAM output error
Hi,
I am trying to build a 4-QAM on an Altera FPGA and am having problems with the simulation on ModelSim. Attached to this thread is my code "qam4.vhd" which is the 4-QAM code and "testbench_qam4.vhd" which is the testbench for the code. Can someone tell me why am i getting the results as I am getting in ModelSim as attached in the file "QAM_ModelSim_error.jpg". the real output and imag output don't seem to match what I coded in the file "qam4.vhd". The input data is extracted from the file "data.txt" Thank you so much, any help will be much appreciated.