首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

大家帮忙看看这是什么错误(EDK)

大家帮忙看看这是什么错误(EDK)

问题一:fast_runtime.opt里本来是这个样子的

              Program map
             -o <design>_map.ncd;     # Output Mapped ncd file
            -pr b;                   # Pack internal FF/latches into IOBs
           #-fp <design>.mfp;       # Floorplan file
          <inputdir><design>.ngd;  # Input NGD file
          <inputdir><design>.pcf;  # Physical constraints file
          END Program map

   现在有一个教程,它说加上一句-ir在如下位置

Program map
-o <design>_map.ncd;     # Output Mapped ncd file
-ir
-pr b;                   # Pack internal FF/latches into IOBs
#-fp <design>.mfp;       # Floorplan file
<inputdir><design>.ngd;  # Input NGD file
<inputdir><design>.pcf;  # Physical constraints file
END Program map

然后我就生成位流文件。这时出现了这个错误:


ERROR:Xflow:1 - Line   1: parse error '-pr' unexpected.
ERROR:Xflow:64 - 1 Error(s) found in Optionfile
   E:/Xilinx_practice/bsb/implementation/xflow.opt
ERROR:Xflow:40 - Errors found in flow and/or option files... Aborting!

make: *** [implementation/system.bit] Error 1

不知道为什么?  然后我就把-pr前加了// 注释掉了,然后再生成位流文件。ok了这次

问题二: 然后我接着做下一个步骤,build all use applications.  其实就是编译TestApp_Peripheral, 这时出现了这个错误;

 At Local date and time: Wed Sep 12 09:52:59 2007
 xbash -q -c "cd /cygdrive/e/Xilinx_practice/bsb/; /usr/bin/make -f system.make program; exit;" started...
mb-gcc -O2 TestApp_Peripheral/src/TestApp_Peripheral.c TestApp_Peripheral/src/xintc_tapp_example.c TestApp_Peripheral/src/xuartlite_selftest_example.c TestApp_Peripheral/src/xgpio_tapp_example.c TestApp_Peripheral/src/xtmrctr_selftest_example.c TestApp_Peripheral/src/xtmrctr_intr_example.c  -o TestApp_Peripheral/executable.elf \
    -mno-xl-soft-mul -mxl-pattern-compare -mhard-float -mcpu=v6.00.a  -Wl,-T -Wl,TestApp_Peripheral/src/TestApp_Peripheral_LinkScr.ld  -g    -I./microblaze_0/include/  -ITestApp_Peripheral/src/  -L./microblaze_0/lib/  \
 

/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: region ilmb_cntlr_dlmb_cntlr is full (TestApp_Peripheral/executable.elf section .text)
/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: region ilmb_cntlr_dlmb_cntlr is full (TestApp_Peripheral/executable.elf section .text)
/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: section .init [00000050 -> 00000073] overlaps section .text [00000050 -> 00002db3]
/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: section .fini [00000074 -> 0000008f] overlaps section .text [00000050 -> 00002db3]
/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: section .rodata [00000090 -> 00000728] overlaps section .text [00000050 -> 00002db3]
/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: section .data [0000072c -> 000007eb] overlaps section .text [00000050 -> 00002db3]
/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: section .ctors [000007ec -> 000007f3] overlaps section .text [00000050 -> 00002db3]
/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: section .dtors [000007f4 -> 000007fb] overlaps section .text [00000050 -> 00002db3]
/cygdrive/e/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: section .jcr [000007fc -> 000007ff] overlaps section .text [00000050 -> 00002db3]
collect2: ld returned 1 exit status
make: *** [TestApp_Peripheral/executable.elf] Error 1

Done!

 

我就回去文件夹里找TestApp_Peripheral_LinkScr.ld  ,没有看到有什么异样 

[em03]  这是怎么回事呀?

万万分感谢

Jennysun

55555大家都不理我了 我是刚刚学,有很多不会的地方大家多多教教我唩。 

pengyoubieku 帮帮忙唩

我也说不清楚 ,它就是一个简单的教如何使用EDK的一个流程教程,里面功能很简单,读取按键,然后把是哪一个键按下了,显示到LCD上, 这样说是不是很混乱呀, 那这样吧,你告诉我fast_runtime.opt 是做什么用的,我知道是与flow有用的,不过还是不知道究竟。 然后那个-ir是做什么用的,就行了,好不好,谢谢唩
返回列表