AR# 15155

|

9.1i Data2MEM - In a BMM file, how do the "start_address" and "end_address" correlate to a MEM file?

Description

In a BMM file, how do the "start_address" and "end_address" correlate to a MEM file?

Solution

The "start_address : end_address" in the BMM file must match the address that is placed into the MEM file.

Example

You want to replace data in two RAMB16_S9 components, and the BMM file is as follows:

ADDRESS_BLOCK my_bram RAMB16 [0x00000000 : 0x000003fff]

BUS_BLOCK

path/to/bram/inst1 [0:7];

path/to/bram/inst2 [8:15];

END_BUS_BLOCK;

END_ADDRESS_BLOCK;

Use the following associated MEM file syntax to replace the data in these two block RAMs:

@00000000

AAAA BBBB CCCC DDDD .......... up to 16 Kbits

NOTE: The address in the MEM file must match the address in the BMM file; this is the only purpose of the address.

Refer to (Xilinx Answer 14384) for more information on the ".mem" format.

AR# 15155
Date 02/01/2013
Status Active
Type General Article
People Also Viewed