In reply to dave_59:
If you have du``I_clk_x;, then the compiler would only see the tokens du and I_clk_x, and not just I.
So this means if i just use ``I , the expansion of macro `abc(1,a) would be :
assign abc[1] == R.duI_clk_x . Since its not defined as a separate token ??
Both R and I are arguments to the macro so why you say that no R
is needed where as I
is needed. Is it because the left hand side has no dependency on R or is it because R is not breaking the lexical variable ?
Also i also see some defines as :
define DUNIT_IOSFSB_ME(I)
IF_DUNITCTE.ME_if[``I]
So here I
is not used, why ?
Sorry for asking so many questions the LRM just has insufficient info on this.