The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 25th, 2024, 3:20am
Pages: 1
Send Topic Print
global parameters in Verilog-A? (Read 1695 times)
danmc
Community Member
***
Offline



Posts: 35
Boston
global parameters in Verilog-A?
Apr 12th, 2016, 9:23am
 
Is there a way for a Verilog-A and/or Verilog-AMS module to be able to access a global design parameter?  Is the only way to pass it as an instance parameter to the module?


Thanks
-Dan
Back to top
 
 
View Profile   IP Logged
cheap_salary
Senior Member
****
Offline



Posts: 162

Re: global parameters in Verilog-A?
Reply #1 - Apr 12th, 2016, 7:34pm
 
Use Macros.

Macro's value can be passed by simulator command option.

For example,
spectre -va,define MACRO=value
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.