blob: 860ef69c275a14fe21c7e15f31e76e8d22aae779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// See LICENSE for license details.
package Chisel.testers
import Chisel._
object TesterDriver {
/** For use with modules that should successfully be elaborated by the
* frontend, and which can be turned into executeables with error codes. */
def execute(t: => BasicTester): Boolean = {
val circuit = Builder.build(Module(t))
//val executable = invokeFIRRTL(circuit)
//Process(executable) !
true
}
/** For use with modules that should illicit errors from the frontend
* or which produce IR with consistantly checkable properties. */
def elaborate(t: => Module): Circuit = {
Builder.build(Module(t))
}
}
|