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# 24651

9.1i EDK - ERROR: dcm_0_wrapper.vhd line 110 - Type of C_CLKDV_DIVIDE is incompatible with type of 16

Description

Keyword: Platgen, C_CLKDV_DIVIDE, incompatible type

Working into XPS, we want to divide a 100 MHz clock by 16. We are using the dcm initially used in the system, setting parameter C_CLKDV_DIVIDE to 16 and connecting pin CLKDV to the IP needing that frequency clock. I am using the XPS GUI to configure the DCM.

After launching PLATGEN script, we receive the following error message:

Error Message:

---------------------------------------

ERROR:HDLParsers:800 - dcm_0_wrapper.vhd line 110 - Type of C_CLKDV_DIVIDE is incompatible with type of 16.

Solution

The problem here is that the C_CLKDV_DIVIDE parameter is expecting a real value rather than an integer. The root cause of it is the DCM module's MPD file.

Work-around 1:

Modifies the generic C_CLKDV_DIVIDE in the generated DCM wrapper file from 16 to 16.0.

Work-around 2:

Copy and paste the DCM pcore folder from the EDK installation directory into the pcore folder under your project directory and modified its MPD file, which can be found in the Data folder. By the changing the line # 46 to the following, the error should disappear next time you run Platgen.

PARAMETER C_CLKDV_DIVIDE = 2.0, DT = REAL, VALUES = (1.5 = 1.5, 2.0 = 2.0, 3.0= 3.0, 3.5= 3.5, 4.0= 4.0, 4.5= 4.5, 5.0= 5.0, 5.5=5.5, 6.0= 6.0, 6.5= 6.5, 7.0= 7.0, 7.5= 7.5, 8.0= 8.0, 9.0= 9.0, 10.0= 10.0, 11.0= 11.0, 12.0= 12.0, 13.0= 13.0, 14.0=14.0, 15.0=15.0, 16.0= 16.0)

This Answer Record applies for any integer divisor values from 8 to 16.

This problem has been fixed in the latest EDK 9.1i Service Pack, available at:

http://www.xilinx.com/xlnx/xil_sw_updates_home.jsp
The first service pack containing the fix is EDK 9.1i Service Pack 1.

AR# 24651
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article