Hi Wilson,
Please see my embedded comment:
Regards
Surya
-------- Original Message --------
Subject: Re:[sv-bc] Expected behavior of macro concatenation of macro
From:
wsnyder@wsnyder.org (Wilson Snyder)
To: Greg Jaxon
<Greg.Jaxon@synopsys.com>
Cc:
sv-bc@eda.org
Date: Wednesday, June 23, 2010 5:02:04 PM
expand the actual argument macro invocation at the point
when it is used in a formal substitution.
Yes, I think that's the right track.
Provided, this macro call is from RTL, not from other macro
definition, otherwise, your first e.g. will break in the following line:
`define REPEAT(n, d) `CONCAT(`REPEAT_, n)(d)
as `REPEAT_ is not defined.
-Wilson
--
This message has been scanned for viruses and
dangerous content by
MailScanner, and is
believed to be clean.
Received on Wed Jun 23 06:41:14 2010