Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ISA-based refactor to move OST1 into a submodule #132

Open
wants to merge 14 commits into
base: openpiton-dev
Choose a base branch
from

Conversation

Jbalkind
Copy link
Collaborator

@Jbalkind Jbalkind commented Aug 4, 2023

This is a large-looking refactor that actually doesn't affect that many places in the repo. I moved the OST1 core into a submodule and the SPARCv9 tests into a submodule, so there are a large amount of deletions (new record! 11.5M lines of deletions). This moves the tests around so they're separated by ISA under piton/verif/diag/ and there are a bunch of headers that got cleaned up with some headers and modules moved under piton/design/chip/tile/sparc

This also requires -ost1 to be passed to sims if using the OST1 core. This fixes an issue with sims regressions where it was including -ost1 even when -ariane or -pico were set but it also changes the expected API to sims. I still need to change the README accordingly to make this clear to users

Also the submodules are currently set to not update. However, it requires some weird incantation to git to actually make it instantiate the submodule. I might undo that part. Overall this PR should make shallow repo clones really fast because a huge amount of code has been moved out of the repo

Little more detail:

  • Refactoring ISA tests by ISA
  • Moving sparcv9 tests into sparcv9-ost1-tests submodule
  • Cleaning up headers, moving OST1 headers into sparc/include/
  • Moving TRI transducers into sparc/ and pico/
  • Moving FPU, common files into sparc/
  • Adding hierarchy layer sparc_tri to simplify tile

This will require some verification to be sure I didn't break anything before we merge

Jbalkind and others added 9 commits July 19, 2023 07:51
- Refactoring ISA tests by ISA
- Moving sparcv9 tests into sparcv9-ost1-tests submodule
- Cleaning up headers, moving OST1 headers into sparc/include/
- Moving TRI transducers into sparc/ and pico/
- Moving FPU, common files into sparc/
- Adding hierarchy layer sparc_tri to simplify tile
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants