• 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. Functional Verification
  3. System Verilog with Spice *F,INTERR - cu_check_port_var...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 66
  • Views 1228
  • 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

System Verilog with Spice *F,INTERR - cu_check_port_var_aca

GraemeNunn
GraemeNunn over 15 years ago

Hi,

I am trying to use a system verilog testbench to verify a spice block. The aim is to have system verilog stimulus and monitoring using real values.I have example with the stimulus side working but not the monitoring.

When I run my simple example I receive the following error during elaboration. What am I missing from the configuration to get this working?

 

(This testcase started off as the spice_in_middle example from the AMSD workshop)

Thanks

Graeme Nunn

 ncelab: *F,INTERR: INTERNAL ERROR
-----------------------------------------------------------------
The tool has encountered an unexpected condition and must exit.
Contact Cadence Design Systems customer support about this
problem and provide enough information to help us reproduce it,
including the logfile that contains this error message.
  TOOL: ncelab  08.20-s009
  HOSTNAME:
  OPERATING SYSTEM: Linux 2.6.9-89.0.20.ELsmp #1 SMP Mon Jan 18 12:19:33 EST 2010 x86_64
  MESSAGE: cu_check_port_var_aca - not net, class 520, file: top.sv, line:6

 Input Files:

------------------------ 
Run
------------------------ 
#! /bin/csh -f

irun    *.sv \
        *.vams \
        amscf.scs \
        -timescale 1ns/100ps \
        -mess

----------------------
pot.sp
----------------------
.subckt pot rtop rmid
r1 rtop rmid 10k
r2 rmid 0 10k
.ends

----------------------
top.sv
----------------------
module top ;

  timeunit      1ns ;
  timeprecision 1ns ;

  harness h1 (.resp(out),.sig(sig));
  pot p1 (.rtop(sig),.rmid(out));

endmodule : top
----------------------
harness.sv
----------------------
module harness (resp,sig);
        output real  sig ;
        input var real resp ;

        var real sig_r;
        assign sig=sig_r;

        initial begin
                sig_r=0.0;
                #10 sig_r=1.0;
                #10 sig_r=2.0;
                #10 sig_r=3.0;
                #10 sig_r=2.0;
                #10 sig_r=1.0;
                $finish;
        end

        always @(resp) $display("Resp has changed to %0f",resp);

endmodule

----------------------
amscf.scs
----------------------
include "./pot.sp"

* AMS Control file
include "top.scs"
amsd {
        portmap subckt=pot file="pot.pb"
        config cell=pot use=spice
        ie vsup=1.8
}

----------------------
top.scs
----------------------
simulator lang=spectre
rawFmtOpt options rawfmt=sst2fbin   maxwarnstologfile=1000 maxnotestologfile=1000
saveNodes options save=all
timeDom tran stop= 30us
----------------------
pot.pb
----------------------
 //*** pot.pb ***
//* Portbind file for:
//* SPICE subckt pot : HDL module pot
//* SPICE port  :       HDL port        :       HDL Parameters

rtop    :       rtop    :       dir=inout
rmid    :       rmid    :       dir=inout


 

  • Cancel
Parents
  • StephenH
    StephenH over 15 years ago

    Hi Graeme.

    I tried to reproduce this from the files that you pasted into your post, but either you missed some *.vams files, or the irun command is wrong.

    Since the error message is an internal error (*F,INTERR) in ncelab, it would be helpful if you could open a service request at http://support.cadence.com/ so that the support team can look into this in more detail.

    Cheers.
    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • StephenH
    StephenH over 15 years ago

    Hi Graeme.

    I tried to reproduce this from the files that you pasted into your post, but either you missed some *.vams files, or the irun command is wrong.

    Since the error message is an internal error (*F,INTERR) in ncelab, it would be helpful if you could open a service request at http://support.cadence.com/ so that the support team can look into this in more detail.

    Cheers.
    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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