Hi, I written VHDL function as package,how to use that function in testbench code. function to_max(a, b : integer) return integer is variable output :integer; begin if (a > b)then output := a; return output ; else output := b; return output; end if; Thanks in advance Regards Raghvendra
library my_library; use my_library.my_package.to_max;
Thanks for reply..i done that declaration part..my problem is how to give input to a and b .
<glasshouse on> ... and you expect a usefull info or solution with the input that you gave...? <glasshouse off>
Thanks for your reply.I need soluation for inputs along with useful information.