Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHelp with CIC decimation filter
Hi, I wrote a Verilog code for a CIC decimation filter. I relied on a code written in the book 'digital signal processing with FPGA' . Here is the code: // cic decimation filter : R=64, M...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- I tried the following change and got rid of red undefined states: i0 <= i0 + {{16{x[7]}},x_in}; //sx; --- Quote End --- hmm, that did not change anything for me. I simply replaced i0 <= i0 + sx by i0 <= i0 + {{16{x[7]}},x_in} , but the result is still the same.