The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 4:25am
Pages: 1
Send Topic Print
use of small signal resources is not supported? (Read 3468 times)
nus_lin
Community Member
***
Offline



Posts: 48

use of small signal resources is not supported?
Sep 09th, 2008, 5:16am
 
hi, guys. i copied almost the same code from "the designer's guide to verilog-ams", by Ken. Kundert, our "god father". but unfortunately i got this error message: "use of small signal resources is not supported?" the code is given below:

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

module resport(p,n);
 parameter real r=1 from (0:inf);
 parameter real dc=0;
 parameter real mag=1;
 inout p,n;
 electrical p,n;
 
analog begin
      V(p,n)<+r*I(p,n)+2*dc;
      V(p,n)<+2*ac_stim("ac",mag,0);
      V(p,n)<+white_noise(4*`P_K*$temperature,"thermal");
      end
endmodule
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: use of small signal resources is not supported?
Reply #1 - Sep 9th, 2008, 5:32am
 
What simulator is that?  small-signal sources (ac_stim, white_noise) are pretty basic to any Spice-like simulator, so I'm surprised there's one that supports Verilog-A but not these.

Of course, if you're using a timing (aka fast-spice) simulator, it probably only supports transient analysis, no small-signal.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
nus_lin
Community Member
***
Offline



Posts: 48

Re: use of small signal resources is not supported?
Reply #2 - Sep 9th, 2008, 5:59am
 
thank you for the reply. i used the cadence design kits for AMS0.35.
Back to top
 
 
View Profile   IP Logged
nus_lin
Community Member
***
Offline



Posts: 48

Re: use of small signal resources is not supported?
Reply #3 - Sep 9th, 2008, 6:02am
 
Error found by spectre during SpectreHDL compile.

file: ***********
nonrecoverable error: use of small signal resources is not supported
Exiting AHDL compilation.
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: use of small signal resources is not supported?
Reply #4 - Sep 9th, 2008, 10:28am
 
It's odd that the error message says "SpectreHDL". Are you sure you are including it as a verilog-A file?

-Ken
Back to top
 
 
View Profile WWW   IP Logged
nus_lin
Community Member
***
Offline



Posts: 48

Re: use of small signal resources is not supported?
Reply #5 - Sep 10th, 2008, 12:19am
 
hi, god father, i have no idea about spectraHDL, but i found a way to solve the "small signal resources" problem.

by changing V(p,n)<+2*ac_stim("ac",mag,0); to V(p,n)<+ac_stim("ac",2*mag,0);
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.