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. |
There was a problem hiding this comment.
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.
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.
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.
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. |
jerryz123
left a comment
There was a problem hiding this comment.
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:
mainas the base branch?changelog:<topic>label?changelog:label?.conda-lock.ymlfile if you updated the conda requirements file?Please Backport?