SpinalHDL/SpinalDoc

Sfix weird range

postoroniy opened this issue · 2 comments

https://spinalhdl.github.io/SpinalDoc/spinal/core/types/Fix#signed-fixed-point

resolution as 2^resolution
max as 2^peak-2^resolution
min as 0 <- WHY?

Hoo that's a mistake, copy pasted from UFix, should be -2^peak

Fixed, sorry for the delay :/