Commit 1fec1197 authored by Schuyler Eldridge's avatar Schuyler Eldridge
Browse files

Add a DependencyAPI to firrtl.options.Phase



This adds a DependencyAPI trait for Phase. This defines three member
functions that form the basis of defining dependencies between Phases:
prerequisites, dependents, and invalidates. Prerequisites define a set
of Phases that must run *before* some Phase. Dependents other Phases
which depend on this Phase (a way of "injecting" a prerequisite into
another Phase). Invalidates defines a function that can be called to
filter some collection of Phases to remove them from a Set (invalidate
that they ran).

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>
parent 7a2471a5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment