Skip to content

Improvement of the RTL compilation and simulation flow - #86

Merged
FrancescoConti merged 12 commits into
mainfrom
an/flow-improvement
Jul 22, 2026
Merged

Improvement of the RTL compilation and simulation flow#86
FrancescoConti merged 12 commits into
mainfrom
an/flow-improvement

Conversation

@AlessandroNadalini

@AlessandroNadalini AlessandroNadalini commented Jul 14, 2026

Copy link
Copy Markdown
Member
  • Removed exports to local paths from setup_env.sh
  • Added RF initialization in crt0.S to avoid X propagation in the case of a latch-based RF
  • Fixed FPU test to actually return a value different from 0 in the case of an error
  • Increased the GitHub action timeout to avoid false negatives
  • Makefile cleanup
  • Added scripts for semi-automatic local testing + README section on its usage
  • Removed Bender.local and pushed Bender.lock to freeze the version of the IPs

This prevents X propagation in RTL simulation when the latch-based RF is instantiated
- The error threshold is now set to only 1 bit of difference, i.e. 1e-45
- The program now returns a value different from 0 when there's a result mismatch (at least for CV32E40P and RISCY)
Removed some dead lines + removed sourcing of inexistent wave.do from run command
When executing the test with RISCY, it was failing due to an error greater than the threshold chosen for the CV32E40P core: the numerical error was still acceptable, the threshold has been increased for the RISCY core.
Added section on local testing with bwruntests.py script and usage instructions.
@AlessandroNadalini
AlessandroNadalini marked this pull request as ready for review July 20, 2026 15:08
@FrancescoConti
FrancescoConti merged commit 7d89c02 into main Jul 22, 2026
1 of 3 checks passed
@AlessandroNadalini
AlessandroNadalini deleted the an/flow-improvement branch July 28, 2026 09:14
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.

3 participants