simulation behavior for denormal numbers -凯发k8网页登录

main content

simulation behavior for denormal numbers

description

specify the desired behavior for denormal results from arithmetic operations. denormal numbers are any non-zero numbers whose magnitude is smaller than the smallest normalized floating-point number (see ). some hardware targets flush denormal results from arithmetic operations to zero. you can emulate this behavior by setting the parameter to flush to zero (ftz).

settings

default: gradual underflow

gradual underflow

denormal numbers are used in the results from arithmetic operations. this setting is supported by all simulation modes.

flush to zero (ftz)

emulates flush-to-zero behavior for denormal numbers. this setting flushes denormal results from arithmetic operations to zero. this setting is not supported during normal mode simulation.

tips

in model reference systems, you can simulate a top-level model using gradual underflow with any simulation mode. models referenced by the top-level model can simulate the flush-to-zero behavior only if the instance of the referenced model uses an accelerated simulation mode and has the simulation behavior for denormal numbers parameter set to flush to zero (ftz).

command-line information

parameter: denormalbehavior
value: 'gradualunderflow' | 'flushtozero'
default: 'gradualunderflow'

dependency

this parameter requires a fixed-point designer™ license.

related topics

  • (fixed-point designer)
网站地图