-
Notifications
You must be signed in to change notification settings - Fork 70
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
Fix kernel id - CSR address mapping issue #285
Conversation
Hi @zibaiwan , this is the change to runtime I mentioned before, would you mind taking a look? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Sophie, looks good to me except a minor issue.
a97edb1
to
156404c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Sophie!
Currently simulation uses arithmetics to derive kernel id and csr start register address, which is error prone. This change adds a new MMD call to pass kernel-id to csr address mapping to the lower runtime so it could use the information directly.
156404c
to
cec7b9b
Compare
Hi @zibaiwan , sorry but looks like updating commit message invalidates your review, would you mind approving again? |
Currently in simulation we need to match CSR address with kernel id in order to know which start register the runtime is writing into and set the corresponding start signal in the simulation control BFM. This change sends the kernel id CSR address mapping information to the simulation runtime through a new simulation MMD function.