In reply to shparekh:
Hi,
This seems to compile, see if you can access package variables as well.
generate
if (condition) begin
import xgphy_0_reg_pkg::*;
end else begin
import xgphy_1_reg_pkg::*;
end
endgenerate
In reply to shparekh:
Hi,
This seems to compile, see if you can access package variables as well.
generate
if (condition) begin
import xgphy_0_reg_pkg::*;
end else begin
import xgphy_1_reg_pkg::*;
end
endgenerate