diff options
Diffstat (limited to 'src/main/scala/firrtl/passes/CInferMDir.scala')
| -rw-r--r-- | src/main/scala/firrtl/passes/CInferMDir.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/passes/CInferMDir.scala b/src/main/scala/firrtl/passes/CInferMDir.scala index f12d073d..b4819751 100644 --- a/src/main/scala/firrtl/passes/CInferMDir.scala +++ b/src/main/scala/firrtl/passes/CInferMDir.scala @@ -5,13 +5,15 @@ package firrtl.passes import firrtl._ import firrtl.ir._ import firrtl.Mappers._ -import firrtl.options.{Dependency, PreservesAll} +import firrtl.options.Dependency import Utils.throwInternalError -object CInferMDir extends Pass with PreservesAll[Transform] { +object CInferMDir extends Pass { override def prerequisites = firrtl.stage.Forms.ChirrtlForm :+ Dependency(CInferTypes) + override def invalidates(a: Transform) = false + type MPortDirMap = collection.mutable.LinkedHashMap[String, MPortDir] def infer_mdir_e(mports: MPortDirMap, dir: MPortDir)(e: Expression): Expression = e match { |
