Apr 29, 2010 #1 A 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,
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,