diff --git a/docs/user/images/cells/snspd_ntron.png b/docs/user/images/cells/snspd_ntron.png index 05ff667..1bbda27 100644 Binary files a/docs/user/images/cells/snspd_ntron.png and b/docs/user/images/cells/snspd_ntron.png differ diff --git a/docs/user/images/circuits/snspd_ntron.png b/docs/user/images/circuits/snspd_ntron.png index 395e77c..83b49ab 100644 Binary files a/docs/user/images/circuits/snspd_ntron.png and b/docs/user/images/circuits/snspd_ntron.png differ diff --git a/docs/user/images/devices/resistor/meander.png b/docs/user/images/devices/resistor/meander.png index 5db086b..3807d8c 100644 Binary files a/docs/user/images/devices/resistor/meander.png and b/docs/user/images/devices/resistor/meander.png differ diff --git a/docs/user/images/devices/resistor/meander_sc_contacts.png b/docs/user/images/devices/resistor/meander_sc_contacts.png index 3aaf681..2507616 100644 Binary files a/docs/user/images/devices/resistor/meander_sc_contacts.png and b/docs/user/images/devices/resistor/meander_sc_contacts.png differ diff --git a/pyproject.toml b/pyproject.toml index e55d8ed..f673715 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "pdm.backend" [project] name = "qnngds" -version = "3.2.0" +version = "3.2.1" authors = [ { name="A. Jacquillat", email="audrey01@mit.edu" }, diff --git a/src/qnngds/circuits.py b/src/qnngds/circuits.py index 1d245c6..e50d9da 100644 --- a/src/qnngds/circuits.py +++ b/src/qnngds/circuits.py @@ -208,7 +208,7 @@ def create_ntron(): route.connect(route.ports["S"], NTRON.ports["d"]) CROSSC.connect(CROSSC.ports["S"], route.ports["N"]) # port 2 connected to gnd - route = ROUTES << pg.optimal_step(NTRON.ports[2].width, w_pad, symmetric=True) + route = ROUTES << pg.optimal_step(NTRON.ports["s"].width, w_pad, symmetric=True) route.connect(route.ports[1], NTRON.ports["s"]) SNSPD_NTRON.add_port(port=route.ports[2], name="S2")