Menu

#17 Non-standard scale factors allowed

v2.3.5
closed
nobody
None
5
2015-01-15
2015-01-14
No

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.

Discussion

  • Geoffrey Coram

    Geoffrey Coram - 2015-01-14

    I'm attaching an updated adms.implicit.xml.c, which prints a warning message about these non-standard scale factors.

     
  • Guilherme

    Guilherme - 2015-01-14

    Nice. I will merge your changes.
    I am afraid there are many more non-standard constructs.

     
  • Geoffrey Coram

    Geoffrey Coram - 2015-01-14

    Yes, the non-standard parts of ADMS have been a persistent thorn to me. :(

     
  • Guilherme

    Guilherme - 2015-01-15
     
  • Guilherme

    Guilherme - 2015-01-15
    • status: open --> closed
    • Group: v1.0_(example) --> v2.3.5
     

Log in to post a comment.