Commit Graph

84 Commits

Author SHA1 Message Date
aff0df33cc PortsRef -> Abstract 2023-01-23 22:34:31 -08:00
326c9b9727 flake8-aided fixes 2023-01-23 22:27:26 -08:00
6565b8baa3 more wip -- most central stuff is first pass done 2023-01-22 16:59:32 -08:00
df1acd7c87 wip -- more fixes 2023-01-21 23:38:53 -08:00
jan
743428d8d7 wip 2023-01-21 21:22:11 -08:00
jan
e482107366 wip 2023-01-19 22:20:16 -08:00
a15131f22a busL -> mpath 2023-01-18 22:32:57 -08:00
cb8897b8fe some type updates 2023-01-18 18:14:53 -08:00
dfdceefdcd fix some type-related issues 2023-01-18 17:15:14 -08:00
jan
1741cfb755 wip again 2023-01-13 20:33:14 -08:00
5bb67c817f partial work on device libraries 2023-01-12 23:06:39 -08:00
jan
273d828d87 bifurcate Device into DeviceRef 2023-01-11 20:19:31 -08:00
b4eee6b84e make error message prettier 2023-01-11 19:00:06 -08:00
jan
42c3a2b1e1 WIP: make libraries and names first-class! 2023-01-11 18:59:57 -08:00
fff20b3da9 Avoid generating a container if only a single port is passed 2023-01-11 18:32:08 -08:00
4bae737630 allow bounds to be passed as args 2023-01-11 18:32:08 -08:00
9891ba9e47 allow passing a single Tool to be used as the default 2023-01-11 18:32:08 -08:00
df320e80cc Add functionality for building paths (single use wires/waveguides/etc) 2023-01-11 18:32:01 -08:00
bfabd351c4 fix circular import 2022-06-08 21:12:39 -07:00
jan
2b8195ad3e move dev2pat and pat2dev into masque.builder.port_utils 2022-02-28 23:38:55 -08:00
jan
5ef34794ff keep ordering stable for same-y ports 2022-02-28 22:59:30 -08:00
jan
f178e94d82 remove old overloads 2022-02-27 21:23:03 -08:00
jan
a4fe3d9e2e Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases 2022-02-23 15:47:38 -08:00
jan
89f327ba37 reformat some multiline arg lists and add missing 'None' return types 2022-02-23 15:16:25 -08:00
47e8cab73c fix format string now that ptypes are str-typed 2021-06-24 23:25:15 -07:00
a92ab9425b typo in 4788fa3c 2021-06-23 22:42:39 -07:00
4788fa3ca5 add Device.rename() 2021-06-23 22:39:12 -07:00
52c6634a25 fix port comparison regression 2021-06-23 22:35:43 -07:00
4796676a4e use ArrayLike when accepting pseudo-ndarrays 2021-06-22 18:59:13 -07:00
3aefa644e5 fix type annotations for Device.__getitem__ 2021-06-22 18:26:05 -07:00
0d733bdc6f Breaking change: Use string-valued ptypes, with default value 'unk' 2021-06-15 15:23:20 -07:00
7225fd5715 add traceback to port type warnings 2021-03-08 17:10:42 -08:00
479e0c3c2e fix mirroring for rotated ports/devices 2020-12-05 14:50:16 -08:00
177f9952a5 Add builder submodule, Device and Port definitions, and DeviceLibrary 2020-11-09 22:09:47 -08:00