diff options
| author | Henry Cook | 2015-08-14 14:28:56 -0700 |
|---|---|---|
| committer | Henry Cook | 2015-08-14 14:28:56 -0700 |
| commit | 3dade9a48f059e3eecc7048bcd1cd1db48cdb56a (patch) | |
| tree | 447f263f04de6ac3eac6e943ab57febf94e54f62 /src/main/scala | |
| parent | 0e1297437944956b3dd443436258f4c682190ca4 (diff) | |
more tests
Diffstat (limited to 'src/main/scala')
| -rw-r--r-- | src/main/scala/Chisel/testers/Driver.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/scala/Chisel/testers/Driver.scala b/src/main/scala/Chisel/testers/Driver.scala index a46c493c..72c6478a 100644 --- a/src/main/scala/Chisel/testers/Driver.scala +++ b/src/main/scala/Chisel/testers/Driver.scala @@ -32,10 +32,18 @@ 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)) + } } |
