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

Multi Cycle Divider Enhancements: remainder output and isSigned input #117

Closed kimmeljo closed 3 weeks ago

kimmeljo commented 3 weeks ago

Description & Motivation

Adding a remainder output so that this unit can be used for implementing the modulo operator. Adding an isSigned input so that the unit can handle unsigned operands if the integrating environment wants this.

Related Issue(s)

N/A

Testing

Enhanced existing testbench/checker to test the remainder output and mix in the use of the isSigned input.

Backwards-compatibility

No breaking changes.

Documentation

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

Documentation has been updated accordingly.