The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 9:31am
Pages: 1
Send Topic Print
AMS Errors in Sacle Factor (P=10e+15) (Read 760 times)
frozenduck
New Member
*
Offline



Posts: 8

AMS Errors in Sacle Factor (P=10e+15)
Dec 17th, 2015, 11:27pm
 
Dear all,

I am running AMS in IC615. If I simulate with Verilog blocks only, it works well.

After I include circuits including transistors, error occurs.

The errors shown in ncvlog.log are

ncvlog: *E,UXEXID (.../schematic/verilog.vams,20|58): Unexpected identifier 'P' after completed expression.
nch_ulvt_mac #(.ad(1.5E-14), .nrd(2.828877), .spmt(1.11111P), .spomb(0),


I guess it is because the tool cannot recognize the scaled notation "P" which is 10e+15.

However, this parameter is defined in PDK and I can not modify it.

Is there anyway to solve this or this is not the root cause?

Thank you very much.









Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: AMS Errors in Sacle Factor (P=10e+15)
Reply #1 - Dec 18th, 2015, 7:10pm
 
Only Verilog-AMS understands the SI scale factors. Make sure you have specified the -ams option to ncvlog.

If that is not the problem, perhaps your simulator does not support the very large or very small scale factors. Does it work with the more common scale factors like k, m, M, u, etc.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: AMS Errors in Sacle Factor (P=10e+15)
Reply #2 - Jan 5th, 2016, 6:33am
 
Verilog-AMS doesn't support P; as of LRM version 2.4, it only goes up to T.  (I assume you meant 1e+15, not 10e+15.)
Back to top
 
 

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



Posts: 8

Re: AMS Errors in Sacle Factor (P=10e+15)
Reply #3 - Jan 20th, 2016, 2:53pm
 
To Ken,
Yes, I used Verilog-AMS and other SI scale factors work well.

To Geoffrey,
Yes, I meant 1e+15.

Is there any solution or suggestion?
Since the PDK is a practical one and provided from the foundry, I think everyone will have the same issue.

Thanks.
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.