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

Bump to Chisel 3.5 RC #1060

Merged
merged 46 commits into from
Feb 11, 2022
Merged

Bump to Chisel 3.5 RC #1060

merged 46 commits into from
Feb 11, 2022

Conversation

davidbiancolin
Copy link
Contributor

Related issue: Subsumes #998. See that PR for more discussion. I mostly used the existing submodule SHAs from the last PR.

Type of change: other enhancement

Impact: other

Release Notes
Bump to Chisel 3.5 & FIRRTL 1.5 RC

@sequencer
Copy link
Contributor

ucb-bar/rocket-dsp-utils#6 may need as well, since those codes are too old to work.

@tymcauley
Copy link
Contributor

I was just experimenting with this branch, and had one small comment: Due to the file-path changes in barstools, the SOURCE_DIRS variable in common.mk should probably change from this:

SOURCE_DIRS = $(addprefix $(base_dir)/,generators sims/firesim/sim tools/barstools/iocell fpga/fpga-shells fpga/src)

to this:

SOURCE_DIRS = $(addprefix $(base_dir)/,generators sims/firesim/sim tools/barstools fpga/fpga-shells fpga/src)

(tools/barstools/iocell -> tools/barstools).

Also, in the current Chipyard dev branch, I've got a custom Chisel project added in (following these directions), and I've got a few custom FIRRTL transforms defined in there. I'm able to run those transforms using syntax like this:

make CONFIG=... EXTRA_FIRRTL_OPTIONS="--custom-transforms custom.project.name.MyFirrtlTransform"

On this branch, I get this error at the GenerateTopAndHarness step:

[info] ------------------------------------------------------------------------------
[info] Error: Option --custom-transforms failed when given 'custom.project.name.MyFirrtlTransform'. Unable to locate custom transform custom.project.name.MyFirrtlTransform (did you misspell it?)
[info] Try --help for more information.
[info] ------------------------------------------------------------------------------

I thought this was due to the fact that in this branch (in build.sbt), the tapeout project no longer depends on the chipyard project (which in turn depends on our custom project). So I added a dependsOn(...) clause to the tapeout project, but that didn't work either. Any ideas on this? I can also file an issue to discuss this issue outside of this PR if you don't want this discussion to get too busy.

@abejgonzalez
Copy link
Contributor

I was just experimenting with this branch, and had one small comment: Due to the file-path changes in barstools, the SOURCE_DIRS variable in common.mk should probably change from this:

SOURCE_DIRS = $(addprefix $(base_dir)/,generators sims/firesim/sim tools/barstools/iocell fpga/fpga-shells fpga/src)

to this:

SOURCE_DIRS = $(addprefix $(base_dir)/,generators sims/firesim/sim tools/barstools fpga/fpga-shells fpga/src)

(tools/barstools/iocell -> tools/barstools).

Good catch. I'll update this PR.

Also, in the current Chipyard dev branch, I've got a custom Chisel project added in (following these directions), and I've got a few custom FIRRTL transforms defined in there. I'm able to run those transforms using syntax like this:

make CONFIG=... EXTRA_FIRRTL_OPTIONS="--custom-transforms custom.project.name.MyFirrtlTransform"

On this branch, I get this error at the GenerateTopAndHarness step:

[info] ------------------------------------------------------------------------------
[info] Error: Option --custom-transforms failed when given 'custom.project.name.MyFirrtlTransform'. Unable to locate custom transform custom.project.name.MyFirrtlTransform (did you misspell it?)
[info] Try --help for more information.
[info] ------------------------------------------------------------------------------

I thought this was due to the fact that in this branch (in build.sbt), the tapeout project no longer depends on the chipyard project (which in turn depends on our custom project). So I added a dependsOn(...) clause to the tapeout project, but that didn't work either. Any ideas on this? I can also file an issue to discuss this issue outside of this PR if you don't want this discussion to get too busy.

Hmmm. I don't know about this issue. However, this seems separate from this PR? Maybe open an issue on the FIRRTL repo and see what the recommended way to run custom transforms is?

@tymcauley
Copy link
Contributor

I thought this was due to the fact that in this branch (in build.sbt), the tapeout project no longer depends on the chipyard project (which in turn depends on our custom project). So I added a dependsOn(...) clause to the tapeout project, but that didn't work either. Any ideas on this? I can also file an issue to discuss this issue outside of this PR if you don't want this discussion to get too busy.

Hmmm. I don't know about this issue. However, this seems separate from this PR? Maybe open an issue on the FIRRTL repo and see what the recommended way to run custom transforms is?

I figured that this issue might have more to do with how Chipyard sets up sbt project dependencies, but I could be wrong. In any case, I filed #1103 so we can move the discussion there. There are some minimal examples for reproducing the issue.

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.

LGTM

@abejgonzalez abejgonzalez merged commit 0fe908b into dev Feb 11, 2022
@abejgonzalez abejgonzalez deleted the chisel-3.5-published branch April 15, 2022 23:12
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.

6 participants