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

5.1i CORE Generator - Can the Memory Editor process negative numbers?

Description

Keywords: COE, .coe, distributed, ROM, COREGen

Urgency: Standard

General Description:
The CORE Generator Memory Editor is unable to process negative numbers; if I specify negative numbers in the Memory Editor, the numbers are written to the .COE file incorrectly.

For example, I have a 16-bit wide memory and specify the decimal number -128. The entry is written out to the COE as the following binary value:

0000000-10000000

This is obviously not a valid binary value, and the COE file is not usable.

Solution

To avoid this problem, use binary or hexadecimal format when entering the values.

For more information, please see (Xilinx Answer 15254).
AR# 15309
Date Created 09/03/2007
Last Updated 03/04/2008
Status Archive
Type General Article