Guest
This seems like it would be a common question, but I can't find the answer.
I just wonder which function takes precedence if there are two functions with the same name (and argument/return types) in different visible packages:
use work.pkga.my_function;
use work.pkgb.my_function;
....
a <= my_function(b); -- am I using pkga or pkgb?
I just wonder which function takes precedence if there are two functions with the same name (and argument/return types) in different visible packages:
use work.pkga.my_function;
use work.pkgb.my_function;
....
a <= my_function(b); -- am I using pkga or pkgb?