Skip to content
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

✨ [CFU] add support for custom R5-type instructions #452

Merged
merged 14 commits into from Dec 10, 2022

Conversation

stnolting
Copy link
Owner

This PR adds (optional) support of R5-type instructions to the Custom Functions Unit (CFU). Users can now implement custom instructions with up to 4 source operands.

👍 Idea triggered by @jimmy9799 in discussion #446.

ℹ️ Since the RISC-V ISA spec. does not define R5-type instruction formats (yet), a NEORV32-specifc format is defined that is based on the official RISC-V R4-type format.

ℹ️ The custom-2 and custom-3 OPCODEs are used to define the CFU R5-type instructions.

cfu_r5type_instruction_a
cfu_r5type_instruction_b

@stnolting stnolting added enhancement New feature or request HW hardware-related SW software-related labels Dec 8, 2022
@stnolting stnolting self-assigned this Dec 8, 2022
@stnolting stnolting marked this pull request as ready for review December 9, 2022 11:02
@stnolting stnolting merged commit 0c27b24 into main Dec 10, 2022
@stnolting stnolting deleted the cfu_r5type_instructions branch December 10, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW hardware-related SW software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant