Re: Query related to escaped character in verilog

From: Steven Sharp (sharp@cadence.com)
Date: Wed Feb 09 2005 - 14:54:07 PST

  • Next message: Steven Sharp: "Re: Query related to escaped character in verilog"

    >Some tool print this one as "s a".
    >and some tool print as "s"

    The second case sounds like a tool that is not converting the NUL
    into a space, and is then mistaking the NUL for a string termination
    in C code that is printing it out.

    >Which one is the correct output? LRM doesn't say anything about this.

    In this situation, it is generally reasonable to go back to Verilog-XL
    and find out what the original behavior was. XL appears to convert
    NULs into spaces in the output (including any leading zeroes). If
    printed with %0s, then the spaces for any leading zeroes are supressed.
     
    Steven Sharp
    sharp@cadence.com



    This archive was generated by hypermail 2.1.4 : Wed Feb 09 2005 - 14:35:49 PST and
    sponsored by Boyd Technology, Inc.