The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 1:25am
Pages: 1
Send Topic Print
Ncvlog - require electrical pins to be declared? (Read 1129 times)
John Corn
New Member
*
Offline



Posts: 2

Ncvlog - require electrical pins to be declared?
Feb 07th, 2017, 12:53pm
 
Hi all. I'm running Verilog-AMS simulations with ncvlog/ncelab/ncsim. I keep running into nasty bugs in my Verilog-AMS code because of undeclared pins. Is there a way to make ncvlog throw an error when it reaches an electrical that wasn't declared as such?

For example,

Code:
   electrical VDDINT;
   electrical pin1, pin2;
   analog VDDINT <+ 1.2;
   my_spice_netlist xfoo( VDD, pin1, pin2);
 



Will compile and run, even though I never declared VDD. Obviously there's a typo here, but when my modules have hundreds of pins it gets hard to notice stuff like that. Even a warning message would be great.

A look through the documentation made me think I might try `default_discipline but it only seems to work for discrete natures.

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.