Analog procedural assignments

From: Paul Floyd <Paul_Floyd@mentor.com>
Date: Tue Feb 01 2011 - 05:23:23 PST

Hi

In 5.7, there is this sentence:

"An analog_procedural_assignment is defined is a variable assignment
whose ..."

I think that ought to be "is defined as".

I'm not sure that I understand the first point following that paragraph,
namely

"— Concatenation expressions cannot be used as part of the
analog_expression (assigning to list of values
in the analog context is not allowed)."

Firsly, analog_expression occurs 3 times in the BNF syntax: rvalue,
array index and optional array index. I presume only the rvalue is intended.

Is this supposed to mean that a construction like this ought to be illegal:

module test;

   reg [8:0] A;
   reg [8:0] B;
   integer Y;

   analog begin
     Y = {A, B};
   end
endmodule

or should that be "array initializer", in which case a construction like
this would be illegal:

module test
   real array [2:0];
   real x, y, z;

   analog begin
     array = '{x, y, z};
   end
endmodule

Regards
Paul Floyd

-- 
Dr Paul Floyd
Mentor Graphics Corporation
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Feb 1 05:23:47 2011

This archive was generated by hypermail 2.1.8 : Tue Feb 01 2011 - 05:23:58 PST