[sv-bc] Macro call split across multiple files

From: Sourasis Das <sourasis@cal.interrasystems.com>
Date: Thu Jun 03 2010 - 04:51:24 PDT

Hi,

Should a macro call be allowed to split across multiple files ?
For example,

File a.v
---------
`define MAC(x) wire x

module top;
   `MAC(

File b.v
--------
w);
endmodule

When the input order is "a.v b.v", I can find some standard tools pass
it while some other
errors out while parsing.

I do not find LRM to explicitly allow/restrict it anywhere.

Thanks,
Sourasis

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jun 3 05:01:12 2010

This archive was generated by hypermail 2.1.8 : Thu Jun 03 2010 - 05:04:10 PDT