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

LogiCORE Block Memory Generator v1.1 - CORE Generator issues error when loading a COE file: "ERROR:sim:185 - Improperly formatted COE file"

Description

This issue is applicable to all cores that use COE files, such as Block Memory Generator and Single and Dual Port Block Memory. When loading or specifying a COE file in the customization GUI, the following error occurs:

"ERROR:sim:185 - Improperly formatted COE file C:/ /case/test_decimal.coe. Parameter assignments should be separated by a ";" character.

ERROR:sim:186 - Found an illegal assignment near ~m"

Solution

This issue is caused by invisible control characters in the COE file. Some of the file editing tools available on PCs can append the unwanted invisible characters. The characters are invisible and you cannot view. However, you can view them with file editing tools (such as gvim or vi) available on UNIX systems. Running "dos2unix" does not remove all of the problematic characters.

Based on Xilinx testing, WordPad does not append these characters. Consequently, you can use WordPad to create COE files or use the Memory Editor tool available from CORE Generator.

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