diff options
| author | ducky | 2016-06-01 13:00:40 -0700 |
|---|---|---|
| committer | ducky | 2016-06-08 16:22:28 -0700 |
| commit | 68447044e8eba5c8f525639130f1a347677ff543 (patch) | |
| tree | fab4d62dba2ffb78e673ee54939d9088739a79f1 /src/main | |
| parent | 69c984607e87cb62c82c99056b2664f11b968267 (diff) | |
Move deprecated debug into compatibility
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/scala/chisel/compatibility.scala | 4 | ||||
| -rw-r--r-- | src/main/scala/chisel/compatibility/debug.scala | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/main/scala/chisel/compatibility.scala b/src/main/scala/chisel/compatibility.scala index 54cf033d..56088562 100644 --- a/src/main/scala/chisel/compatibility.scala +++ b/src/main/scala/chisel/compatibility.scala @@ -8,7 +8,7 @@ package object Chisel { val INPUT = chisel.core.INPUT val OUTPUT = chisel.core.OUTPUT val NO_DIR = chisel.core.NO_DIR - val debug = chisel.core.debug + type Flipped = chisel.core.Flipped type Data = chisel.core.Data val Wire = chisel.core.Wire @@ -60,7 +60,7 @@ package object Chisel { val ImplicitConversions = chisel.util.ImplicitConversions val chiselMain = chisel.compatibility.chiselMain val throwException = chisel.compatibility.throwException - + val debug = chisel.compatibility.debug object testers { type BasicTester = chisel.testers.BasicTester diff --git a/src/main/scala/chisel/compatibility/debug.scala b/src/main/scala/chisel/compatibility/debug.scala new file mode 100644 index 00000000..8850c76b --- /dev/null +++ b/src/main/scala/chisel/compatibility/debug.scala @@ -0,0 +1,8 @@ +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 +} |
