diff options
| author | ducky | 2016-11-17 11:33:20 -0800 |
|---|---|---|
| committer | ducky | 2016-11-21 13:31:12 -0800 |
| commit | cd904da0aa0e96ba679906a3ee5dbdc068eace48 (patch) | |
| tree | 120ab95b40a749a98b571ee862d950b443b652b5 /src/main/scala/chisel3/compatibility/Main.scala | |
| parent | b0cc0c93a80aec5bed54cfb11923636c09b7e180 (diff) | |
Restyle Bool constructors, move compatibility deprecations into compatibility package object
Diffstat (limited to 'src/main/scala/chisel3/compatibility/Main.scala')
| -rw-r--r-- | src/main/scala/chisel3/compatibility/Main.scala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/scala/chisel3/compatibility/Main.scala b/src/main/scala/chisel3/compatibility/Main.scala deleted file mode 100644 index a41599a3..00000000 --- a/src/main/scala/chisel3/compatibility/Main.scala +++ /dev/null @@ -1,19 +0,0 @@ -// See LICENSE for license details. - -package chisel3.compatibility - -import java.io.File - -import chisel3._ - -@deprecated("chiselMain doesn't exist in Chisel3", "3.0") object chiselMain { - def apply[T <: Module](args: Array[String], gen: () => T): Unit = - Predef.assert(false, "No more chiselMain in Chisel3") - - def run[T <: Module] (args: Array[String], gen: () => T): Unit = { - val circuit = Driver.elaborate(gen) - Driver.parseArgs(args) - val output_file = new File(Driver.targetDir + "/" + circuit.name + ".fir") - Driver.dumpFirrtl(circuit, Option(output_file)) - } -} |
