diff options
| author | mergify[bot] | 2022-07-21 14:16:11 -0700 |
|---|---|---|
| committer | GitHub | 2022-07-21 14:16:11 -0700 |
| commit | f46d02f55bd22ffda32b20e8cc4b40aa96b03ee0 (patch) | |
| tree | 9288c96e7030cee10bbc97b5476b4f83bfdfc4d8 /macros/src/main/scala/chisel3 | |
| parent | 80035d2a7b94faf9bfef962f83f9257f57419a35 (diff) | |
Deprecate chiselName and NoChiselNamePrefix trait (#2627) (#2633)
Also remove all non-testing uses of chiselName.
(cherry picked from commit 1c5d1b5317a0c9fe7ef9d15138065a817380a1e4)
Co-authored-by: Jared Barocsi <82000041+jared-barocsi@users.noreply.github.com>
Diffstat (limited to 'macros/src/main/scala/chisel3')
| -rw-r--r-- | macros/src/main/scala/chisel3/internal/naming/NamingAnnotations.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macros/src/main/scala/chisel3/internal/naming/NamingAnnotations.scala b/macros/src/main/scala/chisel3/internal/naming/NamingAnnotations.scala index b12826fc..01c3d4c1 100644 --- a/macros/src/main/scala/chisel3/internal/naming/NamingAnnotations.scala +++ b/macros/src/main/scala/chisel3/internal/naming/NamingAnnotations.scala @@ -207,6 +207,10 @@ class treedump extends StaticAnnotation { def macroTransform(annottees: Any*): Any = macro chisel3.internal.naming.DebugTransforms.treedump } @compileTimeOnly("enable macro paradise to expand macro annotations") +@deprecated( + "Use chisel3.experimental.AffectsChiselPrefix instead. @chiselName will be removed in Chisel 3.6", + "Chisel 3.5" +) class chiselName extends StaticAnnotation { def macroTransform(annottees: Any*): Any = macro chisel3.internal.naming.NamingTransforms.chiselName } |
