Home > Community > Forums > Mixed-Signal Design > VerilogA in AMS simulation: string parameter is not properly recognized

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 VerilogA in AMS simulation: string parameter is not properly recognized 

Last post Fri, Feb 21 2014 8:28 AM by jsaenznoval. 2 replies.
Started by jsaenznoval 17 Feb 2014 10:19 AM. Topic has 2 replies and 1812 views
Page 1 of 1 (3 items)
Sort Posts:
  • Mon, Feb 17 2014 10:19 AM

    VerilogA in AMS simulation: string parameter is not properly recognized Reply

     Hi,

     

    I'm running  a AMS Simulation using  Cellview-based netlister and Spectre Solver. My simulation compiles fine when I configure all my cells to be only VerilogA. However, when I set the simulator to be AMS, Cellview-based netlister gives me the following error:

    file: /home/jorge/smdh/zr16_lp/analog/designers/jorge/top_simulation/smdh_ips/P2S/veriloga/veriloga.va
        parameter string test_vector = "test_vector_adc1_en.dat" exclude {""};   // Test vector follows the pattern in the input file: Index   Logical value [0,1]
                                   |
    ncvlog: *E,EXPEQL (/home/jorge/smdh/zr16_lp/analog/designers/jorge/top_simulation/smdh_ips/P2S/veriloga/veriloga.va,42|28): expecting an equal sign ('=') [3.10(IEEE)].
        module worklib.P2S:va

     

    The definition of string parameters works  fine in VerilogA. I don't know what is different from VerilogAMS and VerilogA on this case.

    I really don't know how I could fix it.

    Thanks!

     

     

    • Post Points: 20
  • Fri, Feb 21 2014 8:02 AM

    Re: VerilogA in AMS simulation: string parameter is not properly recognized Reply

    Two solutions - either remove the "string" keyword (there's a Cadence Change Request to get this fixed in AMS), or use the OSS netlister (which will simulate the veriloga module as veriloga in the spectre solver rather than simulating it as VerilogAMS).

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Feb 21 2014 8:28 AM

    Re: VerilogA in AMS simulation: string parameter is not properly recognized Reply

     Hi Andrew,

     Thanks for your helpful reply,

     

    Regards

     

    Jorge Johanny Sáenz N.

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by jsaenznoval at 17 Feb 2014 10:19 AM. Topic has 2 replies.