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

Remove Deprecated Driver #1475

Closed
wants to merge 5 commits into from
Closed

Remove Deprecated Driver #1475

wants to merge 5 commits into from

Conversation

seldridge
Copy link
Member

@seldridge seldridge commented Jun 15, 2020

Remove chisel3.Driver and organize tests for FIRRTL 1.4 / Chisel 3.4.

  • ChiselStage methods are used instead of those in the BackendCompilationUtilities trait, e.g., for elaboration
  • Any custom transforms in tests are converted to use the Dependency API
  • A new utility, extractCause[A <: Throwable : ClassTag], is added that rethrows a nested A if it exists
  • The extractCause utility is used to convert tests that expected an exception, but now get a StageError.
  • All usages of chisel3.Driver are removed
  • Compatibility phases for the Driver are removed
  • Some lingering Driver infrastructure (e.g., ChiselExecutionResult) is deprecated

Related issue:

Type of change: other enhancement

Impact: API modification

Development Phase: implementation

Release Notes

  • Remove deprecated chisel3.Driver

tl;dr:

It's simple... We, uh, kill the Dri-Ver

@seldridge seldridge changed the title Driver Deprecation Remove Deprecated Driver Jun 15, 2020
@seldridge seldridge force-pushed the driver-cleanup branch 4 times, most recently from 9d2fa0c to 9be84c9 Compare June 16, 2020 16:48
@seldridge seldridge marked this pull request as ready for review June 16, 2020 16:54
@seldridge seldridge requested a review from a team as a code owner June 16, 2020 16:54
@seldridge seldridge added this to the 3.4.0 milestone Jun 16, 2020
@seldridge seldridge force-pushed the driver-cleanup branch 2 times, most recently from 44f58dc to 901f68e Compare June 18, 2020 19:50
@seldridge seldridge marked this pull request as draft June 18, 2020 21:23
@seldridge
Copy link
Member Author

So, it's not so simple...

For this to be merged, both testers and testers2 need to migrate to Stage/Phase and likely go full a full deprecation cycle.

I'm converting this to a draft and factoring out the pieces that can merged independently of fully removing the driver.

Signed-off-by: Schuyler Eldridge <[email protected]>
Signed-off-by: Schuyler Eldridge <[email protected]>
Signed-off-by: Schuyler Eldridge <[email protected]>
Remove the private[chisel3] internals of the DriverCompatibility
object. Add a deprecation notice that DriverCompatibility will be
removed in Chisel 3.4.

Signed-off-by: Schuyler Eldridge <[email protected]>
Signed-off-by: Schuyler Eldridge <[email protected]>
@azidar azidar modified the milestones: 3.4.0, 3.5.0 Oct 27, 2020
@seldridge
Copy link
Member Author

Fixed via #1730. Amazing work @sequencer!

@seldridge seldridge closed this Feb 4, 2021
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.

2 participants