diff options
| author | Jiuyang Liu | 2021-02-04 00:36:12 +0000 |
|---|---|---|
| committer | GitHub | 2021-02-03 16:36:12 -0800 |
| commit | f45216effc573d33d4aa4e525cff955ab332efbd (patch) | |
| tree | ea4f52f98e4bf3746ee0b8b6df10f37c13941825 /src/main/scala/chisel3/util/Conditional.scala | |
| parent | 98ce9194e5d87fdd5be931b6cd516d180a6540cd (diff) | |
Remove Deprecated APIs (#1730)
Diffstat (limited to 'src/main/scala/chisel3/util/Conditional.scala')
| -rw-r--r-- | src/main/scala/chisel3/util/Conditional.scala | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/scala/chisel3/util/Conditional.scala b/src/main/scala/chisel3/util/Conditional.scala index b934f27f..1ac94bfe 100644 --- a/src/main/scala/chisel3/util/Conditional.scala +++ b/src/main/scala/chisel3/util/Conditional.scala @@ -12,15 +12,6 @@ import scala.reflect.macros.blackbox._ import chisel3._ import chisel3.internal.sourceinfo.SourceInfo -@deprecated("The unless conditional is deprecated, use when(!condition){...} instead", "3.2") -object unless { - /** Does the same thing as [[when$ when]], but with the condition inverted. - */ - def apply(c: Bool)(block: => Any) { - when (!c) { block } - } -} - /** Implementation details for [[switch]]. See [[switch]] and [[chisel3.util.is is]] for the * user-facing API. * @note DO NOT USE. This API is subject to change without warning. |
