• 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. [IC6.1.7] Simulating VHDL-AMS

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 14162
  • 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

[IC6.1.7] Simulating VHDL-AMS

LukiLeu
LukiLeu over 7 years ago

I am trying to perform a simple simulation with a VHDL-AMS modeled resistor. Unfortunately I cannot simulate it.

I made the following:

  1. Created a new Cell View in the Library Manager with the type VHDLAMSText
  2. Added the VHDL-AMS Code to the file and saved it via File->Extract
  3. Created a symbol for the resistor (resp. Virtuoso created that automatically)
  4. Created a new Cell View in the Library Manager with the type schematic
  5. Added a simple test circuit in the schematic (One source and my resistor)
  6. Switched to the simulator and added "ideal" to the Switch View List in the Environment options
  7. Tried to create the netlist Simulation->Netlist->Create

Unfortunately the following error occurs:

Netlist Error: Cannot find any info on instance "I1" in cell-view "fh_hall_elements" "test" "schematic"
Netlist Error: Some cell-views used inside this block could not be netlisted in analog context

The element I1 is my resistor.

Any ideas on how to resolve this error?


Code of the resistor:

library ieee, std;
use ieee.std_logic_1164.all;
use ieee.electrical_systems.all;
use ieee.mechanical_systems.all;
use std.textio.all;


use ieee.math_real.all;

entity myres is
port (terminal p1, p2: electrical);
end entity myres;

architecture ideal of myres is
constant R : real := 10.0e3;
quantity v across i through p1 to p2;

begin
i == v/R;
end architecture ideal;

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    First of all, you didn't mention which simulator you're using - but from what you've said, it can't be "ams" (which is what you need if using a Cadence simulator and want to simulate VHDL-AMS models). It can't be ams because if using ams you'd have to have a config, and then Setup->Environment doesn't show the switch view list any more.

    I'm assuming you're trying to simulate with spectre as the simulator, and this does not support Verilog-AMS or VHDL-AMS - primarily because the "MS" bit means "mixed-signal" and hence you'd need some digital engine in the simulator.  So you need to use "ams" (AMS Designer) as the simulator; if you do that, you'd need to create a config view and set the view to use (or switch view list) there (AMS requires you to use a config created in the hierarchy editor).

    Regards,

    Andrew.

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

    Hi Andrew,

    Thank you for your response. I was indeed using Spectre as simulator. With the ams Simulator and the config view it works now.

    Thank you for this hint.

    • 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