![]() |
|
![]() |
|
Answers Database
ModelSim: ERROR (line number): Subprogram is ambiguous use -explicit option to disable
Record #4413
Product Family: Software ModelSim: ERROR (line number): Subprogram is ambiguous use -explicit option to disable Problem Description: Urgency: Standard General Description: When compiling a VHDL file in ModelSim, the following error message may be seen: ERROR: <file>.vhd (line number): Subprogram "=" is ambiguous. Suitable definitions exist in package 'std_logic_1164' and 'std_logic_unsigned'. ERROR: <file>.vhd (line number): (Use the '-explicit' option to disable the previous error check) Solution 1: This is caused by the function being defined in two libraries. Use the -explicit option to resolve the function. -explicit Used to ignore an error in packages supplied by some other EDA vendors; directs the compiler to reso lve ambiguous function overloading in favor of the explicit function definition. EX: vcom -explicit <filename>.vhd End of Record #4413 - Last Modified: 08/12/98 12:07 |
| For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips! |