|
|
@ -3,6 +3,7 @@ Example code for checking connectivity in a layout by using
|
|
|
|
`snarled` and `masque`.
|
|
|
|
`snarled` and `masque`.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
from pprint import pformat
|
|
|
|
from pprint import pformat
|
|
|
|
|
|
|
|
import logging
|
|
|
|
|
|
|
|
|
|
|
|
from masque.file import gdsii, oasis
|
|
|
|
from masque.file import gdsii, oasis
|
|
|
|
|
|
|
|
|
|
|
@ -10,6 +11,10 @@ import snarled
|
|
|
|
import snarled.interfaces.masque
|
|
|
|
import snarled.interfaces.masque
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logging.basicConfig()
|
|
|
|
|
|
|
|
logging.getLogger('snarled').setLevel(logging.INFO)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connectivity = [
|
|
|
|
connectivity = [
|
|
|
|
((1, 0), (1, 2), (2, 0)), #M1 to M2 (via V12)
|
|
|
|
((1, 0), (1, 2), (2, 0)), #M1 to M2 (via V12)
|
|
|
|
((1, 0), (1, 3), (3, 0)), #M1 to M3 (via V13)
|
|
|
|
((1, 0), (1, 3), (3, 0)), #M1 to M3 (via V13)
|
|
|
|