AR# 15309

|

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

描述

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.

解决方案

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

For more information, please see (Xilinx Answer 15254).
AR# 15309
日期 03/04/2008
状态 Archive
Type 综合文章
People Also Viewed