Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Clean up the assembly process #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Clean up the assembly process #115

wants to merge 1 commit into from

Conversation

chick
Copy link
Contributor

@chick chick commented Sep 27, 2021

Assembly of a jar using main from MacroCompiler is fixed.

I don't see anywhere where this is used. So I'm not sure what may be affected by the placement
of the generated jar in ./utils/bin.

  • Bump version so it's in step with Chisel3 3.5
  • Avoid error on duplicate classes
  • put jar in utils/bin, the same way that firrtl does assembly
  • add calling script ./utils/bin/macro_compiler.sh

- Bump version so it's in step with Chisel3 3.5
- Avoid error on duplicate classes
- put jar in utils/bin, the same way that firrtl does assembly
- add calling script ./utils/bin/macro_compiler.sh
@chick chick added the bug label Sep 27, 2021
@chick chick added this to the 0.5.x milestone Sep 27, 2021
@chick chick self-assigned this Sep 27, 2021
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.

Has this been bumped and tested w/ Chipyard?

@abejgonzalez
Copy link
Contributor

Is there supposed to be a script added (according to the PR description)?

@abejgonzalez
Copy link
Contributor

I don't think CY currently uses this JAR, so is the point to make it this easier to use when we move to a published version of this repo?

@chick
Copy link
Contributor Author

chick commented Sep 28, 2021

I haven't bumped and tested in chipyard. I'll give that a try, but barstools master is now on chisel 3.5-snapshot, I think that might be a problem

@chick
Copy link
Contributor Author

chick commented Sep 28, 2021

Not sure about the script added. I was just flushing the assembly out a bit with the firrtl convention for providing a script to run the assembled jar. I don't think CY uses this at all. The assembly process looks like @edwardcwang added it. I think assembly jars are nice because they spin up way faster than sbt, so ultimately it would be good to get chipyard to use them where feasible.

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

Successfully merging this pull request may close these issues.

2 participants