• Joined on 2020-07-18
dpn pushed to merge-rpc-alignment-fix at dpn/artiq-zynq 2022-12-29 19:29:43 +08:00
d2874b51a6 rpc: Port over size/alignment fix for structs (tuples) with tail padding
dpn created branch merge-rpc-alignment-fix in dpn/artiq-zynq 2022-12-29 19:29:43 +08:00
dpn pushed to master at M-Labs/artiq-zynq 2022-12-17 10:18:34 +08:00
8e0229d265 si5324: crystal_{ref -> as_ckin2} [nfc]
2ddb4d259f Undo most of Si5324 unification (5c054cc901)
Compare 2 commits »
dpn pushed to si5324-fixup at dpn/artiq-zynq 2022-12-17 09:56:56 +08:00
8e0229d265 si5324: crystal_{ref -> as_ckin2} [nfc]
2ddb4d259f Undo most of Si5324 unification (5c054cc901)
Compare 2 commits »
dpn created branch si5324-fixup in dpn/artiq-zynq 2022-12-17 09:56:55 +08:00
dpn closed issue M-Labs/artiq-zynq#208 2022-12-13 07:29:35 +08:00
review Si5324 setup code
dpn commented on issue M-Labs/artiq-zynq#208 2022-12-13 07:29:34 +08:00
review Si5324 setup code

261dc6b933 was apparently already fixed in artiq-zynq.

740543d4e2 was also fixed a different way; unified with the upstream ARTIQ solution in https://git.m-labs.hk/M-Labs/artiq-zynq/commit/5c054

dpn pushed to master at M-Labs/artiq-zynq 2022-12-13 07:28:54 +08:00
5c054cc901 Unify Si5324 setup code with main ARTIQ repository [nfc]
dpn pushed to si5324-unify-riscv at dpn/artiq-zynq 2022-12-13 07:22:39 +08:00
5c054cc901 Unify Si5324 setup code with main ARTIQ repository [nfc]
dpn created branch si5324-unify-riscv in dpn/artiq-zynq 2022-12-13 07:21:44 +08:00
dpn pushed to si5324-unify-riscv at dpn/artiq-zynq 2022-12-13 07:21:44 +08:00
989bb2f5ff Unify Si5324 setup code with main ARTIQ repository [nfc]
c281505aa0 flake: fix cargo hash
db0e41af6d update zynq-rs and some Rust deps
a07ebb4dc0 flake: nixos 22.11
d5402d899f flake: update dependencies
Compare 10 commits »
dpn commented on issue M-Labs/artiq-zynq#207 2022-12-01 20:24:26 +08:00
tests failing with nixos 22.11 (Python 3.10?)

(I can/will look into porting the alignment fixes across.)

dpn commented on issue M-Labs/artiq-zynq#207 2022-12-01 19:30:54 +08:00
tests failing with nixos 22.11 (Python 3.10?)

Likely not related to 22.11 at all; this is the same bug that's fixed in the upstream commit that added the tests (which still needs to be ported to the artiq-zynq copy of the firmware).

dpn pushed to ndarray at dpn/nac3 2022-04-23 05:50:38 +08:00
188208b959 core/typecheck: Implement unification for scalar indexing of ndarrays
164edd266e core/typecheck: Explicitly give errors on "advanced" (subset) indexing
Compare 2 commits »
dpn created branch ndarray in dpn/nac3 2022-04-23 04:57:10 +08:00
dpn pushed to ndarray at dpn/nac3 2022-04-23 04:57:10 +08:00
c74b7992f6 core/typecheck: Basic ndarray indexing support
72cb693e2e core/typecheck: First btis of NumPy-like array type inference
8454741f9e cargo fmt the world
2e6fc4cfe5 [tmp] nix: Switch to aarch64-darwin
48cb485b89 nac3core: show outer type info in type error messages
Compare 10 commits »
dpn commented on issue M-Labs/nac3#149 2022-04-15 00:49:06 +08:00
implement numpy arrays, math functions, and matrix math

A subscriptable np.ndarray has been merged into NumPy https://github.com/numpy/numpy/pull/19879, although the extra np.dtype wrapper seems undesirable, and I'm not sure what form the shape type…

dpn commented on issue M-Labs/nac3#149 2022-04-15 00:02:36 +08:00
implement numpy arrays, math functions, and matrix math

With the general move towards "proper" Python type annotations, it would be nice if we could.

Unfortunately, this is very much still brewing in upstream NumPy, and what seems like a tentative…

dpn commented on issue M-Labs/nac3#149 2022-04-14 23:32:20 +08:00
implement numpy arrays, math functions, and matrix math

Not sure how should we handle num_dims otherwise.

It's easily possible to implement template value parameters if you don't need to do global type inference for them (as long as you have function…

dpn commented on issue M-Labs/nac3#149 2022-04-14 23:18:12 +08:00
implement numpy arrays, math functions, and matrix math

Do we want to try to implement this as a library, or hard-code an array[element_type, num_dims] type into the compiler like before? The first option would involve adding enough in terms of template…