kartal
kartal

Reputation: 18096

include floating point library in vhdl

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 ?

Upvotes: 0

Views: 993

Answers (3)

wjl
wjl

Reputation: 7785

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

Upvotes: 1

Brian Carlton
Brian Carlton

Reputation: 7773

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

Upvotes: 0

Martin Thompson
Martin Thompson

Reputation: 16832

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.

Upvotes: 2

Related Questions