The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 6:41am
Pages: 1
Send Topic Print
Implementation of Verilog-AMS in AMS Simulator (Read 2795 times)
Emmanuele
Junior Member
**
Offline



Posts: 11
Geneva, Switzerland
Implementation of Verilog-AMS in AMS Simulator
Oct 15th, 2009, 1:58am
 
Hi to everybody!
I've just begun learning Verilog-AMS language, and my first concern is the possibility to use the created file in AMS Simulator (in Cadence SPB 16.01).

It's not very clear to me how I can implement a verilogams file in a model; normally I use Design Entry HDL, which theoretically gives the possibility to add parts modeled with Verilog or VHDL.
Nevertheless, I tried to import simple programs (written in a notepad file) using Part Developer, and it gave me plenty of errors.
For example, I tried the first one proposed in the manual:
----------------------------------------------------------
module shiftPlus5(in, out);
input in;
output out;
voltage in, out; //voltage is a signal flow
//discipline compatible with
//electrical, but having a
//potential nature only
analog begin
V(out) <+ 5.0 + V(in);
end
endmodule
----------------------------------------------------------
but I got errors like "Import failed because of an error on line XXX and token 'YYY' in file ZZZ. Correct the input file and reimport."
Any suggestions?

Thank you for the help you'll give me.
Cheers,
Emmanuele
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: Implementation of Verilog-AMS in AMS Simulator
Reply #1 - Oct 15th, 2009, 2:49am
 
Most people in this forum, including myself, are using the Virtuoso IC design software from Cadence and do not have any experience with Cadence SPB.
Back to top
 
 
View Profile WWW   IP Logged
Riad KACED
Community Member
***
Offline



Posts: 93
Swindon, UK
Re: Implementation of Verilog-AMS in AMS Simulator
Reply #2 - Oct 15th, 2009, 2:50pm
 
Hi Emmanuele,

I use the AMS Designer in Virtuoso too.
If you are writing verilog-A (the above code I meant) instead of verilog-AMS, then stick at the Spectre simulator as Spectre compiles verilog-A, not verilog-AMS. This would save your licenses.

Cheers,
Riad.
Back to top
 
 

Riad KACED
PDK, EDA Support Engineer.
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: Implementation of Verilog-AMS in AMS Simulator
Reply #3 - Oct 20th, 2009, 5:22am
 
This looks like the same issue as in this thread:
http://www.designers-guide.org/Forum/YaBB.pl?num=1255439237/9#9

Please read the responses there.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   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.