The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 2:27am
Pages: 1
Send Topic Print
Syntax Error when using spectre to simulation verilog-A file. (Read 1887 times)
Julian18
Community Member
***
Offline



Posts: 55

Syntax Error when using spectre to simulation verilog-A file.
Jul 20th, 2008, 3:15am
 
Hi, there
   I am very new to verilog-A field, so bear this simple question. I am runing Ken's sample and hold example and got the error like below:
Quote:
Error found by spectre during AHDL read-in.
   "sh.va", line 5: "'<<--? include "discipline.h""
   "sh.va", line 5: Error: syntax error
   "sh.va", line 11: "electrical       Pin,<<--?      Nin,    Pout,   Nout;"
   "sh.va", line 11: Error: syntax error


I am just using the spectre from command line(instead of simulating in ADE) and the command is
Quote:
spectre s_and_hold.scs


I wonder if I have to add some options in order for spectre to realize that the file contains verilog-A statements.

TIA.

Back to top
 
« Last Edit: Jul 20th, 2008, 5:43am by Julian18 »  
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: Syntax Error when using spectre to simulation verilog-A file.
Reply #1 - Jul 21st, 2008, 8:57am
 
Did you
ahdl_include "sh.va"
in your .scs file?  (Or were you using a regular include like for model files?)
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.