100 lines
1.8 KiB
YAML
100 lines
1.8 KiB
YAML
# =============================================
|
|
# mxPIC Cell/Project Definition File
|
|
# =============================================
|
|
schema_version: "2.0.0"
|
|
kind: cell
|
|
coordinate_system: gds_y_up
|
|
canvas_size:
|
|
width: 5000
|
|
height: 5000
|
|
project: mxpic_project_1
|
|
name: canvas_1
|
|
type: composite
|
|
version: "1.0.0"
|
|
|
|
# 1. External Ports (How this cell connects to the outside world)
|
|
pins:
|
|
- name: port_io1
|
|
layer: WG_CORE
|
|
element: port
|
|
pin: io1
|
|
x: 50.0
|
|
y: -150.0
|
|
angle: 180.0
|
|
width: 0.5
|
|
|
|
# 2. Instances (The sub-components dropped onto this canvas)
|
|
instances:
|
|
waveguide_1:
|
|
component: waveguide
|
|
x: 686.5
|
|
y: -1027.9
|
|
rotation: 0.0
|
|
flip: 0
|
|
flop: 0
|
|
mirror: false
|
|
settings:
|
|
length: 100
|
|
width: 0.5
|
|
xsection: "strip"
|
|
|
|
circle_1:
|
|
component: circle
|
|
x: 877.2
|
|
y: -1093.7
|
|
rotation: 0.0
|
|
flip: 0
|
|
flop: 0
|
|
mirror: false
|
|
settings:
|
|
radius: 10
|
|
width: 0.5
|
|
xsection: "strip"
|
|
|
|
waveguide_2:
|
|
component: waveguide
|
|
x: 858.0
|
|
y: -1029.6
|
|
rotation: 0.0
|
|
flip: 0
|
|
flop: 0
|
|
mirror: false
|
|
settings:
|
|
length: 100
|
|
width: 0.5
|
|
xsection: "strip"
|
|
|
|
elements:
|
|
port:
|
|
type: port
|
|
x: 50.0
|
|
y: -150.0
|
|
angle: 0.0
|
|
pin_number: 1
|
|
pitch: 10
|
|
layer: WG_CORE
|
|
width: 0.5
|
|
description: ""
|
|
pins:
|
|
- name: port_io1
|
|
role: io1
|
|
|
|
# 3. Bundles (Grouped links for multi-bus/parallel routing)
|
|
bundles:
|
|
output_bus:
|
|
routing_type: euler_bend
|
|
links:
|
|
- from: waveguide_1:b1
|
|
to: waveguide_2:a1
|
|
xsection: strip
|
|
family: optical
|
|
width: 0.5
|
|
radius: 10
|
|
routing_type: euler_bend
|
|
- from: waveguide_2:b1
|
|
to: circle_1:a1
|
|
xsection: strip
|
|
family: optical
|
|
width: 0.5
|
|
radius: 10
|
|
routing_type: euler_bend |