-
Notifications
You must be signed in to change notification settings - Fork 597
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
Coordinate Top and Harness generation #168
Conversation
9c49b3a
to
30729cf
Compare
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.
LGTM. Tested. We need to get barstools
bumped. I also think we should at least another approval on the barstools
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.
I'm not sure I'm convinced that the harness blackboxes are handled correctly here, so I think we need to try this out on a design with a harness blackbox before merging. TOP_TARGETS
and HARNESS_TARGETS
are a nice touch.
Also ran this with the systolic project that initially caused the issue and this seemed to work. |
Adding the "DO NOT MERGE" until the harness/top |
If I remember correctly... bumping FIRRTL cause a bunch of BOOM "firrtlation" issues where we would run out of memory. I don't know if this is a similar issue to the memoization problem that BOOM encountered in the past. |
Do you mean the firrtl issue I worked around here: ucb-bar/hwacha@ff4605f |
Yup. That looks about right. To be honest, I wasn't familiar with the issue since Albert/David solved the issue before the BOOM team saw it. |
So this seems like just a "bump FIRRTL to head of master" issue. I can reproduce the OOM issues locally, but if I cherry-pick the FIRRTL commit that adds my I need to bisect this. |
Can we merge |
942f695
to
1222d53
Compare
This LGTM. I would prefer that the |
So the barstools PR is merged and this is passing all CI checks now. |
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.
LGTM
This avoids name conflicts between the design top and the test harness by coordinating the two FIRRTL compiler runs into one invocation of the main generator app. It also makes Verilog simulator generation somewhat faster.
Coordinated with ucb-bar/barstools#63