Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

twilfredo
Copy link
Contributor

@twilfredo twilfredo commented Sep 13, 2022

Pull Request Overview

Minor bug fix to the flash_ctrl tests to make sure we don't overwrite/erase important sections during testing.

Discovered: When running the entire test suite, ran into an illegal instruction with the instruction being 0xAAAA which is the data we write into flash in this test (overwriting the code on page 5).

Flash distribution:

  • Page Size: 2kiB
  • Pages 0-255: Bank0
  • Pages 256-511: Bank1

Testing Strategy

Running the test suite on Verilator.

TODO or Help Wanted

N/A

Documentation Updated

  • No updates are required.

Formatting

  • Ran make prepush.

Minor fixup to the flash_ctrl tests to make sure we don't
overwrite/erase important sections during testing.

Bug: When running the entire test suite, ran into an illegal instruction
with the instruction being `0xAAAA` which is the data we write
into flash in this test (overwritting the code).

Signed-off-by: Wilfred Mallawa <[email protected]>
@github-actions github-actions bot added the WG-OpenTitan In the purview of the OpenTitan working group. label Sep 13, 2022
@bradjc
Copy link
Contributor

bradjc commented Sep 13, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 13, 2022

@bors bors bot merged commit 7569c1e into tock:master Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WG-OpenTitan In the purview of the OpenTitan working group.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants