• 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 Design
  3. VHDL AMS and LTF

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 13852
  • 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

VHDL AMS and LTF

LukiLeu
LukiLeu over 7 years ago

Hi,

I'm trying to simulate a simple opamp model which is written in VHDL AMS. Unfortunatly the AMS Simulator does not simulate it and produces the following error:

Analog Kernel using -ANALOGCONTROL  ./amsControlSpectre.scs.
Reading file:
        /.../netlist/amsControlSpectre.scs
ncsim: *E,EUNLTF: /.../vhdl.vhms:101: vin'LTF_101_15: The parameters of the LTF attribute must be aggregates of scalars.

Error found by spectre during circuit read-in.
    ERROR (SPECTRE-357): AMS Analog Elaboration has exited with error.
        Simulation will terminate.

The corresponding part of the model looks as follows (wP1, wP2 and gain are real generics):

constant num : real_vector := (0 => wP1 * wP2 * gain);
constant den : real_vector := (wP1 * wP2, wP1 + wP2, 1.0);
vout == vin'ltf(num, den);

Are their any ideas in how to resolve this error?

  • Cancel
  • mschw
    mschw over 7 years ago

    Have you tried

    vout == vin'ltf((0 => wP1 * wP2 * gain), (wP1 * wP2, wP1 + wP2, 1.0));

    ?

    Kind regards,

    Matthias

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • mschw
    mschw over 7 years ago in reply to mschw
    I think that my upper suggestion will not work either. You might  take a look in the Cadence VHDL-AMS Overview . There, the use of LTF Systax is explained exactly (Section Examples of Attribute Use: Q'ltf)
    Kind regards,
    Matthias
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • LukiLeu
    LukiLeu over 7 years ago in reply to mschw

    Hi mschw

    Your suggestion without the constants is working. The question is just why? However I can live with that solution. Where can I find the Cadence VHDL-AMS Overview, I wasn't able to find it...

    Thank you

    Lukas

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mschw
    mschw over 7 years ago in reply to LukiLeu

    Dear Lukas,

    you can find the Cadence VHDL-AMS Overview in the Cadence Installation directory /doc/vhdlamsov/vhdlamsov.pdf or here .

    I suppose since the LTF syntax requires aggregates of scalars a array reference cannot be used.

    Kind regards,

    Matthias

    • Cancel
    • Vote Up +1 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