-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels