Files
klayout/testdata/lvs/custom_compare.lvsdb
T
Matthias Koefferlein 6cd4b97cd3 Including internal net names in LVS DB
Problem: so far, these names have not been conveyed.
But after the net IDs changed in the LVS DB (renumbering),
the names should be retained. Otherwise it is difficult to
relate log level entries or Spice netlists to them.
2025-05-15 21:17:15 +02:00

116 lines
1.9 KiB
Plaintext

#%lvsdb-klayout
# Layout
layout(
top(TOP)
unit(0.001)
# Layer section
# This section lists the mask layers (drawing or derived) and their connections.
# Mask layers
layer(l3 '8/0')
layer(l1)
# Mask layer connectivity
connect(l3 l3 l1)
connect(l1 l3 l1)
# Device class section
class(RES RES)
# Device abstracts section
# Device abstracts list the pin shapes of the devices.
device(D$RES RES
terminal(A
rect(l1 (2225 -675) (200 250))
)
terminal(B
rect(l1 (-2425 425) (200 250))
)
)
# Circuit section
# Circuits are the hierarchical building blocks of the netlist.
circuit(TOP
# Circuit boundary
rect((0 0) (10255 5900))
# Nets with their geometries
net(1 name($13)
rect(l3 (4850 4600) (180 180))
rect(l1 (-245 -250) (310 320))
rect(l1 (0 -250) (200 250))
)
net(2 name($14)
rect(l3 (10010 3500) (180 180))
rect(l1 (-245 -250) (310 320))
rect(l1 (-510 -250) (200 250))
)
# Devices and their connections
device(1 D$RES
location(7520 4175)
param(R 51)
param(L 12.75)
param(W 0.25)
param(A 3.1875)
param(P 26)
terminal(A 2)
terminal(B 1)
)
)
)
# Reference netlist
reference(
# Device class section
class(RES RES)
# Circuit section
# Circuits are the hierarchical building blocks of the netlist.
circuit(TOP
# Nets
net(1 name(R1))
net(2 name(R2))
# Outgoing pins and their connections to nets
pin(1 name(R1))
pin(2 name(R2))
# Devices and their connections
device(1 RES
name('5')
param(R 50.1)
param(L 0)
param(W 0)
param(A 0)
param(P 0)
terminal(A 1)
terminal(B 2)
)
)
)
# Cross reference
xref(
circuit(TOP TOP match
log(
entry(warning description('Matching nets $13 vs. R1 from an ambiguous group of nets'))
entry(warning description('Matching nets $14 vs. R2 from an ambiguous group of nets'))
)
xref(
net(1 1 warning)
net(2 2 warning)
pin(() 0 match)
pin(() 1 match)
device(1 1 match)
)
)
)