whateva
Newbie level 4
hi,
can any one help me with the implementation of berlekamp algorithm for (7,3) reed solomon decoder, i have found a few codes but i cant understand them,as i am not using multipliers, rather i am using luts for gf mul.
Secondly in syndrome generator
The datain and the output of the multiplier when added can yield a zero value i.e. 3'b000, which
is then stored in the register.
For such cases,i want to make an ifelse statement,that, if the value going in the register is 3'b000,
next time the datain should not be added with the output of the multiplier from above....it should be
passed as such to the register.
But the problem i am facing is that i am calculating the values on sys_clk using always statement i.e.
always @ (posedge sys_clk or negedge rst)
begin
z1= datain^m1; //m1 is the output of the multiplier
And my data_clk is different i.e the datain is coming at data_clk,but the value is manipulated at sys_clk
I dont know how to implement zero condition for next value of datain....
Kindly help me with this...
can any one help me with the implementation of berlekamp algorithm for (7,3) reed solomon decoder, i have found a few codes but i cant understand them,as i am not using multipliers, rather i am using luts for gf mul.
Secondly in syndrome generator
The datain and the output of the multiplier when added can yield a zero value i.e. 3'b000, which
is then stored in the register.
For such cases,i want to make an ifelse statement,that, if the value going in the register is 3'b000,
next time the datain should not be added with the output of the multiplier from above....it should be
passed as such to the register.
But the problem i am facing is that i am calculating the values on sys_clk using always statement i.e.
always @ (posedge sys_clk or negedge rst)
begin
z1= datain^m1; //m1 is the output of the multiplier
And my data_clk is different i.e the datain is coming at data_clk,but the value is manipulated at sys_clk
I dont know how to implement zero condition for next value of datain....
Kindly help me with this...