summaryrefslogtreecommitdiff
path: root/src/main/scala/chisel/compatibility/FileSystemUtilities.scala
diff options
context:
space:
mode:
authorducky2016-06-01 12:17:25 -0700
committerducky2016-06-08 16:22:27 -0700
commit66301b9042530a5265c18c97a0dab9022a0efc50 (patch)
treed841f99a375ca7b96297c9d7737e519fd83bf517 /src/main/scala/chisel/compatibility/FileSystemUtilities.scala
parent881ac3cb3a9da0c7827a161238468df4727996f0 (diff)
Move chisel/... to chisel/core/..., make chisel/compatibility package/folder, move more things into utils
Diffstat (limited to 'src/main/scala/chisel/compatibility/FileSystemUtilities.scala')
-rw-r--r--src/main/scala/chisel/compatibility/FileSystemUtilities.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/scala/chisel/compatibility/FileSystemUtilities.scala b/src/main/scala/chisel/compatibility/FileSystemUtilities.scala
new file mode 100644
index 00000000..d12e627d
--- /dev/null
+++ b/src/main/scala/chisel/compatibility/FileSystemUtilities.scala
@@ -0,0 +1,12 @@
+// 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)
+ }
+}