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

Add support for subtract in preadder #3459

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gs-jgj
Copy link

@gs-jgj gs-jgj commented Aug 24, 2022

Inspired in part by how it is done for xilinx_dsp48a

The width check of 30 bits is kept for port A, but I wasn't able to create any cases where it really made sense (for cascading, etc). Without that I think the rules could easily be collapsed into a single one which just checks that both inputs to add/subtract is at most 25 bits

@gs-jgj gs-jgj marked this pull request as draft August 24, 2022 16:43
@gs-jgj gs-jgj marked this pull request as ready for review August 24, 2022 18:42
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

Successfully merging this pull request may close these issues.

1 participant