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

Div/rem instruction handelling just before ecall #99

Open
saqibsaeed-lm opened this issue Mar 17, 2021 · 1 comment
Open

Div/rem instruction handelling just before ecall #99

saqibsaeed-lm opened this issue Mar 17, 2021 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@saqibsaeed-lm
Copy link

How div/rem instruction is handled in quasar core when it comes just before ecall (for test finishing)?
while no div_wren or cancel signal is raised for the correct result/data of these instructions

Screenshot from 2021-03-17 17-32-24

@saqibsaeed-lm saqibsaeed-lm added the invalid This doesn't seem right label Mar 17, 2021
@saqibsaeed-lm saqibsaeed-lm self-assigned this Mar 17, 2021
@mmhus
Copy link
Contributor

mmhus commented Mar 18, 2021

@saqibsaeed-lm I suggest adding a filler of 34 nop cycles to flush out the div/rem result before ending the test cc: @haroon-shafique . I remember swerv having a max limit of 34 for div i think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants