问题一: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 帮帮忙唩
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |