summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/ChiselSpec.scala
diff options
context:
space:
mode:
authorHenry Cook2015-08-14 14:28:56 -0700
committerHenry Cook2015-08-14 14:28:56 -0700
commit3dade9a48f059e3eecc7048bcd1cd1db48cdb56a (patch)
tree447f263f04de6ac3eac6e943ab57febf94e54f62 /src/test/scala/chiselTests/ChiselSpec.scala
parent0e1297437944956b3dd443436258f4c682190ca4 (diff)
more tests
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')