KCC's Quizzes AQQ305 about a mutual exponentiation equation
1. Quote of the month: "A train station is where a train stops. A bus station is where a bus stops. I have a work station on my desk, so..." - unknown
2. Quiz AQQ305 about finding a mutual exponential equation
Good luck, and try to be among the
View All
September Monthly Blog Quiz! Read the blog, take the quiz, and you could win a gift card
Quiz: How Well Do You Know Adaptive Power Switching?
Is your I/O module overheating? The AD74416H's Adaptive Power Switching (APS) can cut heat dissipation by up to 40% — but how well do you really understand how it works?
Read the blog first: Cooling
View All
Hello,
there is a bug with parameter passing in nested subcircuits.
It is not limited to the netlist form, but to provide the minimal problem I have used the netlist below.
For the problem see the comment below.
.subckt top params: V=1
V1 1 0 {V}
.ends top
.subckt sub params: V=1
* passing parameter, working ok
V1 1 0 {V}
.subckt nested params: V=1
V1 1 0 {V}
.ends nested
* top level with parameter passing, working ok
X1 top params: V={V}
* nested with default parameter, working ok
X2 nested
* nested with fixed parameter, working ok
X3 nested params: V=2
***************************************************
********************bug in LTspice********************
* QSPICE has no problems with that (but other problems)
***************************************************
* nested with parameter passing, not working ok
* => WARNING: Can't resolve .param v=v
X4 nested params: V={V}
***************************************************
.ends sub
.op
X1 sub params: V=1
I tested it with QSPICE also and it has no problem here (but another).