Home > Community > Forums > Custom IC Design > verilog A: analog user function and global prameter ---> pbleme with spectre

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

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

Last post Wed, Jul 24 2013 12:01 AM by Fabb. 0 replies.
Started by Fabb 24 Jul 2013 12:01 AM. Topic has 0 replies and 380 views
Page 1 of 1 (1 items)
Sort Posts:
  • Wed, Jul 24 2013 12:01 AM

    • Fabb
    • Top 500 Contributor
    • Joined on Mon, Jun 17 2013
    • Grenoble, Isere
    • Posts 22
    • Points 320
    verilog A: analog user function and global prameter ---> pbleme with spectre Reply

    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

    • Post Points: 5
Page 1 of 1 (1 items)
Sort Posts:
Started by Fabb at 24 Jul 2013 12:01 AM. Topic has 0 replies.