summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Waterman2015-07-28 19:15:25 -0700
committerAndrew Waterman2015-07-28 19:15:25 -0700
commitdc58bdb68b3c10eb690ce095ddd2ce3bf1e68ea6 (patch)
tree9f985536b2386a76b83cc0c68c8eb5c9888d693f /src
parent874d830788721f270643aead3c09b86d2c3c7e9d (diff)
Add printf stub
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/Chisel/Core.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/scala/Chisel/Core.scala b/src/main/scala/Chisel/Core.scala
index 10ebb45b..e18920b5 100644
--- a/src/main/scala/Chisel/Core.scala
+++ b/src/main/scala/Chisel/Core.scala
@@ -1064,8 +1064,9 @@ abstract class Module(private[Chisel] _reset: Bool = null) extends Id {
}
}
- // TODO: actually implement assert
+ // TODO: actually implement these
def assert(cond: Bool, msg: String): Unit = {}
+ def printf(message: String, args: Bits*): Unit = {}
}
// TODO: actually implement BlackBox (this hack just allows them to compile)