FixedPoint.of constructor
Cast logic to fixed point
Implementation
FixedPoint.of(Logic signal,
{required this.signed, required this.m, required this.n})
: super(width: _fixedPointWidth(signed, m, n)) {
this <= signal;
}
Cast logic to fixed point
FixedPoint.of(Logic signal,
{required this.signed, required this.m, required this.n})
: super(width: _fixedPointWidth(signed, m, n)) {
this <= signal;
}