mazhariqbal
Newbie level 3
Hi All,
I need some help in verilog .... as I'm new to verilog and I'm supposed to design low pass filter (order 5) ....in my case data_in is 8 bit and I want 8' bit output...... for this I want some saturation and rounding off .....it is not working properly can anyone explain this concept to me please....and I'm also confused about co efficient representation in my code as my coefficient are all less than 1....... and I'm not sure I've defined them correctly for example if one value is (-0.042138198454649167).... 10101001..can anyone tell me if this is correct????? please do reply as soon as possible...I've used coefficient in my code as parameter [7:0] b1 = 8'b10101001......
I need some help in verilog .... as I'm new to verilog and I'm supposed to design low pass filter (order 5) ....in my case data_in is 8 bit and I want 8' bit output...... for this I want some saturation and rounding off .....it is not working properly can anyone explain this concept to me please....and I'm also confused about co efficient representation in my code as my coefficient are all less than 1....... and I'm not sure I've defined them correctly for example if one value is (-0.042138198454649167).... 10101001..can anyone tell me if this is correct????? please do reply as soon as possible...I've used coefficient in my code as parameter [7:0] b1 = 8'b10101001......