Skip to content

Debug compiler gen code#17

Merged
ZiaCheemaGit merged 4 commits into
mainfrom
debug-compiler-gen-code
Jun 20, 2026
Merged

Debug compiler gen code#17
ZiaCheemaGit merged 4 commits into
mainfrom
debug-compiler-gen-code

Conversation

@ZiaCheemaGit

Copy link
Copy Markdown
Owner

Fixes #14

ZiaCheemaGit added a commit that referenced this pull request Jun 20, 2026
@ZiaCheemaGit

Copy link
Copy Markdown
Owner Author

Oh man what a catch, I found out that a one bit wire i.e. the signal which told alu if its a signed or unsigned comparison was incorrect for bgeu instruction. It had been sending signed comparison signal while bgeu is branch if greater unsigned. Changing 0 -> 1 fixed the bug. See the last commit Bug fix for more clarity.

@ZiaCheemaGit ZiaCheemaGit force-pushed the debug-compiler-gen-code branch from b20d2de to 5df894b Compare June 20, 2026 15:18
@ZiaCheemaGit ZiaCheemaGit merged commit 15f934d into main Jun 20, 2026
3 checks passed
@ZiaCheemaGit ZiaCheemaGit deleted the debug-compiler-gen-code branch June 20, 2026 15:19
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.

test why compiler generated div and mul functions failed for rv32i

1 participant