L
lingwitt
Guest
Hello.
Consider:
module A (input theInput, output theOutput);
parameter delay = 2;
// Do something
endmodule
module B (input theInput, output theOutput);
parameter delay = a.delay + 5;
A a(theInput, theOutput);
// Do something
endmodule
The idea is that I'd like to know some kind of
total accumulative delay during elaboration.
Unfortunately, the previous example isn't valid
syntax.
Is there some way of achieving what I want?
I could use `defines, but that's gross, because
each module would need a unique identifier for
the delay.
Thanks.
Consider:
module A (input theInput, output theOutput);
parameter delay = 2;
// Do something
endmodule
module B (input theInput, output theOutput);
parameter delay = a.delay + 5;
A a(theInput, theOutput);
// Do something
endmodule
The idea is that I'd like to know some kind of
total accumulative delay during elaboration.
Unfortunately, the previous example isn't valid
syntax.
Is there some way of achieving what I want?
I could use `defines, but that's gross, because
each module would need a unique identifier for
the delay.
Thanks.