diff options
Diffstat (limited to 'src/main/scala/firrtl/LoweringCompilers.scala')
| -rw-r--r-- | src/main/scala/firrtl/LoweringCompilers.scala | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/scala/firrtl/LoweringCompilers.scala b/src/main/scala/firrtl/LoweringCompilers.scala index c2238c2d..b5808e93 100644 --- a/src/main/scala/firrtl/LoweringCompilers.scala +++ b/src/main/scala/firrtl/LoweringCompilers.scala @@ -2,7 +2,7 @@ package firrtl -sealed abstract class CoreTransform extends PassBasedTransform +sealed abstract class CoreTransform extends SeqTransform /** This transforms "CHIRRTL", the chisel3 IR, to "Firrtl". Note the resulting * circuit has only IR nodes, not WIR. @@ -11,7 +11,7 @@ sealed abstract class CoreTransform extends PassBasedTransform class ChirrtlToHighFirrtl extends CoreTransform { def inputForm = ChirrtlForm def outputForm = HighForm - def passSeq = Seq( + def transforms = Seq( passes.CheckChirrtl, passes.CInferTypes, passes.CInferMDir, @@ -24,7 +24,7 @@ class ChirrtlToHighFirrtl extends CoreTransform { class IRToWorkingIR extends CoreTransform { def inputForm = HighForm def outputForm = HighForm - def passSeq = Seq(passes.ToWorkingIR) + def transforms = Seq(passes.ToWorkingIR) } /** Resolves types, kinds, and genders, and checks the circuit legality. @@ -33,7 +33,7 @@ class IRToWorkingIR extends CoreTransform { class ResolveAndCheck extends CoreTransform { def inputForm = HighForm def outputForm = HighForm - def passSeq = Seq( + def transforms = Seq( passes.CheckHighForm, passes.ResolveKinds, passes.InferTypes, @@ -55,7 +55,7 @@ class ResolveAndCheck extends CoreTransform { class HighFirrtlToMiddleFirrtl extends CoreTransform { def inputForm = HighForm def outputForm = MidForm - def passSeq = Seq( + def transforms = Seq( passes.PullMuxes, passes.ReplaceAccesses, passes.ExpandConnects, @@ -80,7 +80,7 @@ class HighFirrtlToMiddleFirrtl extends CoreTransform { class MiddleFirrtlToLowFirrtl extends CoreTransform { def inputForm = MidForm def outputForm = LowForm - def passSeq = Seq( + def transforms = Seq( passes.LowerTypes, passes.ResolveKinds, passes.InferTypes, @@ -96,7 +96,7 @@ class MiddleFirrtlToLowFirrtl extends CoreTransform { class LowFirrtlOptimization extends CoreTransform { def inputForm = LowForm def outputForm = LowForm - def passSeq = Seq( + def transforms = Seq( passes.RemoveValidIf, passes.ConstProp, passes.PadWidths, |
