diff options
| author | Schuyler Eldridge | 2019-02-12 20:59:56 -0500 |
|---|---|---|
| committer | Schuyler Eldridge | 2019-07-03 19:59:51 -0400 |
| commit | 2585bf986347e264f4c06c38dbcc83aaa554ec4f (patch) | |
| tree | 772bc97b4f8e26cd200cb45b61f05f318ba3527e /src/test | |
| parent | a514408c77c137de4a825ae243ac39ecabd9e3a3 (diff) | |
Add a DependencyAPI to firrtl.options.Phase
This adds a TransformLike mixin, DependencyAPI, that defines the basis
of the Dependency API for Stage/Phase. DependencyAPI defines three
members that define dependency relationships for some TransformLike
"Foo":
- "Prerequisites" define TransformLikes that should run before Foo
- "Dependents" define TransformLikes that should run after Foo. This
allows Foo to inject prerequisites into some other TransformLike.
- "Invalidates" define a function that will return true if a specific
TransformLike would be invalidated by Foo
Prerequisites and Dependents are not Sets due to lack of a fast,
immutable Set that preserves insertion order. Internally, these are
converted to a private LinkedHashSet.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions
