Arpad - Do you mean "string parameters" or string arguments? I think you mean arguments to the macro that are strings. `define PRT(x) $strobe(x); `PRT("this is fine") -Geoffrey "Muranyi, Arpad" wrote: ... > 3) `define with string parameters. Since the macro text which > is defined is not surrounded by the double quote signs, it is > technically not a string type. It is "just text". What happens > if I pass in a string as an argument to be part of this text? > Is it going to get flattened out as "just text", or is it going > to remain a string type? Since this is a compiler directive, I > would expect that the compiler would take the content of the string > argument, turn it into "just text" and pass it on to the simulator > as such. However, a tool vendor's opinion is different, they > say that at compile time the string parameters are not evaluated > yet, so the macro expansion is not aware of what the contents > of the string parameters are, therefore it can't be expanded > yet as "just text". I don't see anything on this in the LRM > v2.2 either. > > Please let me know if I missed something, or if these are real > problems, please put these on the agenda for further discussion. >Received on Tue Jul 26 03:39:48 2005
This archive was generated by hypermail 2.1.8 : Tue Jul 26 2005 - 03:39:58 PDT