AR# 19162

LogiCORE Direct Digital Synthesis (DDS) v4.1 - Why do I receive a fatal error when running CompXLib to compile the DDS for use with Scirocco or VCS-MX?

描述

Why do I receive fatal errors similar to the following when running CompXLib to compile the DDS for use with Scirocco or VCS-MX?

"Error: analysis Parsing vhdl-0

[/build/xfndry1/G.28/rtf/vhdl/src/XilinxCoreLib/mult_gen_v6_0_non_seq.vhd:519]

Internal Error - please report (unknown arg type)

constReal := math_2_pi/2.0**phaseWidth;"

^

"Error: analysis Parsing vhdl-483

[/build/xfndry1/G.28/rtf/vhdl/src/XilinxCoreLib/c_dds_v4_1_pack.vhd:60]

MATH_2_PI is not declared

"/build/xfndry1/G.28/rtf/vhdl/src/XilinxCoreLib/c_dds_v4_1_pack.vhd": "

解决方案

To solve this issue, you must define the math_2_pi constant.

The current work-around is to modify the "c_dds_v4_1_pack.vhd" located at:

%Xilinx%/vhdl/src/XilinxCoreLib directory.

Add the following to line 37 of the "c_dds_v4_1_pack.vhd" file:

constant MATH_2_PI : real := 6.28318_53071_79586_47692 ;

This line is between the following:

constant ONE_CYCLE : integer := 1;

constant ZERO_CYCLE : integer := 0;

-- added this line to fix problem with math_real packages

constant MATH_2_PI : real := 6.28318_53071_79586_47692 ;

end c_dds_v4_1_pack;

Save the file, and run the compilation again.

AR# 19162
日期 12/15/2012
状态 Active
Type 综合文章