将 XILINX XPS 与 Microblaze 结合使用 - 对 fpga 进行编程的最快方法
我正在设计一个基于 xilinx fpga 上的 microblaze 微处理器的微控制器。大部分硬件设置已完成。此时我所更新的只是要在 microblaze 上运行的 C 代码。 XPS 有没有办法不必重建整个项目,而只需重建 C 代码部分。重建整个项目大约需要 20 分钟——如果我不需要这样做就好了。谢谢。
I'm designing a micro controller based around the microblaze microprocessor on a xilinx fpga. Most of the hardware setup is done. All I'm updating at this point is the c code to be run on the microblaze. Is there a way in XPS to not have to rebuild the entire project, just the c code portion. It takes around 20 minutes to rebuild the entire project - would be nice if i didn't have to. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
右键单击顶级 C 文件。选项就在那里。
Right click on the top-level C file. The option is there.
+1 询问硬件编程问题。所以需要更多这些。
我相当确定以前已经这样做过,但是您必须在控制器中构建重写存储 c 程序的 ROM 的功能。如果您明确告诉程序员将程序 ROM 放在哪里,某些器件可能会提供写入专用存储器的特定部分的功能,而无需重新配置整个 fpga。我不知道 virtex 是否会这样做。
+1 for asking a hardware programming question. SO needs more of these.
I'm fairly certain this has been done before, but you would have to build into your controller the ability to rewrite the ROM where the c program is stored. If you specifically tell the programmer where to put the program ROM, some devices may offer the capability to write to specific sections of dedicated memory without reconfiguring the entire fpga. I don't know if the virtex does this though.
一旦你构建了硬件系统,你不需要每次都重新编译它。现在,只需将硬件导出到 Xilinx SDK(如果您使用过 Eclipse,它应该非常熟悉)。通过 SDK,您可以修改 C 程序并在 FPGA 上运行。
Once you've built the hardware system, you do not need to recompile it everytime. Now, just export the hardware to Xilinx SDK (it should be very familiar if you've used Eclipse). From the SDK, you can modify your C program and run it on the FPGA.