Subject: Verilog-AMS annex A syntax cleanup (constant_expression)
From: Graham Helwig (ghelwig@asc.corp.mot.com)
Date: Wed Sep 04 2002 - 23:49:58 PDT
Hello,
In the attached pdf is the merged Verilog-AMS and 1364-1995
constant_expression and related syntax. Due to the significant
differences encountered during merging, the Verilog-AMS syntax has been
temporarily prefixed with "ams_".
Constant expression are used throughout analog, digital syntax as well
as context independent syntax (eg. port direction declarations, etc.).
It seems reasonable for the Verilog-AMS syntax to define a single
constant_expression syntax. However the following questions/issues need
to be addressed.
Should constant expressions contained in pure digital syntax (i.e..
always block, task declarations, etc.) be allowed to use the
attribute_reference syntax, or should this be restricted to analog
context constant expressions only?
Should constant expressions contained in pure digital syntax (ie.
specify block, etc.) be allowed to use the built-in functions, or should
this be restricted to analog context constant expressions only?
Both Verilog-AMS and 1364-1995 expressions are allowed to reference
scalar and entire array parameters, should it also be allowed to
reference array elements or part-selects of a declared array parameter?
Is the constant_array_expression syntax correct? It appears that is it
analog variant of the digital concatenation and multiple_concatenation
syntax, however constant_array_init_element syntax does not allow
"{5{4,5,6}}" to occur. Should the constant_array_init_element syntax
look like below, or have I missed something?
constant_array_init_element ::=
ams_constant_expression
| integer_ams_constant_expression
constant_array_expression
Should the constant_array_expression replace the digital
multiple_concatenation syntax?
Is there any other issues to with constant_expression syntax that has
been
omitted?
Regards
Graham
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Graham Helwig email: A11558@email.mot.com
ghelwig@asc.corp.mot.com
Telephone:+61-8-81683532 Fax:+61-8-81683501
Motorola Australia Software Centre,
2 Second Avenue, Mawson Lakes, Adelaide, SA, 5095, Australia
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This archive was generated by hypermail 2b28 : Thu Sep 05 2002 - 00:02:33 PDT