diff options
| author | Schuyler Eldridge | 2019-01-14 21:01:29 -0500 |
|---|---|---|
| committer | Schuyler Eldridge | 2019-05-22 16:19:13 -0400 |
| commit | 23641521174ba828feb32dc1c65c13a3d6b46970 (patch) | |
| tree | 22fe46c8f675ca3739f893890efc2479f367d9a1 /chiselFrontend/src/main | |
| parent | 07ea0bac73d2ee5c9d09e9f3c07275340f0e75bb (diff) | |
Make Driver a ChiselStage compatibility layer
This converts the original chisel3.Driver to use
chisel3.stage.ChiselStage. This is implemented in the following way:
1. ExecutionOptions are converted to an AnnotationSeq
2. The AnnotationSeq is preprocessed using phases contained in the
Chisel DriverCompatibility objects. One of these *disables* the
execution of FirrtlStage by ChiselStage.
3. ChiselStage runs on the preprocessed AnnotationSeq
4. The input ExecutionOptionsManager is mutated based on the output
of ChiselStage.
5. The FIRRTL stage is re-enabled if it's supposed to run and
selected FIRRTL DriverCompatibility phases run.
6. FirrtlStage runs
7. The output AnnotationSeq is "viewed" as a ChiselExecutionResult
This modifies the original DriverSpec to make it more verbose with the
addition of info statements. The functionality of the DriverSpec is
unmodified.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'chiselFrontend/src/main')
0 files changed, 0 insertions, 0 deletions
