Re: [sv-bc] Mantis 1984

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Thu Jan 03 2008 - 16:09:10 PST
Following up to 

   http://www.eda-stds.org/sv-bc/hm/7774.html

In the following example, only the first assignment is legal?


module test(input logic A, input logic B, input var C, D );
  assign A = 0;  // legal
  always @* begin
      B = A ;    // illegal to procedurally assign to wire
      C = A ;    // illegal to assign to input variable
  end
  assign D = 0;  // illegal to assign to input variable
endmodule


-- Brad


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jan 3 16:09:33 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 03 2008 - 16:10:03 PST