将 Altera M9K 的内容重置为 0(上电值)

发布于 2024-09-27 17:21:45 字数 522 浏览 4 评论 0原文

你好,

我正在开发 Stratix III FPGA,它包含 M9K 块存储器,其内容在上电时可以方便地初始化为零。这非常适合我的应用。

有没有一种方法可以将内容重置为零,而无需对 FPGA 进行电源循环/重新刷新等操作? megawizard插件管理器中似乎没有这样的选项,我想避免浪费一堆逻辑,这些逻辑只是依次向每个地址写入零......

我环顾四周,没有提到这样的机制,但我想我会问以防万一有人知道一个方便的技巧:]顺便说一句,我正在使用 VHDL,但我应该能够翻译任何 Verilog。

数据表(不包含答案!):http://www.altera.com /literature/hb/stx3/stx3_siii51004.pdf

提前致谢,
- Thomas

PS:这是我在这里发表的第一篇文章,所以如果我违反了任何礼仪,请告诉我:)

Good day,

I am working on a Stratix III FPGA which contains M9K block memories, the contents of which are conveniently initialised to zero on power-on. This suits my application very well.

Is there a way to reset the contents back to zero without power-cycling/reflashing/etc the FPGA? There seems to be no such option in the megawizard plugin manager, and I would like to avoid wasting a bunch of logic which just goes and sequentially writes zero to every address...

I have looked around and there is no reference to such a mechanism, but I thought I'd ask just in case someone knew a handy trick :] By the way I'm working in VHDL but I should be able to translate any Verilog.

Datasheet (does not contain the answer!) : http://www.altera.com/literature/hb/stx3/stx3_siii51004.pdf

Thanks in advance,
- Thomas

PS: This be my first post here, so if I've violated any etiquette please let me know :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

热情消退 2024-10-04 17:21:45

抱歉,传统的方法是:

  • 重新配置fpga(如果您不介意重新配置时整个事情“消失”,您可以从硬件内部触发它)
  • 显式写入零(正如您已经建议的那样) )

在解决方案空间的古怪一端,我想如果您已经在 FPGA 中或外部拥有微控制器,我想您也可以将某些东西连接到 JTAG 端口 - 您可能能够覆盖 RAM内容也是如此。

Sorry, the conventional ways to do that are:

  • to re-configure the fpga (you could trigger that from within your hardware if you don;t mind the whole thing "disappearing" while it reconfigures)
  • explicitly write zeros in (as you already suggested)

At the wackier end of the solution space, I guess you could also wire something up to the JTAG port if you already have a microcontroller either in the FPGA or outside - you might be able to overwrite the RAM contents that way too.

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