faye_hongdou
Member level 1
![Member level 1](/styles/images/ranks/dlevel1.gif)
I'm confused about the following code, which is a part of booth multiplier.
Module CSA24 is a 24-bit carry save adder. And module BTH_25 generates the partial product using booth algorithm. While the PP_CSA is used to accumulate the partial product. My question is that why the (~pp[25]) and (~pp[24]) are used for SUM, but not (pp[25]) and (pp[24]).
Thanks a lot.
Code:
Module CSA24 is a 24-bit carry save adder. And module BTH_25 generates the partial product using booth algorithm. While the PP_CSA is used to accumulate the partial product. My question is that why the (~pp[25]) and (~pp[24]) are used for SUM, but not (pp[25]) and (pp[24]).
Thanks a lot.