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# 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 Created 09/03/2007
Last Updated 02/01/2013
Status Active
Type General Article