In reply to dave_59:
It’s not possible. I see.
Thanks for the explanation.
In reply to Jung Ik Moon:
It is still not clear to me why you need to compile the same register model in two different packages. Why are you not compiling it into a package once and importing it where needed?
Here’s the situation.
Let’s say that the subsystem contains three IPs, ‘A’, ‘B’ and ‘C’.
It has a register model for all these IPs as below.
// Register model for subsystem testbench
- Block ABC
- Block A
- Register a
- Block B
- Register b
- Block C
- Register c
The subsystem testbench imports an environment for IP ‘A’ (developed by others) to reuse some components.
And the package includes a register model for IP ‘A’.
// Register model for IP A testbench
- Block A (duplicate part)
- Register a