summaryrefslogtreecommitdiff
path: root/src/main/scala/chisel/compatibility
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/chisel/compatibility')
-rw-r--r--src/main/scala/chisel/compatibility/FileSystemUtilities.scala12
-rw-r--r--src/main/scala/chisel/compatibility/Main.scala19
-rw-r--r--src/main/scala/chisel/compatibility/debug.scala8
-rw-r--r--src/main/scala/chisel/compatibility/throwException.scala14
4 files changed, 0 insertions, 53 deletions
diff --git a/src/main/scala/chisel/compatibility/FileSystemUtilities.scala b/src/main/scala/chisel/compatibility/FileSystemUtilities.scala
deleted file mode 100644
index d12e627d..00000000
--- a/src/main/scala/chisel/compatibility/FileSystemUtilities.scala
+++ /dev/null
@@ -1,12 +0,0 @@
-// See LICENSE for license details.
-
-package chisel.compatibility
-
-import chisel._
-
-@deprecated("FileSystemUtilities doesn't exist in chisel3", "3.0.0")
-trait FileSystemUtilities {
- def createOutputFile(name: String): java.io.FileWriter = {
- new java.io.FileWriter(Driver.targetDir + "/" + name)
- }
-}
diff --git a/src/main/scala/chisel/compatibility/Main.scala b/src/main/scala/chisel/compatibility/Main.scala
deleted file mode 100644
index 9072bfcf..00000000
--- a/src/main/scala/chisel/compatibility/Main.scala
+++ /dev/null
@@ -1,19 +0,0 @@
-// See LICENSE for license details.
-
-package chisel.compatibility
-
-import java.io.File
-
-import chisel._
-
-@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))
- }
-}
diff --git a/src/main/scala/chisel/compatibility/debug.scala b/src/main/scala/chisel/compatibility/debug.scala
deleted file mode 100644
index 8850c76b..00000000
--- a/src/main/scala/chisel/compatibility/debug.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-package chisel.compatibility
-
-import chisel.core._
-
-@deprecated("debug doesn't do anything in Chisel3 as no pruning happens in the frontend", "chisel3")
-object debug { // scalastyle:ignore object.name
- def apply (arg: Data): Data = arg
-}
diff --git a/src/main/scala/chisel/compatibility/throwException.scala b/src/main/scala/chisel/compatibility/throwException.scala
deleted file mode 100644
index 3b9fd06e..00000000
--- a/src/main/scala/chisel/compatibility/throwException.scala
+++ /dev/null
@@ -1,14 +0,0 @@
-// See LICENSE for license details.
-
-package chisel.compatibility
-
-import chisel._
-
-@deprecated("throwException doesn't exist in Chisel3", "3.0.0")
-@throws(classOf[Exception])
-object throwException {
- def apply(s: String, t: Throwable = null) = {
- val xcpt = new Exception(s, t)
- throw xcpt
- }
-}