Home > Community > Forums > Custom IC SKILL > help: (* inherited_mfactor *) <<--? syntax error

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: *

 help: (* inherited_mfactor *) <<--? syntax error 

Last post Sun, Dec 20 2009 5:33 PM by feiyu. 2 replies.
Started by feiyu 17 Dec 2009 07:39 PM. Topic has 2 replies and 1165 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Dec 17 2009 7:39 PM

    • feiyu
    • Not Ranked
    • Joined on Thu, Dec 17 2009
    • Posts 3
    • Points 45
    help: (* inherited_mfactor *) <<--? syntax error Reply

    Hi, all

    I simulate a schematic with verilog-a modules use cadence spectre.
    netlist is ok but error is found by simulation

    Command line:
    /home0/cadence./tools.lnx86/spectre/bin/32bit/spectre -env \
    artist5.1.0 +escchars +log ../psf/spectre.out +inter=mpsc \
    +mpssession=spectre8_3347_3 -format sst2 -raw ../psf +lqtimeout \
    900 input.scs
    spectre pid = 4252

    Loading .../libinfineon_sh.so ...
    Loading ...
    spectre (ver .5.10.41_USR3.102405 --24 Oct 2005).
    Includes RSA BSAFE (R) Cryptographic or Security Protocal Software from RSA
    Security, Inc.

    Simulating 'input.scs' on ass1 at time.....

    Error found by spectre during AHDL read-in.
    "/home0/...../module.va", line 20: "(* inherited_mfactor *)<<--? parameter real m=1;"
    "/home0/...../module.va", line 20: Error: syntax error

    spectre terminated prematurely due to fatal error.

    ====================================
    Line 20 in module.va is:

    (* inherited_mfactor *) parameter real m=1;

    ====================================
    Do anyone knew what happened? and how to slove this question?
    Thanks

    • Post Points: 20
  • Fri, Dec 18 2009 1:21 AM

    Re: help: (* inherited_mfactor *) <<--? syntax error Reply

    You're using a really old version of spectre. Whilst spectre is still in the IC5141 stream, since late 2004 there has been a separate stream for the analog simulators, called "MMSIM" which should be used instead of the spectre that's in IC5141 (in newer IC releases, spectre is not included).

    If I use any version of MMSIM (MMSIM60, MMSIM61, MMSIM62, MMSIM70, MMSIM71, MMSIM72 - as you can see, there have been quite a few releases - one major release per year), the (* inherited_mfactor *) syntax is supported.

    In IC5141 you could do a similar thing, but it used an older syntax:

     parameter real (* integer inherited_mfactor; *) m = 1;

    rather than

     (* inherited_mfactor *) parameter real m=1;

    which is the newer syntax.

    So I would suggest you use a supported version of spectre (e.g. MMSIM71 or MMSIM72), but if you really can't, you should be able to change the model to use the old syntax.

    Regards,

    Andrew.

    • Post Points: 20
  • Sun, Dec 20 2009 5:33 PM

    • feiyu
    • Not Ranked
    • Joined on Thu, Dec 17 2009
    • Posts 3
    • Points 45
    Re: help: (* inherited_mfactor *) <<--? syntax error Reply

    Andrew Beckett:

    You're using a really old version of spectre. Whilst spectre is still in the IC5141 stream, since late 2004 there has been a separate stream for the analog simulators, called "MMSIM" which should be used instead of the spectre that's in IC5141 (in newer IC releases, spectre is not included).

    If I use any version of MMSIM (MMSIM60, MMSIM61, MMSIM62, MMSIM70, MMSIM71, MMSIM72 - as you can see, there have been quite a few releases - one major release per year), the (* inherited_mfactor *) syntax is supported.

    In IC5141 you could do a similar thing, but it used an older syntax:

     parameter real (* integer inherited_mfactor; *) m = 1;

    rather than

     (* inherited_mfactor *) parameter real m=1;

    which is the newer syntax.

    So I would suggest you use a supported version of spectre (e.g. MMSIM71 or MMSIM72), but if you really can't, you should be able to change the model to use the old syntax.

    Regards,

    Andrew.

    Thank you very much.

    I have soloved this problem, changed the model accroding your suggestion.

    Best Regards!

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by feiyu at 17 Dec 2009 07:39 PM. Topic has 2 replies.