-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi,
I have followed your progress on the FixedPoint type after initially opening chipsalliance/chisel#3161. Thanks a lot for taking that up!
I wanted to ask about "Disallow negative binary point" in one of your latest commits: cb42069. Is disallowing negative binary points necessary?
I know this is also not supported in the current FixedPoint of chisel-3.5.6, but it's actually a feature that I've wanted to use in the past. For example, val fp = FixedPoint(8.W, -8.BP) would represent a 16-bit integer fp * 2^8. This is useful when we're only interested in the most significant bits of an integer.
Is there any reason to explicitly disallow this in the current implementation?
Thanks,
Michiel
Metadata
Metadata
Assignees
Labels
No labels