打印

将microblaze作为ise子模块,bram出错

[复制链接]
3266|6
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
本帖最后由 taogehao 于 2013-6-2 16:14 编辑

新手学习使用microblaze,在ise中添加embedded processor,XPS中添加bram,netlist成功,然后将microblaze作为子模块加入到sch文件中,综合,map,route成功,但是最后生成bit文件出错

错误如下:

ERROR:Data2MEM:47 - Not all BitLanes in ADDRESS_SPACE
'microblaze_0.axi_bram_ctrl_0_bram_block_combined' have BMM location
constraints.

    Some data for this ADDRESS_SPACE may be lost during BIT file
    replacement. Verify that the BMM file has location constraints
    for all BitLanes.

      Bitlane(s)
   ----------------
   XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_6 [7:4]
   XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_7 [3:0]
   XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_4
[15:12]
   XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_5
[11:8]
   XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_2
[23:20]
   XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_3
[19:16]
   XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_0
[31:28]
   XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_1
[27:24]

ERROR:EDK:1001 - Data2Mem generated errors during execution
make: *** [implementation/download.bit] ´íÎó 1
ERROR:EDK -  
   Error while running "make -f bram_em_test.make init_bram".
ERROR: running XPS to load ELF data to bitstream failed.
ERROR: Bitstream data load failed, XPS did not generate E:/Users/taoge/Desktop/bram_test/embedded/bram_em_test/implementation/download.bit

Process "Generate Programming File" failed

BMM文件:
// BMM LOC annotation file.
//
// Release 14.5 -  P.58f, build 3.0.7 Mar 3, 2013
// Copyright (c) 1995-2009 Xilinx, Inc.  All rights reserved.


///////////////////////////////////////////////////////////////////////////////
//
// Processor 'microblaze_0', ID 100, memory map.
//
///////////////////////////////////////////////////////////////////////////////

ADDRESS_MAP microblaze_0 MICROBLAZE-LE 100

    ///////////////////////////////////////////////////////////////////////////////
    //
    // Processor 'microblaze_0' address space 'microblaze_0_bram_block_combined' 0x00000000:0x00007FFF (32 KBytes).
    //
    ///////////////////////////////////////////////////////////////////////////////

    ADDRESS_SPACE microblaze_0_bram_block_combined RAMB32 [0x00000000:0x00007FFF]
        BUS_BLOCK
            XLXI_6/microblaze_0_bram_block/microblaze_0_bram_block/ramb36e1_0 RAMB32 [31:28] [0:8191] INPUT = microblaze_0_bram_block_combined_0.mem PLACED = X0Y20;
            XLXI_6/microblaze_0_bram_block/microblaze_0_bram_block/ramb36e1_1 RAMB32 [27:24] [0:8191] INPUT = microblaze_0_bram_block_combined_1.mem PLACED = X1Y22;
            XLXI_6/microblaze_0_bram_block/microblaze_0_bram_block/ramb36e1_2 RAMB32 [23:20] [0:8191] INPUT = microblaze_0_bram_block_combined_2.mem PLACED = X2Y21;
            XLXI_6/microblaze_0_bram_block/microblaze_0_bram_block/ramb36e1_3 RAMB32 [19:16] [0:8191] INPUT = microblaze_0_bram_block_combined_3.mem PLACED = X1Y23;
            XLXI_6/microblaze_0_bram_block/microblaze_0_bram_block/ramb36e1_4 RAMB32 [15:12] [0:8191] INPUT = microblaze_0_bram_block_combined_4.mem PLACED = X2Y20;
            XLXI_6/microblaze_0_bram_block/microblaze_0_bram_block/ramb36e1_5 RAMB32 [11:8] [0:8191] INPUT = microblaze_0_bram_block_combined_5.mem PLACED = X1Y21;
            XLXI_6/microblaze_0_bram_block/microblaze_0_bram_block/ramb36e1_6 RAMB32 [7:4] [0:8191] INPUT = microblaze_0_bram_block_combined_6.mem PLACED = X1Y19;
            XLXI_6/microblaze_0_bram_block/microblaze_0_bram_block/ramb36e1_7 RAMB32 [3:0] [0:8191] INPUT = microblaze_0_bram_block_combined_7.mem PLACED = X1Y20;
        END_BUS_BLOCK;
    END_ADDRESS_SPACE;


    ///////////////////////////////////////////////////////////////////////////////
    //
    // Processor 'microblaze_0' address space 'axi_bram_ctrl_0_bram_block_combined' 0x41418000:0x4141FFFF (32 KBytes).
    //
    ///////////////////////////////////////////////////////////////////////////////

    ADDRESS_SPACE axi_bram_ctrl_0_bram_block_combined RAMB32 [0x41418000:0x4141FFFF]
        BUS_BLOCK
            XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_0 RAMB32 [31:28] [0:8191] INPUT = axi_bram_ctrl_0_bram_block_combined_0.mem;
            XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_1 RAMB32 [27:24] [0:8191] INPUT = axi_bram_ctrl_0_bram_block_combined_1.mem;
            XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_2 RAMB32 [23:20] [0:8191] INPUT = axi_bram_ctrl_0_bram_block_combined_2.mem;
            XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_3 RAMB32 [19:16] [0:8191] INPUT = axi_bram_ctrl_0_bram_block_combined_3.mem;
            XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_4 RAMB32 [15:12] [0:8191] INPUT = axi_bram_ctrl_0_bram_block_combined_4.mem;
            XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_5 RAMB32 [11:8] [0:8191] INPUT = axi_bram_ctrl_0_bram_block_combined_5.mem;
            XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_6 RAMB32 [7:4] [0:8191] INPUT = axi_bram_ctrl_0_bram_block_combined_6.mem;
            XLXI_6/axi_bram_ctrl_0_bram_block/axi_bram_ctrl_0_bram_block/ramb36e1_7 RAMB32 [3:0] [0:8191] INPUT = axi_bram_ctrl_0_bram_block_combined_7.mem;
        END_BUS_BLOCK;
    END_ADDRESS_SPACE;

