UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 23646

8.1 AccelDSP Synthesis Tool - Divide by Zero Warning During Verify -floatingpoint

Description

When running a Floating Point Verification (Verify -floatingpoint) on the AccelWare "rdivide" Block, the following MATLAB message occurs: 

"Warning: Divide by zero"

Solution

This warning message is not a problem because it is not associated with the synthesizable portion of the "rdivide" block (rdivied_001.m) but with the script file that tests the behavior of the "rdivide" (rdivide_001_script.m). In that script file, we calculate the ideal results via the statement: 

 

referenceIdeal = A./B; 

 

where 'A' and 'B' are the inputs to "rdivide". The results from "rdivide" are compared against the "referenceIdeal". The warning message happens when a zero value exists in 'B'.

AR# 23646
Date Created 09/04/2007
Last Updated 05/20/2014
Status Archive
Type General Article