fraction and integer part of sfixed signals

Status
Not open for further replies.

acinfo32

Member level 1
Joined
Jan 16, 2002
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
351
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,
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…