   1/1  Parallel BCH decoder Implemenation by zoomkrupesh on Oct 23, 2009 zoomkrupesh Posts: 5 Joined: Jun 1, 2008 Last seen: Dec 26, 2022 HI, I want to know how to implement the parallel syndrome for bch code. Thanks in advance Krupesh HI, I want to know how to implement the parallel syndrome for bch code. Thanks in advance Krupesh
 RE: Parallel BCH decoder Implemenation by willow.liu on Nov 3, 2009 willow.liu Posts: 2 Joined: Dec 8, 2008 Last seen: Dec 1, 2009 If the bus width is 8 bits in your design. We will get the following equation that will be iterated in the sydrome stage. Sub(r[7:0]) = r*a^0 + r*a^1 + ... + r*a^7 And then: S1_clk0 = Sub(r[7:0]) S1_clk1 = Sub(r[7:0])*(a^8) + S1_clk0; S1_clk2 = Sub(r[7:0])*(a^8) + S1_clk1; ... S1_clkn = Sub(r[7:0])*(a^8) + S1_clk(n-1); The S1_clkn will be the sydrome 1. And you can caculate other syndromes in this way. Good Luck. If the bus width is 8 bits in your design. We will get the following equation that will be iterated in the sydrome stage. Sub(r[7:0]) = r*a^0 + r*a^1 + ... + r*a^7 And then: S1_clk0 = Sub(r[7:0]) S1_clk1 = Sub(r[7:0])*(a^8) + S1_clk0; S1_clk2 = Sub(r[7:0])*(a^8) + S1_clk1; ... S1_clkn = Sub(r[7:0])*(a^8) + S1_clk(n-1); The S1_clkn will be the sydrome 1. And you can caculate other syndromes in this way. Good Luck.  1/1  