summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Waterman2015-07-16 16:51:15 -0700
committerAndrew Waterman2015-07-16 16:57:56 -0700
commitbf47a60bc654b9ef04d9f26bca3d22d9dfcf7771 (patch)
treebe776db16ce7d6d928204425f32ae03b66fcdc51 /src
parentf071419cbc9bdaca5ca09a032830c47ca90357e3 (diff)
Add dummy implementation of assert()
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/Core.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/scala/Core.scala b/src/main/scala/Core.scala
index 8dd60bb8..d94e08b5 100644
--- a/src/main/scala/Core.scala
+++ b/src/main/scala/Core.scala
@@ -1135,6 +1135,9 @@ abstract class Module(private[Chisel] _reset: Bool = null) extends Id {
}
}
}
+
+ // TODO: actually implement assert
+ def assert(cond: Bool, msg: String): Unit = {}
}
// TODO: actually implement BlackBox (this hack just allows them to compile)