[sv-bc] Forward reference into struct variable

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Fri Aug 17 2007 - 14:05:45 PDT
Is the following test case legal?


module test(output o);

  assign o = v.field;
  struct { logic field; } v;

  initial begin
     v = '{1};
     #1 $display(o);
  end

endmodule


-- Brad

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Aug 17 14:06:11 2007

This archive was generated by hypermail 2.1.8 : Fri Aug 17 2007 - 14:06:25 PDT