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

Fix kernel id - CSR address mapping issue #285

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

sophimao
Copy link
Contributor

@sophimao sophimao commented Apr 4, 2023

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.

@sophimao sophimao requested a review from zibaiwan April 5, 2023 12:58
@sophimao
Copy link
Contributor Author

sophimao commented Apr 5, 2023

Hi @zibaiwan , this is the change to runtime I mentioned before, would you mind taking a look? Thanks!

zibaiwan
zibaiwan previously approved these changes Apr 5, 2023
Copy link
Contributor

@zibaiwan zibaiwan left a 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.

zibaiwan
zibaiwan previously approved these changes Apr 5, 2023
Copy link
Contributor

@zibaiwan zibaiwan left a 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.
@sophimao
Copy link
Contributor Author

sophimao commented Apr 5, 2023

Hi @zibaiwan , sorry but looks like updating commit message invalidates your review, would you mind approving again?

@zibaiwan zibaiwan self-requested a review April 5, 2023 21:01
@sophimao sophimao merged commit a10729c into intel:main Apr 5, 2023
@sophimao sophimao deleted the host-pipe-stage branch April 5, 2023 21:23
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.

2 participants