• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. help: (* inherited_mfactor *) <<--? syntax error

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 920
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

feiyu
feiyu over 15 years ago

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

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • feiyu
    feiyu over 15 years ago

    Andrew Beckett said:

    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!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information