13 lines
261 B
Scala
13 lines
261 B
Scala
|
// See LICENSE.SiFive for license details.
|
||
|
|
||
|
package freechips.rocketchip
|
||
|
|
||
|
import Chisel._
|
||
|
|
||
|
package object unittest
|
||
|
{
|
||
|
implicit class LazyUnitTestSeq(val seq: Seq[LazyUnitTest]) {
|
||
|
def finished = seq.map(_.module.finished).foldLeft(Bool(true))(_ && _)
|
||
|
}
|
||
|
}
|