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
Guest
#2488759
Declare it:
1 | |
2 | |
Duke
Thanks for reply..i done that declaration part..my problem is how to give input to a and b .
Guest
#2488933
<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.
Reply
Please log in before posting.