Hello everyone,
I want to select package depending of parameter. I have the same parameters which different value in this two packages : pkg_std, pkg_a. And I would like to select the good one depending of the mode A
I don't know if it's possible.
Modelsim get an error on this :
Parameter A = 0;
if(!A)
begin
import pkg_std::*;
end
else
begin
import pkg_a::*;
end
It s seems a conflict between the two packages, because all parameters declared into the package are "undefined variable".
I'm curious if you have already to attempt this?
Let me know, please.
Thanks a lot.
Bye, JP LM