将 XILINX XPS 与 Microblaze 结合使用 - 对 fpga 进行编程的最快方法

发布于 2024-08-04 02:38:29 字数 163 浏览 4 评论 0原文

我正在设计一个基于 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

素罗衫 2024-08-11 02:38:29

右键单击顶级 C 文件。选项就在那里。

Right click on the top-level C file. The option is there.

噩梦成真你也成魔 2024-08-11 02:38:29

+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.

请远离我 2024-08-11 02:38:29

一旦你构建了硬件系统,你不需要每次都重新编译它。现在,只需将硬件导出到 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文