Fix Double Elaboration Backportably (bp #1426) (#1431)
* Test that Elaborate only runs once Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit bfb5b354 ) * Expose ChiselStage's PhaseManager, rm extra wraps Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 23db44a4 ) * Fix double elaboration Remove the requirement that FirrtlStage runs elaboration (this should be implicit) and remove the unneeded invalidation of elaboration by the Emitter. Due to Convert currently NOT invalidating Elaborate (when it should), add an optionalPrerequisiteOf to ensure that the Emitter runs before the Convert phase. Co-authored-by:
David Biancolin <david.biancolin@gmail.com> Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> (cherry picked from commit 5e2ca44a ) Co-authored-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com>
parent
5972b370
Please register or sign in to comment