• 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. Mixed-Signal Design
  3. too few terminals given

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 15804
  • 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

too few terminals given

Karev11
Karev11 over 9 years ago

Hi,


Spectre seems to find fault with a veriloga model I used and the error message shows as below: 

ERROR (CMI-2116) : too few terminals given (15<17) ....


I searched the forum, there are a few thread related, but doesn't seems quite applicable to this case, which is a pure analog testbech with just this one block in veriloga.

I also added the veriloga model as below, main function is to serilize.

Could someone please take a look?

Thanks!

Kev

------------------------------------------------------------------------------------------------------

`include "constants.vams"
`include "disciplines.vams"

module testmod(in,vdd,clk,rstn,out,itest);

input [11:0] in;
electrical [11:0] in;

input vdd,clk,rstn;
electrical vdd,clk,rstn;

output out, itest;
electrical out, itest;

real vdd_v, vth, out_v, rstn_v,itest_v, in_v[11:0];

integer i,k,delay;

analog begin

    vdd_v = V(vdd);
    vth = vdd_v/2;
    delay = 0;
    rstn_v = V(rstn);
       
      @(cross(V(clk) - vth, 1))
      begin
           if (rstn_v < vth)
          begin
             i = 0;      
                 out_v = 0;
          end
       
       else if (i > 11)
             begin
            i = 0;
                generate k (0,11)  
            in_v[k]=V(in[k]);            
             end
         
          out_v = in_v[i];
          i=i+1;         
      end
      
      itest_v=i-1;
      V(out) <+ transition(out_v, 10p, 10p, 10p);
      V(itest) <+ transition(itest_v, 10p, 10p, 10p);
      
end
endmodule

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Which IC subversion are you using (Help->About in the CIW) and which simulator subversion (this should appear at the top of the spectre log file)?

    Can you show the instance line in the input.scs for the instance of this component?

    Also, can you dump the CDF (Tools->CDF->Edit CDF in the CIW, set to Base, and fill in the libName/cellName for testmod and specify a filename and click on CDF Dump - and then post that here?

    Thanks,

    Andrew.

    • 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