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

Custom instruction for RISC V #4

Open
PriyamvadAcharya opened this issue Sep 4, 2019 · 0 comments
Open

Custom instruction for RISC V #4

PriyamvadAcharya opened this issue Sep 4, 2019 · 0 comments

Comments

@PriyamvadAcharya
Copy link

Hello Nitish it was a great tutorial but i have certain questions.

  1. In temp.h file
    #define MATCH_MOD 0x200006b
    #define MASK_MOD 0xfe00707f

What are these two hexadecimal value i.e 0x200006b,0xfe00707f ??
As I am working on adding custom instruction in a tool ,I need to understand the above steps.

  1. Is it necessary to change processor RTL to add custom instruction ?
  2. How did you provide value for opcode for that instruction i.e you have randomly generated opcode value or is there a method to retrieve opcode value?

@nitish2112.github.io

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

No branches or pull requests

1 participant