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

Add converters betwee `FloatingPointValue` and `FixedPointValue` #112

Open mkorbel1 opened 1 month ago

mkorbel1 commented 1 month ago

Motivation

Not all numbers can fit in double, so converting back and forth from double doesn't cover all cases

Desired solution

Add automation to convert between FloatingPointValue and FixedPointValue

Alternatives considered

No response

Additional details

https://github.com/intel/rohd-hcl/pull/99