aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/passes/CheckChirrtl.scala
blob: 08c127daae46665ae4ec1939084bf73d658eb124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// See LICENSE for license details.

package firrtl.passes

import firrtl.Transform
import firrtl.ir._
import firrtl.options.{Dependency, PreservesAll}

object CheckChirrtl extends Pass with CheckHighFormLike with PreservesAll[Transform] {

  override val dependents = firrtl.stage.Forms.ChirrtlForm ++
    Seq( Dependency(CInferTypes),
         Dependency(CInferMDir),
         Dependency(RemoveCHIRRTL) )

  def errorOnChirrtl(info: Info, mname: String, s: Statement): Option[PassException] = None
}