Skip to content

Fix verilator sim and RTL files from last vendor update. Fix some applications - #31

Merged
JuanSapriza merged 7 commits into
esl-epfl:mainfrom
ruben-roalvarez:fix
Nov 12, 2025
Merged

Fix verilator sim and RTL files from last vendor update. Fix some applications#31
JuanSapriza merged 7 commits into
esl-epfl:mainfrom
ruben-roalvarez:fix

Conversation

@ruben-roalvarez

Copy link
Copy Markdown
Collaborator

Last commit was not working correctly: mcu-gen, verilator-sim, and the kernel_tests were failing.

This PR fixes:

  • mcu-gen (the testbench file was not being generated)
  • Verilator sim: needed to update some connections from x-heep and include the header of the tesbench
  • The instruction generation (assembly to machine code translator) was updated with the "new" increment parameter from the LWD and SWD (back-compatible with the old assembly format)
  • Some applications were not updated. All applications compile now. I have also fixed the stringsearch from kernel_test for a 4x4, but the rest are missing the original assembly code

Applications that work

  • cgra_check_conf
  • cgra_dbl_search
  • cgra_fft
  • cgra_func_test
  • kernel_test -> only the stringsearch (default option)

…ks. The rest of kernel test are missing their original sat.out assembly
@ruben-roalvarez

Copy link
Copy Markdown
Collaborator Author

I need to update the vendor of the CGRA once the PR on the OpenEdgeCGRA has been merged.

@JuanSapriza JuanSapriza left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes seem reasonable on my side.
Spoke with Ruben, all was tested on verilator.

@JuanSapriza
JuanSapriza merged commit 1716974 into esl-epfl:main Nov 12, 2025
2 checks passed
SeWiede pushed a commit to SeWiede/HEEPsilon that referenced this pull request May 11, 2026
…lications (esl-epfl#31)

* Fixed: mcu-gen, verilator-sim generation, compilation of SW. Many applications fail in the execution

* Add HW changes and fix increment in LWD/SWD. Now the stringsearch works. The rest of kernel test are missing their original sat.out assembly

* revert hw changes to align with vendor

* Leave config by default

* Fix rvalid handling on the CGRA and add test to verify functionality

* Vendor of the CGRA up to date

* Add recursive vendor check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants