Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline the parallel prefix adder #6

Open
joosthooz opened this issue Aug 31, 2021 · 0 comments
Open

Pipeline the parallel prefix adder #6

joosthooz opened this issue Aug 31, 2021 · 0 comments

Comments

@joosthooz
Copy link
Collaborator

joosthooz commented Aug 31, 2021

The delta designs have a limited data width because of timing difficulty in the parallel prefix adder. However, it should be possible to pipeline this. In the last cycle of the pipeline, the final value of the previous addition is known. So it can be added to all the partial sums. (see figure below or also fig. 17 here: http://users.encs.concordia.ca/~asim/COEN_6501/Lecture_Notes/L2_Notes.pdf)

.-. .-. .-. .-.                                     
|1| |2| |3| |4| input                               
'-' '-' '-' '-'                                     
 | \ |   |   |                                      
(r) (+) (r) (r)                                     
 |   | \ |   |                                      
(r) (r) (+) (r)                                     
 |   |   | \ |                                      
(r) (r) (r) (+)                                     
 |   |   |   |                                      
(+) (+) (+) (+) <- (ppp)                            
 |   |   |   |\     ^                               
 |   |   |   | \    | update ppp
 |   |   |   |  '--'                                
 v   v   v   v                                      
.-. .-. .-. .-.                                     
|o| |o| |o| |o| output                              
'-' '-' '-' '-'                                     

(r) = register
(+) = addition (and register)
(ppp) = previous partial prefix (initialize with the start value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant