Version 2.3.0 of the Verilog-AMS Language Reference Manual introduced
multiple attribute instances; e.g.,
(* desc = "length", units = "meters", type = "model" *)
and
(* desc = "length", units = "meters" *) (* type = "model" *)
are concidered equivalent.
Currently, ADMS can only handle the former. This commit also allows for
the latter to be used.
This is a very useful addition, given that the CMC standard macros for
defining parameters and output variables contain attribute instances;
e.g., a CMC compliant macro definition for a real model parameter with
no bounds would be as follows.
`define MPRnb(nam, def, uni, des)\
(* units = uni, desc = des *) parameter real nam = def
Version 2.3.0 of the Verilog-AMS Language Reference Manual introduced multiple attribute instances; e.g.,
and
are concidered equivalent.
Currently, ADMS can only handle the former. This commit also allows for the latter to be used.
This is a very useful addition, given that the CMC standard macros for defining parameters and output variables contain attribute instances; e.g., a CMC compliant macro definition for a real model parameter with no bounds would be as follows.
Additional attributes can now be prepended; e.g.,