在 vhdl 中包含浮点库

发布于 2024-09-01 12:55:27 字数 101 浏览 3 评论 0原文

我有 pex_pkg.vhd,我想使用这个库来制作浮点加法器,但是 altera max+plus II 给我一个错误无法打开“PE​​X_lib”如何在 max+plus 中包含这个库?

I have pex_pkg.vhd and I want to use this library to make floating point adder but altera max+plus II give me an error can't open "PEX_lib" how to include this library in max+plus ?

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

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

发布评论

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

评论(3

我不在是我 2024-09-08 12:55:27

如果我是你,我会远离 Max plus II,它太老了 - 它的 VHDL 支持总是参差不齐,而且 IIRC 不可能使用 work 以外的库。

Altera 的工具现在是 Quartus - 我确信它可以处理多个库。

I'd stay away from Max plus II if I were you, it's v. old - its VHDL support was always spotty, and IIRC using libraries other than work wasn't possible.

Altera's tool is Quartus now - I'm sure that can handle multiple libraries.

苦行僧 2024-09-08 12:55:27

您应该查看 David Bishop 的 VHDL 浮点库。这是由编写 VHDL 2008 中内置的 VHDL 浮点库的同一位作者编写的,但这些库可以与较旧且更常见的 VHDL 工具一起使用。它们经过充分测试且可合成。唯一潜在的缺点是,因为它们是通过函数实现的,所以它们只能描述管道或组合数据路径的常见情况。 (例如,如果您想要较小的多周期数字串行设计,则必须求助于不同的库。)

You should check out David Bishop's VHDL Floating Point Library. This is by the same author who wrote the VHDL floating point libraries that are build into VHDL 2008, but these are usable with older and more common VHDL tools. They are fully tested and synthesizable. The only potential downside is that because they are implemented via functions, they can only describe the common case of either pipelined or combinational data paths. (If you want, for instance, a smaller multi-cycle digit-serial design, you have to resort to a different library.)

有深☉意 2024-09-08 12:55:27

你确定你愿意这样吗?大多数浮点库都是不可综合的。

Are you sure you wish that? Most floating point libraries aren't synthesizable.

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