Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
b55c56d
[targets/magia_v2] Add spatz as sub-target for magia_v2
callme-sam Feb 4, 2026
3ec966c
[cmake] Add cmake file for spatz configuration
callme-sam Feb 4, 2026
7490645
[cmake] Add spatz helper cmake functions
callme-sam Feb 5, 2026
06f001a
[cmake] Add bootrom cmake helper functions
callme-sam Feb 5, 2026
3b492bd
[scripts] s19tomeme.py: Fix data memory start address and size
callme-sam Feb 5, 2026
599930a
[scripts] Add python scripts to generate spatz header from binary and…
callme-sam Feb 5, 2026
c88461c
Update main CMakeLists.txt to include Spatz helper files
callme-sam Feb 5, 2026
f242c53
[scripts] update scripts permission (755)
callme-sam Feb 5, 2026
8714040
[test] Import utils from MAGIA
callme-sam Feb 5, 2026
55985c5
[cmake] Add utils to spatz task compilation
callme-sam Feb 5, 2026
6dc527a
[cmake] Add default linker and crt0 files for spatz
callme-sam Feb 5, 2026
e1e2ba0
[test/spatz_on_magia] Add hello world test
callme-sam Feb 5, 2026
375bcbc
[cmake] Fix spatz cmake configuration
callme-sam Feb 5, 2026
2fb3641
[cmake] bootrom_helpers.cmake: Fix function name and create build if …
callme-sam Feb 10, 2026
87a9272
[cmake] spatz_helpers: Fix build output directory
callme-sam Feb 10, 2026
693dfbd
[test/spatz_on_magia] hello_spatz: fix build output dir
callme-sam Feb 10, 2026
ae198b5
[targets/magia_v2] Build spatz bootrom only if sptaz tests are included
callme-sam Feb 10, 2026
ae1afe3
[test] CMakeLists: modify mapping to support Spatz tests
callme-sam Feb 10, 2026
f371a57
Makefile: Add support for spatz tests compilation
callme-sam Feb 10, 2026
3fa52fc
[cmake] spatz_config: cleanup
callme-sam Feb 10, 2026
6b9b746
[scripts] update parse_s19
callme-sam Feb 10, 2026
e57c924
[test/spatz_on_magia] WIP refactor
callme-sam Feb 10, 2026
da2b240
[cmake] spatz_helpers: Better header with binary array generation
callme-sam Feb 11, 2026
f6cc96b
[cmake] fix compilation of Spatz's crt0.S
callme-sam Feb 11, 2026
29b2f60
[tests/spatz_on_magia] hello_stpatz: complete refactor
callme-sam Feb 11, 2026
ba93a2b
[tests/spatz_on_magia] Add double task test
callme-sam Feb 11, 2026
4178033
[test/utils] removed unnecessary header files
callme-sam Feb 12, 2026
2d602ef
[cmake] spatz_config: change ISA extension for CV32 to imcxgap9
callme-sam Feb 12, 2026
aa0786a
[tests/magia/mesh] CMakeLists: compile "amo" test only if target is m…
callme-sam Feb 12, 2026
365e604
[tests/spatz_on_magia] Add onnx add test
callme-sam Feb 12, 2026
7a2e820
[targets/magia_v2] tile_add_map: change number of tiles to 1
callme-sam Feb 13, 2026
129f899
[cmake] spatz_helpers.cmake: Improve Spatz task build logic
callme-sam Feb 13, 2026
f0a04cd
[targets/magia_v2/include] Port utility header from MAGIA to magia v2
callme-sam Feb 16, 2026
079b714
[tests/spatz_on_magia/onnx_add] main: Fix len param in vector compare
callme-sam Feb 17, 2026
b7e3e58
[tests/spatz_on_magia/onnx_add] onnx_add_mem_layout: Map L1 memory ba…
callme-sam Feb 17, 2026
2197e0e
[targets/magia_v2] link.ld: Fix CV32 stack size
callme-sam Feb 17, 2026
2f3929b
[tests/spatz_on_magia] onnx_div: Add ONNX DIV test
callme-sam Feb 19, 2026
b6b5c0d
[tests/spatz_on_magia] onnx_add: Fix typo
callme-sam Feb 23, 2026
ef9bf73
[tests/spatz_on_magia]: onnx_div: Fix typo
callme-sam Feb 23, 2026
331d905
[magia_v2/include/utils] compare_utils: Use raw uint16_t for compare …
callme-sam Feb 23, 2026
f40ccda
[tests/spatz_on_magia] Add onnx clip test
callme-sam Feb 23, 2026
29bff40
[tests/spatz_on_magia] onnx_add: Refactor - use L1 for params
callme-sam Feb 23, 2026
d09fd3f
[tests/spatz_on_magia] onnx_div: Refactor - use L1 for params
callme-sam Feb 23, 2026
d6a80ff
[Makefile] Add rule to support gvsoc simulation for executables with …
callme-sam Feb 23, 2026
3228523
WIP - [cmake] Refactor compilation flow for spatz and add support for…
callme-sam Feb 26, 2026
9b6704c
[targets/magia_v2] compare_utils.h: Introduce tollerance in comparison
callme-sam Feb 26, 2026
22c8c2c
[Makefile] finalize refactor compilation flow for spatz and add suppo…
callme-sam Feb 26, 2026
a792fe3
[scripts] parse_s19.pl: Add execution permission
callme-sam Feb 26, 2026
a283f0e
[cmake] spatz_helper.cmake: re-introduce disassembly generation
callme-sam Feb 26, 2026
cabfa87
[Makefile] Add rule to download and build spatz llvm
callme-sam Feb 27, 2026
6e56ea1
[targets/magia_v2] spatz: Align SDK with recent RTL changes to fix Sp…
callme-sam Feb 27, 2026
7de237c
[targets/magia_v2] link.ld: Fix broken comment
callme-sam Feb 27, 2026
dc5990c
[targets/magia_v2] spatz: Align also magia_spat_utils.h SDK with rece…
callme-sam Feb 27, 2026
09b4084
[tests/spatz_on_magia] Removes unnecessary prints
callme-sam Feb 27, 2026
57e730b
Update README with spatz integration info
callme-sam Feb 27, 2026
ead118e
Makefile: Revert changes to MAGIA_DIR and BUILD_DIR and add a custom …
callme-sam Mar 3, 2026
f635d53
README: Added warning regarding potential inaccuracies in the MAGIA-S…
callme-sam Mar 3, 2026
550f194
[targets/magia_v2] utils: replace tinyprintf with printf for spatz tasks
callme-sam Mar 3, 2026
28e7bf2
[drivers] eventunit: Move Spatz-specific event functions to drivers
callme-sam Mar 4, 2026
889188a
[tests/spatz_on_magia] Remove double task example
callme-sam Mar 4, 2026
d925e39
[targets/magia_v2] utils: remove unnecessary utils
callme-sam Mar 4, 2026
108dd5e
[cmake] Refactor and cleanup of Spatz cmake files
callme-sam Mar 6, 2026
ff5c2fc
[targets/magia_v2] magile_tile_utils: remove unused APIs
callme-sam Mar 6, 2026
89eaf35
[targets/magia_v2] removes unused spatz_perf_counters header file
callme-sam Mar 6, 2026
fff7314
[targets/mavia_v2] move compare_utils from targets/../utils to tests
callme-sam Mar 6, 2026
02d10a6
[drivers] eventunit: Fix return value for eu_spatz_wait
callme-sam Mar 6, 2026
2616a62
[test/common] compare_utils: Refactor compare logic to use ULP and mo…
callme-sam Mar 11, 2026
dc899fc
[cmake] spatz_config.cmake: lower Optimization from O2 to O0
callme-sam Mar 12, 2026
eeda491
[tests/common] compare_utils.h: Increase ULP tollerance
callme-sam Mar 12, 2026
aa5a5a0
[tests/spatz_on_magia] Add ONNX softmax test
callme-sam Mar 12, 2026
8f7b50e
[tests/spatz_on_magia] Add ONNX GELU test
callme-sam Mar 13, 2026
2596cd2
[tests/spatz_on_magia] Add ONNX RELU test
callme-sam Mar 13, 2026
365e518
[tests/spatz_on_magia] Add ONNX LayerNorm test
callme-sam Mar 17, 2026
45049b8
[cmake] spatz_helpers: Fix objdump flags for Spatz task disasm genera…
callme-sam Mar 18, 2026
4998721
Added magia-v3 target
TheSSDGuy Mar 23, 2026
cff030e
[tests/spatz_on_magia] onnx_softmax: Fix optimization issue
callme-sam Mar 23, 2026
a56ee97
[cmake] spatz_config: Set Spatz optimization level to O3
callme-sam Mar 23, 2026
5ddf637
Added pulp target
TheSSDGuy Mar 25, 2026
ebe3144
[tests/spatz_on_magia] Add ONNX BatchNorm test
callme-sam Mar 26, 2026
d57f4a4
[test/common] compare_utils: Add average ULP computation
callme-sam Mar 27, 2026
d7fd9fc
[tests/spatz_on_magia] Add ONNX AveragePool test
callme-sam Mar 30, 2026
21df514
[tests/spatz_on_magia] Add ONNX AveragePool test
callme-sam Mar 31, 2026
292d526
[tests/spatz_on_magia] Add ONNX Ceil test
callme-sam Mar 31, 2026
506ff23
[tests/spatz_on_magia] Add ONNX Floor test
callme-sam Mar 31, 2026
2ee233c
[tests/common] compare_utils: increase ULP tollerance
callme-sam Mar 31, 2026
5dfbc42
[tests/spatz_on_magia] Add ONNX Exp test
callme-sam Mar 31, 2026
2519177
[tests/spatz_on_magia] Add ONNX Sub test
callme-sam Mar 31, 2026
0798f13
[test/spatz_on_magia] Add ONNX Sigmoid test
callme-sam Apr 3, 2026
5bfffb8
[tests/spatz_on_magia] Add ONNX Swish test
callme-sam Apr 3, 2026
0b4bc91
[tests/spatz_on_magia] Add ONNX GroupNorm test
callme-sam Apr 7, 2026
6ecc73a
[tests/spatz_on_magia] Add ONNX GlobalAveragePool test
callme-sam Apr 7, 2026
bb7f4ff
[tests/spatz_on_magia] Add ONNX GlobalMaxPool test
callme-sam Apr 7, 2026
ff1b001
[tests/spatz_on_magia] Add HardSigmoid test
callme-sam Apr 7, 2026
445b2e8
[tests/spatz_on_magia] Add ONNX HardSwish test
callme-sam Apr 7, 2026
955ca66
[tests/spatz_on_magia] ONNX HardSigmoid: remove unnecessary vector re…
callme-sam Apr 7, 2026
6f0c969
[tests/spatz_on_magia] Add ONNX InstanceNorm test
callme-sam Apr 7, 2026
30df7fd
[tests/common] compare_utils: Add API to compare fp16 matrices bitwis…
callme-sam Apr 9, 2026
00150a4
[tests/spatz_on_magia] Add ONNX GEMM test
callme-sam Apr 9, 2026
058e67b
[tests/common] compare_utils: Add API to compare fp16 tensors bitwise…
callme-sam Apr 10, 2026
04e5598
Added segmented stack for pulp target (max pulp cores is 16)
TheSSDGuy Apr 10, 2026
de12160
[test/common] compare_utils: Add API to compare fp16 chunck of tensor…
callme-sam Apr 13, 2026
bae6e15
[tests/spatz_on_magia] onnx_add: Add support for Multi-Tile and Tenso…
callme-sam Apr 13, 2026
a3d3ac1
[tests/spatz_on_magia] onnx_sub: Add support for multi-tile and tenso…
callme-sam Apr 13, 2026
c70622d
[tests/spatz_on_magia] onnx_ceil: Add support for multi-tile and tens…
callme-sam Apr 13, 2026
b640cc7
[tests/spatz_on_magia] ONNX ADD - SUB - CEIL: minor cleanup
callme-sam Apr 13, 2026
97756f0
[tests/spatz_on_magia] onnx_clip: Add support for multi-tile and tens…
callme-sam Apr 13, 2026
633d26d
enable pulp start thru standard mmio32
TheSSDGuy Apr 13, 2026
4229484
[tests/spatz_on_magia] onnx_div: Add support for multi-tile and tenso…
callme-sam Apr 13, 2026
7964cf5
[tests/spatz_on_magia] onnx_exp: Add support for multi-tile and tenso…
callme-sam Apr 13, 2026
cd7caa9
[tests/spatz_on_magia] onnx_floor: Add support for multi-tile and ten…
callme-sam Apr 13, 2026
b2c211e
[tests/spatz_on_magia] onnx_gelu: Add support for multi-tile and tens…
callme-sam Apr 14, 2026
d823c81
[tests/spatz_on_magia] onnx_hardsigmoid: Add support for multi-tile a…
callme-sam Apr 14, 2026
612ef11
[tests/spatz_on_magia] onnx_hardswish: Add support for multi-tile and…
callme-sam Apr 14, 2026
d8936f1
[tests/spatz_on_magia] Typos
callme-sam Apr 15, 2026
0386a34
[tests/spatz_on_magia] onnx_relu: Add support for multi-tile and tens…
callme-sam Apr 15, 2026
05ae805
[tests/spatz_on_magia] onnx_sigmoid: Add support for multi-tile and t…
callme-sam Apr 15, 2026
b6b6f0b
[tests/spatz_on_magia] onnx_swish: Add support for multi-tile and ten…
callme-sam Apr 15, 2026
7a49b4c
Merge branch 'sc/onnx' of github.com:FondazioneChipsIT/magia-sdk into…
Apr 21, 2026
aeee48c
Merge branch 'FondazioneChipsIT-sc/onnx' into ad/sc/spatz_pr
Apr 21, 2026
3b7f8a5
Merge branch 'main' into ad/sc/spatz_pr
Dequino Apr 29, 2026
2d3383b
Merge branch 'main' into ad/sc/spatz_pr
Dequino Apr 29, 2026
81bd86c
Modified pulp cluster compilaton flow to put pulp-elf into main cv32 …
TheSSDGuy May 12, 2026
d4e0a58
Merge remote-tracking branch 'upstream/ad/sc/spatz_pr' into lz/magia_…
TheSSDGuy May 12, 2026
114e54a
Added separated clock enable to pulp cores
TheSSDGuy May 14, 2026
8739116
cmake: fix custom target name collision using source dir hash
TheSSDGuy May 14, 2026
cc44fd9
Gate PULP tests behind PULP_TESTS flag, derived from pulp_cores > 1
TheSSDGuy May 14, 2026
b038a3e
fix(magia_v3): align RedMulE register map and crt0 BSS guard to v2
TheSSDGuy May 15, 2026
c2b55db
restored original csr for performance utils
TheSSDGuy May 15, 2026
f49494c
magia_v3 PULP: one-hot dispatch, two-phase ACK+DONE protocol, dedupli…
TheSSDGuy May 19, 2026
ff7d115
test(spatz_pulp_on_magia): add multi_task sequential dispatch test
TheSSDGuy May 19, 2026
8b12457
Fixed compilation toolchain for new RTL
Dequino Jul 13, 2026
8ce5119
Merge remote-tracking branch 'chipsit/lz/magia_v3/pulp_on_magia' into…
Dequino Jul 14, 2026
7d71223
Fixing openHW toolchain dependencies
Dequino Jul 16, 2026
8b26080
Fucking sdk won't build the right elf
Dequino Jul 22, 2026
45d7373
SDK Re-aligned with RTL, tested on main magia_v3
Dequino Jul 22, 2026
5377ca9
fix(magia_v3): per-tile L1 base in multi_task fix 2x2 mesh
TheSSDGuy Jul 24, 2026
8e0423a
Fixed naming conflicts and compilation flow without pulp core
Dequino Jul 28, 2026
6a87dfb
feat(magia_v3): nn_is_bench, benchmark using every tile accelerator
TheSSDGuy Jul 28, 2026
108a4c0
fixed single test build on spatz
TheSSDGuy Jul 28, 2026
2324c9e
Aligned GVSOC model and updated testbench w/ spatz-only tests
Dequino Jul 29, 2026
864e6ea
Re-enabled onnx_add on magia_v3
Dequino Jul 30, 2026
538b515
Fixed format
Dequino Jul 31, 2026
237ee56
Improved spatz-only tests
Dequino Aug 3, 2026
1b6a8af
Modified python dependencies for gvsoc
Dequino Aug 3, 2026
0a85bf2
Please work
Dequino Aug 3, 2026
73af1fa
Fixes for lagrev CI
Dequino Aug 3, 2026
a4de36e
Changed MAGIA commit on fc/hotfix-fsync-race, removed onnx_div tests …
Dequino Aug 5, 2026
8031979
Deleted gemm CI workflow until Calin fixes it
Dequino Aug 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 0 additions & 97 deletions .github/workflows/gemm-ci.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ llvm/

# Generated test inputs
tests/magia/mesh/gemm/*/include/*
*.log

# nn_is_bench dataset, produced at build time by scripts/gen_nn_is_data.py.
# Deliberately not committed: nn_is_data.h alone is 6.3 MB of hex literals at the
# default geometry, and it is fully reproducible from --size/--timeslots/--seed.
tests/spatz_pulp_on_magia/nn_is_bench/include/nn_is_data.h
tests/spatz_pulp_on_magia/nn_is_bench/include/nn_is_size.h

scripts/gvsoc2perfetto-rs

# Editor
.vscode/
Expand Down
Loading
Loading