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

42compress #142

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

42compress #142

wants to merge 7 commits into from

Conversation

desmonddak
Copy link
Contributor

Description & Motivation

Adds 4:2 compressors option to ColumnCompressor as well as a better delay table for optimizing the compression tree.

Added a popCount as a LogicValue extension which may need to be migrated to ROHD itself (along with majority). Eventually we will need hardware versions of these.

Related Issue(s)

#120 #86

Testing

Modified tests to enable the 4:2 compression option.

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

compression trees will take on a different shape with different delay tables as the delay optimization gets more realistic.

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

Yes. Code is updated. We could update the component generation to expose this option as well as we need to update the documentation of multipliers that use this option.

@desmonddak desmonddak requested a review from mkorbel1 November 20, 2024 22:53
if (use42Compressors) {
carryColumns = List.generate(pp.maxWidth(), (i) => ColumnQueue());
}
// if (use42Compressors) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete unused if statement code?

}
}
rowBits.addAll(List.filled(pp.rowShift[row], Const(0)));
// rowBits.addAll(List.filled(pp.rowShift[row], Const(0)));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete?

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.

ColumnCompressor should be support more compressors like 4:2
3 participants