The Verilog-AMS LRM specifies that the following scale factors are allowed:
scale_factor ::= T | G | M | K | k | m | u | n | p | f | a
but adms.implicit.xml includes code to handle E P D d c A
<admst:when test="[scalingunit='E']"> <admst:value-to select="math/value" string="%(value)e+18"/> </admst:when>
These are not valid Verilog-A.
I'm attaching an updated adms.implicit.xml.c, which prints a warning message about these non-standard scale factors.
Nice. I will merge your changes.
I am afraid there are many more non-standard constructs.
Yes, the non-standard parts of ADMS have been a persistent thorn to me. :(
Merged in https://github.com/Qucs/ADMS/commit/9c5bd52