-
Notifications
You must be signed in to change notification settings - Fork 173
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
Memory cannot handle 2 reads at the same addres during the same clock cycle #1560
Comments
RCOMBBASE
is broken
Interesting! I though we used it for Falcon signature verification - but I guess we do not. |
Interestingly, we do |
Hmmm - in that case, we have tests in |
From the error I am seeing, I think it might be because the memory read is happening at 0-th cycle and hence we are getting a subtraction with overflow. In the other tests, with overwhelming probability, this will not happen. |
From my understanding, the overflow is triggered when we attempt to read the same memory location in the same cycle - not terribly useful, but could happen due to user error (as mentioned in #1561 (comment)) |
Are you sure that the input stack is in the right order for |
Yeah, maybe it is worth adding a disclaimer to the op to specify that the |
Yes, the stack input is not in the expected order i.e., the pointers are not in their correct place. This explains why Falcon tests didn't raise any errors as when the pointers are provided in their right place on the stack and the |
Yup, exactly.
I don't think so - they're obviously different from the documentation (i.e. one is randomness, the other is |
We took a different approach for now in #1561. |
Failing test:
The text was updated successfully, but these errors were encountered: