-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sw: Add initial version of script to explore tiled behaviour #38
base: main
Are you sure you want to change the base?
Conversation
* hw: Add CSR address range for SNAX * hw: Add SNAX CSR accelerator port address * hw: Add CSR decoding for SNAX * Revert "hw: Add CSR address range for SNAX" This reverts commit afdd15c. * hw: Decoupled CSR address range from opcode set * hw: Update SNAX CSR address to use decoupled definition * hw: Add new line and fix trailing spaces * hw: Fix trailing spaces * bender: Add csr_snax_def.sv to bender list * lint: Exclude csr_snax_def.sv from license checker * hw: Add CSR immediate decoding for opb MUX
* hw: Add SNAX ports to core cluster * hw: Add switchers and generators for SNAX * hw: Add comment for TCDM generation with SNAX ports
* bender: add hwpe-mac * target: Add +define+SYNTHESIS to verilator flags to bypass MAC engine timescale --------- Co-authored-by: rgantonio <[email protected]>
* hw: Add HWPE MAC ctrl code * hw: Add HWPE MAC reqrsp code * hw: Add HWPE MAC top code * bender: add HWPE mac files to bender list * lint: Exclude HWPE MAC files from license checker * hw: make sure the module name matches the fine name * bender: change the file name of hwpe mac * hw: rm the hwpe mac file with wrong filename * bender: change the order of hwpe mac in bender list * hw: edit comments * hw: Clarify comments about the data addressing --------- Co-authored-by: rgantonio <[email protected]>
* hw: add mac unit * hw: remove extra comments in snitch cluster * hw: change the name of main mac engine
* docs: Add SNAX definition to schema * hw: Add SNAX to cluster wrapper template. * target: Add SNAX configuration for custom use. * docs: Fix typo for SNAX flag * cfg: Add explicit SNAX declarations for other templates * tests: Create separate SNAX run to exclude multicore Snitch tests * ci: Separate SNAX test * ci: Clean the HW build for SNAX * ci: Break long line into multiple for lint * ci: Fix cfg path for HW build * ci: Make new line again for lint
* sw: Add snax-mac.c test * sw: Add data for snax-mac test * Add Makefile for compiling snax-mac * sw: Add snax-mac to list of to-compile builds * sw: Re-align data for lint * sw: Fix lint for snax-mac.c * lint: Exclude SNAX tests from license checking * sw: Swap snrt.h and data.h positions * sw: Fix lint for data.h * sw: Fix lint for snax-mac.c * sw: Code cleaning and fix comments for clarity * tests: Add snax-mac to snax-run.yaml * Revert "tests: Add snax-mac to snax-run.yaml" This reverts commit 150b91a. * sw: Fix comments for snax-mac * Add snax-rum.yaml for the application test list. * ci: Modify test in CI to use snax-run.yaml for the apps side
* hw: Add special switcher for output streamer * hw: Add switcher for double word alignment * hw: Decouple input and output streams in SNAX MAC * hw: Fix bulk changes to allow 64-bit input and output streaming of HWPE MAC * sw: Move from 32 bit to 64 bit data * Fix parameters and comments
* sw: Add snax-mac-simple main code * sw: Add data for snax-mac-simple test * sw: Add Makefile for snax-mac-simple * lint: Exclude snax-test from licensing * sw: Fix lint for data.h * sw: Fix lint for snax-mac-simple.c * sw: Fix lint again for data.h * sw: Fix lint again x2 for data.h * sw: Modify snax-mac-simple to use 64 bits * sw: Take out unused variable * sw: Add CPU checker to compare with MAC output * sw: Add snax-mac-simple test to the test suite * sw: Add new line for data.h * Revert "sw: Add new line for data.h" This reverts commit 7dc87fe. * sw: Add proper newline to data.h
* hw: Fix snitch_cluster to have better modularity for SNAX tcdm ports * schema: Add the default snax_tcdm_ports configuration * tpl: Modify snitch cluster template for snax ports * hw: Fix lint for trailing spaces * tpl: Add the configuration for the snitch cluster * cfg: Update snax.hjson config to include the SNAX TCDM ports
* bender: Add snax-gemm to bender * bender: Update bender with latest snax-gemm repo * hw: Add snax-gemm.sv * hw: Modify snitch_cluster and add snax-gemm instance * hw: Modify snitch cluster template * docs: Modify snitch cluster schema * lint: Exclude snax_gemm from license check * hw: Lint snax_gemm * cfg: Modify snax.hjson with new config * improve gemm * modify gemm.sv * hw: modify status CSR * cfg: Add snax-hjson configuration * tests: Renamed snax-run.yaml to snax-mac-run.yaml * cfg: Modify to use MAC generation * cfg: Rename snax.hjson to snax-mac.hjson * ci: Change build to SNAX-MAC runs * cfg: Modify snax-gemm.hjson * tests: Add snax-gemm-run.yaml * ci: Add the SNAX-GEMM in CI * ci: Fix lint indentation * cfg: Take out original Snitch compute core templates --------- Co-authored-by: xiaoling-yi <[email protected]>
* sw: Add GEMM sw test * sw: Lint codes * lint: Add license * sw: Add base test without the GEMM engine * sw: Add engine and base test to apps Makefile * sw: Add GEMM tests to test list * lint: Exclude GEMM tests from license check * sw: Add new lines at the end of each file
* hw: Update SNAX control for 32-bit support * hw: Update SNAX hwpe to reqrsp to support 32-bits * hw: Take out unused parameter * sw: Move uint64_t to uint32_t * sw: Take out unnecessary debug code * sw: Add new line to data.h
* sw: Copy simple mac example and refactor * sw: Refactor accelerator setup * sw: Add function for launching accelerator * sw: Refactor correctness check * sw: Working multiple SNAX runs * sw: Added duplicate runs * sw: Make duplicate runs in for loop * sw: Fix lint for code * sw: Move snax_mac_sw_clear to sw_barrier * sw: Tile execution of MAC operation * sw: Add data in to tiled implementation * sw: Add output transfer to double buffering loop * sw: Add license headers * sw: Fix linting errors * sw: Add tiled mac to makefile and runfile * sw: Add datagen * sw: Fix lint * sw: Resolve minor comments * sw: Add datagen.py to Makefile * sw: Fix lint * sw: Add performance coutners outside tiling loop * sw: Fix lint --------- Co-authored-by: rgantonio <[email protected]>
* sw: Move files into snax-mac-simple folder * sw: Fix relative paths for CI after move * sw: Rename files for move * sw: Adapt relative paths for compilation * sw: Rename snax-mac-simple to untiled * sw: Use datagen to drive untiled example * sw: Fix C linting
I will make a fix for this wait. It will be in a separate PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JosseVanDelm I am okay with this.
This does not need to be part of the CI right? Because it doesn't make sense to me to generate .perf
files during CI since we're not checking performance anyway. CI was meant to just see if it builds right?
Also, let's first rebase the PR I made for the signal fix.
2. run bin/snitch_cluster.vlt something.elf | ||
3. make traces | ||
4. Process logs | ||
5. TODO store logs somewhere |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to dump it in the same logs directory that is generated when we build tests? The one in /repo/target/snitch_cluter/logs
because it's also automatically part of the .gitignore
that was previously present.
28b4d6b
to
495b959
Compare
* sw: Refactor mac library to be outside of examples * sw: Refactor untiled example to use utilities from library * sw: Remove all performance counters * sw: Refactor accelerator setup * sw: Refactor correctness check * sw: Build snax/mac as dependency of apps * sw: Make lint happy * sw: Add stdint to includes to make clang-format happy Clang-format reorders includes to alphabetical order, which results in some includes being broken * sw: Insert missing barrier in untiled example * sw: Add KU Leuven to License checker * sw: Make lint happy * sw: Address Xiaoling's comments * sw: Remove unnecessary mac.o dependency from makefile * sw: Add SNAX as dependency to tests
495b959
to
b709e30
Compare
@rgantonio CI is meant for continuous integration. |
You run it like this (note the calling folder!) yay: