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

fixed integer overflow on big designs #2

Merged
merged 1 commit into from
Jun 2, 2015

Conversation

RTimothyEdwards
Copy link
Contributor

Tried to place the AES microprocessor from openCores, and graywolf got hung up in an infinite loop. Tracked it down to an integer overflow---the total wire length exceeds a 32 bit value. There's another bug here that's getting fixed, too, where graywolf used a value (define) "OVER_HEAD" to pad out an array, but then would expand into that array assuming that it wouldn't exceed that overhead and write outside of the array. But again, for a large design like the AES, I found it doing just that, and had to add code to specifically check for out-of-bounds access and increase the array size when necessary.

rubund added a commit that referenced this pull request Jun 2, 2015
fixed integer overflow on big designs
@rubund rubund merged commit a914d5c into rubund:master Jun 2, 2015
@synaption synaption mentioned this pull request Jan 24, 2019
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