sssliz
Newbie level 6
hi,, i am doing a project on SOFTWARE DEFINED RADIO in which i am using a CIC filter which is implemented in FPGA.And hence i need to write a verilog code for cic.can u help me with a simple code please......:-(
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
always @(posedge clk)
begin : Comb
if (state == sample) begin
c0 <= i2[15:2];
i2d1 <= c0;
i2d2 <= i2d1;
c1 <= c0 - i2d2;
c1d1 <= c1[13:1];
c1d2 <= c1d1;
c2 <= c1[13:1] - c1d2;
c2d1 <= c2[12:1];
c2d2 <= c2d1;
c3 <= c2[12:1] - c2d2;
end
end
There are several Verilog CIC examples in previous threads, just search edaboard. I'm writing this stuff in VHDL, thus I can't give you any examples. You are welcome with specific questions related to your code, however.
There are several Verilog CIC examples in previous threads, just search edaboard. I'm writing this stuff in VHDL, thus I can't give you any examples. You are welcome with specific questions related to your code, however.