Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

How to use functions in packages on testbench code.

Hi all, How to use functions in the packages to testbench to give inputs a and b code. function to_max(a, b : integer) return integer is variable output :integer; begin if (a > b)...