Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
can you teach me how to add library.....and how to use the library in the verilog coding.....for example...if i want to use the floating point library to make addition/sub....
for example if i have two floating point number........a and b in ieee754 format.....i want to add the number.....a+b....how do i code it using the library in verilog......
It is not that simple. You would have to create an entity in VHDL using the floating point library, and then instantiated that entity in verilog. You cannot use the VHDL floating point library direcly.
But then the VHDL floating point library is not very useful at the moment. You cannot synthesise with it for meaningful results. You need to use IP cores for floating point functions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.