diff options
| author | Henry Cook | 2015-11-04 09:21:07 -0800 |
|---|---|---|
| committer | Henry Cook | 2015-11-04 09:21:07 -0800 |
| commit | a3c9680d1e2b84693759747a4779341ba80c4a50 (patch) | |
| tree | e97ab1d8394b0463ec7f600fce7ba278bd68d93a /src/main/scala/Chisel/testers/Driver.scala | |
| parent | 23d15d166d2ed32f8bd9a153a806c09982659011 (diff) | |
Remove Parameters library and refactor Driver.
In addition to removing all the extraneous Driver invocations that created various top-level Parameters instances,
this commit also lays the groundwork for stanza-firrtl/verilator based testing of Modules that extend BasicTester.
The execution-based tests have been updated accordingly. They will only succeed if firrtl and verilator binaries have been installed.
Further work is needed on individual tests to use assertions instead of .io.error.
Diffstat (limited to 'src/main/scala/Chisel/testers/Driver.scala')
| -rw-r--r-- | src/main/scala/Chisel/testers/Driver.scala | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/main/scala/Chisel/testers/Driver.scala b/src/main/scala/Chisel/testers/Driver.scala deleted file mode 100644 index 860ef69c..00000000 --- a/src/main/scala/Chisel/testers/Driver.scala +++ /dev/null @@ -1,21 +0,0 @@ -// 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)) - } -} |