END_ADDRESS_MAP;

请高手帮帮忙,不胜感激!!!

xps中的设置如下:







2009-06-02_155715.png (6.4 KB )

ise sch文件

ise sch文件

相关帖子

沙发
wangjunjun2005| | 2013-6-3 18:26 | 只看该作者
确定在ISE里面添加是否正确?

使用特权

评论回复
板凳
taogehao|  楼主 | 2013-6-3 18:56 | 只看该作者
wangjunjun2005 发表于 2013-6-3 18:26
确定在ISE里面添加是否正确?

前面的应该都没问题,AXI总线的好像会有这个问题,google发现也有其他人有这个问题,现在还不知道怎样解决。换成PLB总线的设置基本相同,可以成功生成bit文件。可能是AXI的还有某些方面需要设置下,本人新手,只能先用PLB的。

使用特权

评论回复
地板
wangjunjun2005| | 2013-6-4 08:42 | 只看该作者
taogehao 发表于 2013-6-3 18:56
前面的应该都没问题,AXI总线的好像会有这个问题,google发现也有其他人有这个问题,现在还不知道怎样解 ...

需要加BMM文件,确定加了?

使用特权

评论回复
5
wangjunjun2005| | 2013-6-4 08:46 | 只看该作者
添加后的

1.JPG (6.52 KB )

1.JPG

使用特权

评论回复
6
wangjunjun2005| | 2013-6-4 08:47 | 只看该作者
见红色部分

1.JPG (26.94 KB )

1.JPG

使用特权

评论回复
7
taogehao|  楼主 | 2013-6-4 15:16 | 只看该作者
wangjunjun2005 发表于 2013-6-4 08:47
见红色部分

我的embedded processor就是在ise工程下建的,ise默认就可以寻找到BMM文件,如果还添加到ise工程中会出错,应该不是这个原因

2013-06-04_151339.png (4.18 KB )

2013-06-04_151339.png

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

9

帖子

0

粉丝