在 vhdl 中包含浮点库
我有 pex_pkg.vhd,我想使用这个库来制作浮点加法器,但是 altera max+plus II 给我一个错误无法打开“PEX_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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果我是你,我会远离 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.
您应该查看 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.)
你确定你愿意这样吗?大多数浮点库都是不可综合的。
Are you sure you wish that? Most floating point libraries aren't synthesizable.