How to use function

Guest
hi everyone,
i find a package with a function on internet.
how to use it?

package try is
function nextCRC16_D16
( Data_i: std_logic_vector(15 downto 0);
Data_o: std_logic_vector(15 downto 0) )
return std_logic_vector;
end PCK_CRC16_D16;
 
hikehak@tiscali.it wrote:

i find a package with a function on internet.
how to use it?
You should think about getting a book about VHDL...

Compile the package to a library of your choice (say "my_library"). Put
the following into the component where you want to use the function:

library my_library;
use my_library.ALL;


Ralf
 

Welcome to EDABoard.com

Sponsor

Back
Top