verilog macro string prefix

Status
Not open for further replies.

sonaj

Newbie level 5
Joined
Jul 5, 2008
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,330
How to add prefix to string in macro?


`define xxx(rrr) reg _`rrr;

`xxx(p);


do not work!


thx
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…