acinfo32
Member level 1
Dear All,
In our calculations we have a sfilxed value:
SIGNAL Bin : sfixed(9 DOWNTO -9); -- ( = 2.7 )
Now I want to have the fractional part as integer (=7) in a signal and the "integer" part (=2) in another signal.
How can I do this? Is there an example?
I'm not succeeding even when using the round_style or overflow_style options.
With kind regards,
In our calculations we have a sfilxed value:
SIGNAL Bin : sfixed(9 DOWNTO -9); -- ( = 2.7 )
Now I want to have the fractional part as integer (=7) in a signal and the "integer" part (=2) in another signal.
How can I do this? Is there an example?
I'm not succeeding even when using the round_style or overflow_style options.
With kind regards,