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 /src/main/scala/chisel3/util/CircuitMath.scala | |
| 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 'src/main/scala/chisel3/util/CircuitMath.scala')
| -rw-r--r-- | src/main/scala/chisel3/util/CircuitMath.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/scala/chisel3/util/CircuitMath.scala b/src/main/scala/chisel3/util/CircuitMath.scala index df60f059..9e4890a9 100644 --- a/src/main/scala/chisel3/util/CircuitMath.scala +++ b/src/main/scala/chisel3/util/CircuitMath.scala @@ -6,7 +6,6 @@ package chisel3.util import chisel3._ -import chisel3.internal.naming.chiselName // can't use chisel3_ version because of compile order /** Returns the base-2 integer logarithm of an UInt. * @@ -22,7 +21,6 @@ object Log2 { /** Returns the base-2 integer logarithm of the least-significant `width` bits of an UInt. */ - @chiselName def apply(x: Bits, width: Int): UInt = { if (width < 2) { 0.U |
