mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 19:51:32 +02:00
Small enhancements for Spice reader
- Detects recursive subcircuit calls now - Dismisses empty top level circuit which happened to be created when there were not top level elements and control statements were present (such as .param)
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
* Testing recursive call detection
|
||||
|
||||
.subckt c1 a b
|
||||
x1 a b c2
|
||||
.end
|
||||
|
||||
.subckt c2 a b
|
||||
x1 a b c1
|
||||
.ends
|
||||
|
||||
xtop vdd vss c2
|
||||
|
||||
.end
|
||||
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
* Test: dismiss empty top level circuit
|
||||
|
||||
.subckt top a b
|
||||
m1 a b a b nmos
|
||||
.ends
|
||||
|
||||
* this triggered generation of a top level circuit
|
||||
.param p1 17
|
||||
|
||||
.end
|
||||
|
||||
Reference in New Issue
Block a user