Commit e6473dd
Fix aes32esi bug (#3243)
The PR attempts to fix this aes32esi bug - which seems to be caused by orig_instr_o (raw instruction word) being assigned only if CVA6Cfg.CvxifEn || CVA6Cfg.RVF are enabled, though it's used downstream by the ZKN features as well (not only aes32esi, but also other instructions). I.e. the bug is manifested if ZKN is enabled, but CvxifEn and RVF are not; otherwise the AES implementation seems to work correctly.
Also because ZKN seems to depend on RVB being enabled as well, the PR also auto-enables RVB when ZKN is present (if it make sense a warning can be added in case it gets auto-enabled).
---------
Co-authored-by: JeanRochCoulon <jean-roch.coulon@thalesgroup.com>1 parent 37e2cb2 commit e6473dd
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1846 | 1846 | | |
1847 | 1847 | | |
1848 | 1848 | | |
1849 | | - | |
| 1849 | + | |
1850 | 1850 | | |
1851 | 1851 | | |
1852 | 1852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments