summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/ChiselSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/ChiselSpec.scala')
-rw-r--r--src/test/scala/chiselTests/ChiselSpec.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/scala/chiselTests/ChiselSpec.scala b/src/test/scala/chiselTests/ChiselSpec.scala
index 3d98d0a2..ab9d4d62 100644
--- a/src/test/scala/chiselTests/ChiselSpec.scala
+++ b/src/test/scala/chiselTests/ChiselSpec.scala
@@ -33,10 +33,12 @@ package chiselTests
import org.scalatest._
import org.scalatest.prop._
import org.scalacheck._
+import Chisel._
import Chisel.testers._
class ChiselPropSpec extends PropSpec with PropertyChecks {
def execute(t: => BasicTester): Boolean = TesterDriver.execute(t)
+ def elaborate(t: => Module): Circuit = TesterDriver.elaborate(t)
def popCount(n: Long) = n.toBinaryString.count(_=='1')