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

Enable FireSim distributed elaboration #716

Closed

Conversation

timsnyder-siv
Copy link
Contributor

@timsnyder-siv timsnyder-siv commented Nov 10, 2020

Related issue: firesim/firesim#646

Type of change: other enhancement

Impact: rtl change | software change | unknown | other

Release Notes

  • build.sbt assembly merge strategy made more conservative and custom strategy for preferring non-rocketchip artifacts
  • chipyard.config.WithBootROM now looks for contentsFile in TargetDirKey instead of relative to current-working directory
    • removes firesim.firesim.WithBootROM because things are simplified

@timsnyder-siv
Copy link
Contributor Author

Looks like I will need to merge forward on dev but I wanted to go ahead and post this so that @davidbiancolin and others could see it.

This work requires chipsalliance/rocket-chip#2725 so that TargetDirKey is in the Config.

Copy link
Contributor

@abejgonzalez abejgonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything minus the build.sbt stuff looks good to me (the build.sbt stuff is a bit out of my comfort zone). Its nice that CY/FireSim can share the same WithBootROM frag.

@davidbiancolin
Copy link
Contributor

SBT side things look fine to me.

@timsnyder-siv
Copy link
Contributor Author

I'm working on merging local-chisel34 branch into this because @davidbiancolin wanted to wait to merge this until after the chisel bump.

@timsnyder-siv
Copy link
Contributor Author

Since I merged local-chisel34 into my topic branch before it was merged to dev, I now have all kinds of changes in this PR that have nothing to do with the original topic.

I'm going to try cleaning this up by force-pushing my target branch and merging with dev now that local-chisel34 is merged.

@timsnyder-siv
Copy link
Contributor Author

timsnyder-siv commented Dec 15, 2020

@davidbiancolin I'm seeing that CY is currently pointing to https://github.com/chipsalliance/rocket-chip/tree/577994e38e3115cafa3a232b0fc60584aacb996e (on 'dev@577994e') and that doesn't have chipsalliance/rocket-chip#2725 that this requires.

Are you guys planning to bump RC before the release?

Here's the comparison showing what would have to be bumped to enable this PR chipsalliance/rocket-chip@577994e...0049f6e

@davidbiancolin
Copy link
Contributor

Oops... We definitely should've bumped further along in RC, i neglected to check. I'll try to get around to that next week, otherwise i'm open to a PR.

@timsnyder-siv
Copy link
Contributor Author

Oops... We definitely should've bumped further along in RC, i neglected to check. I'll try to get around to that next week, otherwise i'm open to a PR.

opened #742

timsnyder-siv added a commit to timsnyder-siv/rocket-chip that referenced this pull request Dec 22, 2020
Creating an intermediate commit for ucb-bar/chipyard#716 to use for CI
until ucb-bar/chipyard#742 is merged and this bump will be subsumed by
the larger bump.
  * only specifically identified artifacts use non-default strategies
  * fallthrough uses default strategies (that will error)
  * adds a custom strategy that prefers a non-rocketchip artifact (notRocketMergeStrategy)
     * needed for chipard/generators/utilities/src/main/resources/csrc/emulator.cc
       so that the ChipYard version is used instead of the one from RC
  * adds (useRocketMergeStrategy) that prefers the RC artifact
     * we want to use vsrc/SimDTM.v from rocketchip, not riscv-sodor

Needed for firesim/firesim#651
Uses a forward-merged version of the topic-branch at chipsalliance/rocket-chip#2767
until chipyard#742 is merged and can subsume this intermediate bump.
timsnyder-siv added a commit to sifive/firesim that referenced this pull request Dec 22, 2020
@timsnyder-siv timsnyder-siv reopened this Dec 22, 2020
@timsnyder-siv
Copy link
Contributor Author

hmm. Does anyone know why the checks aren't running after I rebased and force-pushed this? I put the 'DO NOT MERGE' label on this PR needs to merge after #742 (or someone needs to say it's okay for rocket to not be on master).

@jerryz123
Copy link
Contributor

The checks don't run on PRs from forks. @abejgonzalez do you remember why that was the case?
Also @abejgonzalez @davidbiancolin can we just merge these in without waiting for the checks? The changes seem to be mostly innocuous.

@timsnyder-siv
Copy link
Contributor Author

timsnyder-siv commented Dec 22, 2020 via email

@timsnyder-siv
Copy link
Contributor Author

I'm rebasing this onto dev and opening a local branch PR that will replace this one. Don't see a way to change the remote source branch of a PR so I'm closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants