intel / rohd-hcl

A hardware component library developed with ROHD.
https://pub.dev/packages/rohd_hcl
BSD 3-Clause "New" or "Revised" License
81 stars 23 forks source link

42compress #142

Open desmonddak opened 2 days ago

desmonddak commented 2 days ago

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.