-
Notifications
You must be signed in to change notification settings - Fork 681
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
Add hook into Chipyard build system for FireSim #1935
Conversation
083d5a7
to
9dd7e78
Compare
This works with CY-as-top. Since the environments are separate, if you want to run FireSim commands you need to Opening this up for reivew/thoughts. |
sims/firesim-wrapper/Makefile
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is clearly minimal. I think it makes sense to have some sort of "staging" area for FireSim-related scripts + collateral s.t. in the future if Chipyard has it's own config_*
files, etc it can put them here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should be some simulator agnostic folder (sims/none
) where you can generate RTL w/o hooks for a specific simulator + w/o being in a simulator specific directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of this "staging directory" for firesim.
I also think a "verilog-only" staging directory could be done, but IMO that should be a separate set of changes.
Are you sure there won't have to be any firesim-specific things in this staging directory? As firesim is split out more?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes there will be more FireSim-specific things as it's split out but IDK what they are right now. Having it be a separate staging folder is fine for now.
This seems quite cumbersome. If this is the case, then we should leave the firesim-related packages in the CY conda environment. I don't think we can expect users to be adept at managing/switching between multiple environments. |
If we want to have packages from both environments exist in one source of With that being said, I think it's alright to have two separate env's that need to be sourced separately. Maybe polling Chipyard/FireSim users on whats convenient to them would be good. I suspect a lot of users/devs have separate terminals, tmux windows, etc to build things w/ FireSim v.s. Chipyard (esp. since FireSim builds/runs are typically longer lived). |
Ok looks like people like the combined environment. I think the best way to do this is to have a stacked environment. I'll try it out and update this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The non-conda things look good. Happy to merge this once the Conda is fixed as a WIP towards independent firesim
Update on this. A stacked environment doesn't work for us since things like Python don't support stacking (stacking is for commandline programs - i.e. appending to |
I think we ought to continue with the single environment then |
1982699
to
119b836
Compare
119b836
to
8b9a2c4
Compare
39a159f
to
6db8ece
Compare
Sister PR: firesim/firesim#1759
Related PRs / Issues:
Type of change:
Impact:
Contributor Checklist:
main
as the base branch?changelog:<topic>
label?changelog:
label?.conda-lock.yml
file if you updated the conda requirements file?Please Backport
?