The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Nov 24th, 2020, 2:04am
Pages: 1
Send Topic Print
Variable number of components (Read 4058 times)
transconductance
New Member
*
Offline



Posts: 1

Variable number of components
Aug 03rd, 2011, 12:14am
 
Hello, i am new to this forum. I hope this is the right section to put my question in.

I would like to make a model with a variable number of components.(passives like resistors or diodes)
The number should be programmable by the component menu.

The components should be connected in series.


Is there an easy way to do this?


Thanks a lot
tr
Back to top
 
 
View Profile   IP Logged
DDC
Junior Member
**
Offline



Posts: 23

Re: Variable number of components
Reply #1 - Feb 3rd, 2012, 12:44am
 
If you only do static analysis you can use switches.
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: Variable number of components
Reply #2 - Feb 3rd, 2012, 7:26am
 
Transconductance,
tool? language?
If Verilog-A is OK for you, see e.g. this thread: http://www.designers-guide.org/Forum/YaBB.pl?num=1328123432
- B O E
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2020 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.