Sep
2
[2008.01.11]
一直没有做成功Profile,原来输在最后一步上。
Profile的主要流程如下:
1. 在硬件中添加用于Profile的timer。方便的方法是在做BSB的时候直接添上,那么中断控制器INTC也就自动连上了。
2. 在Software Platform Settings中设置OS and Libraries --> Enable SW instructive profiling = True --> Profile time
3. 打开SDK,设置project的版本属性为Profile(不是Debug和Release):右键Project --> Properities --> C/C++ Build --> Configuration = Profile
4. 设置Download ELF为Profile的ELF:Device Configuration --> Program Hardware Settings --> ELF in Profile folder
5. Run Profile: Run --> Run... --> New --> C/C++ Application = Profile/executable.elf --> Profiler --> Enable Profiling --> Scratch Memory Address = Free Memory
按OK后SDK开始Profile。但是有时候会停在%XMD %XMD,Progress一直显示在80% -- 此时按一下回车就可以了
问题
在ISE 9.2自带的edk_prof.pdf中说在SDK的project中也要设置允许interrupt。但是我没有在main program中打开Interrupt Enable,为什么也能成功?
[2008.09.02]
一篇新发布的White Paper - WP348 MicroBlaze System Performance Tuning
http://www.xilinx.com/support/documentation/white_...
从一个实例开始讲述如何检查系统瓶颈,如何用Profile工具查看,如何解决问题。
FPGA系统不是通常的系统,它最大的优势是可以用硬件加速软件计算。
[参考资料]
EDK Profiling User Guide -\EDK\doc\usenglish\edk_prof.pdf
一直没有做成功Profile,原来输在最后一步上。
Profile的主要流程如下:
1. 在硬件中添加用于Profile的timer。方便的方法是在做BSB的时候直接添上,那么中断控制器INTC也就自动连上了。
2. 在Software Platform Settings中设置OS and Libraries --> Enable SW instructive profiling = True --> Profile time
3. 打开SDK,设置project的版本属性为Profile(不是Debug和Release):右键Project --> Properities --> C/C++ Build --> Configuration = Profile
4. 设置Download ELF为Profile的ELF:Device Configuration --> Program Hardware Settings --> ELF in Profile folder
5. Run Profile: Run --> Run... --> New --> C/C++ Application = Profile/executable.elf --> Profiler --> Enable Profiling --> Scratch Memory Address = Free Memory
按OK后SDK开始Profile。但是有时候会停在%XMD %XMD,Progress一直显示在80% -- 此时按一下回车就可以了
问题
在ISE 9.2自带的edk_prof.pdf中说在SDK的project中也要设置允许interrupt。但是我没有在main program中打开Interrupt Enable,为什么也能成功?
[2008.09.02]
一篇新发布的White Paper - WP348 MicroBlaze System Performance Tuning
http://www.xilinx.com/support/documentation/white_...
从一个实例开始讲述如何检查系统瓶颈,如何用Profile工具查看,如何解决问题。
FPGA系统不是通常的系统,它最大的优势是可以用硬件加速软件计算。
[参考资料]
EDK Profiling User Guide -
NetFPGA
EDK works with Sysgen



