C
Charles.Zhao
Guest
When I design a large configurable IP, which is composed by some large
components, I want the compiler would report warnings or errors if the
IP integrate engineer do a wrong components configuration for this IP.
How can I do that?
for example, if my IP called A, it includes three main component
b,c,d. Each component b,c,d would have a number of instances, but some
of instances number combination is not supported. for example, if you
configure A has 3 b, 2 c, 1 d, that's allowed. But if you configure A
has 3 b, 2 c, 2 d, it's not allowed for 2 d is illegal. And I want it
will report out at the beginning of the code compilation process. Does
verilog or SV have this kind of function in syntax? Or you have some
other method to handle that?
Please give me your opinion.
components, I want the compiler would report warnings or errors if the
IP integrate engineer do a wrong components configuration for this IP.
How can I do that?
for example, if my IP called A, it includes three main component
b,c,d. Each component b,c,d would have a number of instances, but some
of instances number combination is not supported. for example, if you
configure A has 3 b, 2 c, 1 d, that's allowed. But if you configure A
has 3 b, 2 c, 2 d, it's not allowed for 2 d is illegal. And I want it
will report out at the beginning of the code compilation process. Does
verilog or SV have this kind of function in syntax? Or you have some
other method to handle that?
Please give me your opinion.