From 5bc6b17eec89935e8f75e0160d5da78b222aea7f Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 16 Jul 2015 16:27:57 -0700 Subject: Add wrapper so BlackBoxes compile But they aren't actually implemented yet. --- src/main/scala/Core.scala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/main/scala/Core.scala b/src/main/scala/Core.scala index a5caa9aa..8dd60bb8 100644 --- a/src/main/scala/Core.scala +++ b/src/main/scala/Core.scala @@ -1137,6 +1137,11 @@ abstract class Module(private[Chisel] _reset: Bool = null) extends Id { } } +// TODO: actually implement BlackBox (this hack just allows them to compile) +abstract class BlackBox(private[Chisel] _reset: Bool = null) extends Module(_reset) { + def setVerilogParameters(s: String): Unit = {} +} + object when { def execBlock(block: => Unit): Command = { pushScope -- cgit v1.2.3