You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a few nested subcircuits, which I'm building with SubCircuitFactory. It seems that when I use a component in an inner subcircuit, it needs to be included in its immediately containing subcircuit, which means I need to be able to have an .include statement from SubCircuitFactory. However, it seems like I can only add .include statements from Circuits. How can I get around this?
As an example, this is what I need
.subckt A input output
.include opamp.sub
.subckt B input output
* inside here I use the opamp
.ends B
.ends A
.end
but there is no self.include(...) method from SubCircuitFactory, so it seems like I can only do this, which doesn't work:
.include opamp.sub
.subckt A input output
.subckt B input output
* inside here I use the opamp
.ends B
.ends A
.end
The text was updated successfully, but these errors were encountered:
I have a few nested subcircuits, which I'm building with SubCircuitFactory. It seems that when I use a component in an inner subcircuit, it needs to be included in its immediately containing subcircuit, which means I need to be able to have an
.include
statement from SubCircuitFactory. However, it seems like I can only add.include
statements fromCircuit
s. How can I get around this?As an example, this is what I need
but there is no
self.include(...)
method fromSubCircuitFactory
, so it seems like I can only do this, which doesn't work:The text was updated successfully, but these errors were encountered: