cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
orangepeace
Explorer
Explorer
7,720 Views
Registered: ‎11-02-2011

A question about ap_fixed<w,I, Q,O N>

Hi All,

 

   Vivado can support ap_fixed<W, I, Q, O, N>. I learn some infomation about it in UG902. 

 

   It says N defines the number of saturation bits in overflow wrap modes.

 

   Please help me to understand "the number of saturation bits". Could you give me an example?

 

  Thanks.

 

Best Regards

Orange

0 Kudos
1 Reply
debrajr
Moderator
Moderator
7,714 Views
Registered: ‎04-17-2011

N=Selects the number of bits to use in overflow modes AP_WRAP and AP_WRAP_SM
Regards,
Debraj
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos