RE: [sv-bc] e-mail ballot: respond by Dec 3, 8am PST

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Nov 29 2007 - 01:39:52 PST
Hi, 

> > SVDB 1338 ___Yes   _X_No  
> > http://www.eda.org/svdb/view.php?id=1338
> 
> I do not object to the technical aspects of the proposal, but 
> found the new text and example to be confusing.  The 
> paragraphs starts off talking about `", but the new sentence 
> that begins with "A string literal embedded inside a 
> macro..." at the end of the paragraph and the new example 
> after the paragraph do not use `".  I suggest moving this new 
> sentence and accompanying example and the new paragraph after 
> the new example to all come after the original example and 
> accompanying description, instead of before.

I would just strike entirely the following part of the proposal:

"A string literal embedded inside a macro will not replace macro
arguments or embedded macros within that string. For example:

`define y rightside
`define noreplacement(x) "x: `y"
initial begin
   $display(`noreplacement(left side)); // Macro argument x and embedded
macro `y are not replaced.
end

results in the follow code:

initial begin
   $display("x: `y"); 
end"

This is covered in the text added in Mantis 1119, just before the
paragraph, "The 'define macro text can also include `", `\`", and ``."

Then the text flows logically. First, it says that substitution does not
occur in string literals. Then it says that there is `" and explains how
that works. Then it says what happens if they are mixed.

Shalom

 
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Nov 29 01:41:22 2007

This archive was generated by hypermail 2.1.8 : Thu Nov 29 2007 - 01:41:55 PST