• 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. verilog A: analog user function and global prameter ---...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 125
  • Views 1809
  • 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

verilog A: analog user function and global prameter ---> pbleme with spectre

Fabb
Fabb over 12 years ago

Hello,

In the VA LRM doc v 2.3.1 I read (in section 4.7.1) for analog fucntion

-shall only reference locally-defined variables, variables passed as arguments, locally-defined parameters
and module level parameters

so I expext this to be functionnal:

module test (T1, T2);

parameter real X0 = 1;

real x;

 analog function real f;
    input  x;
    real x, x0;
    begin
        f = x + X0;
    end
endfunction

analog begin

x=0;

test = f(x);

end

endmodule

But i the folowing error message

  ERROR (VACOMP-1008): Cannot compile ahdlcmi module library. Check the log file input.ahdlSimDB/3605_sdk_models_model_source_XXXXXXXXX.ahdlcmi/Linux/../ahdlcmi.out for details. If the compiler ran out of memory, use 'setenv CDS_CMI_COMPLEVEL 0', and try again. If the reason for the failure was a syntax error, contact your Cadence Customer Support representative with the netlist, log files, behavioral model files, and any other information that can help identify the problem.
    ERROR (SFE-91): Error when elaborating the instance XXXXX. Simulation should be terminated.

 

Why ?

 

regards,

 

Fabrice

  • 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