File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
src/main/scala/chisel3/util Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ import chisel3.internal.chiselRuntimeDeprecated
10
10
11
11
/** Compute the log2 rounded up with min value of 1 */
12
12
object log2Up {
13
- @ chiselRuntimeDeprecated
14
- @ deprecated(" Use log2Ceil instead" , " chisel3" )
13
+ // Do not deprecate until zero-width wires fully work:
14
+ // https://github.com/freechipsproject/chisel3/issues/847
15
+ // @chiselRuntimeDeprecated
16
+ // @deprecated("Use log2Ceil instead", "chisel3")
15
17
def apply (in : BigInt ): Int = Chisel .log2Up(in)
16
18
}
17
19
@@ -26,8 +28,10 @@ object log2Ceil {
26
28
27
29
/** Compute the log2 rounded down with min value of 1 */
28
30
object log2Down {
29
- @ chiselRuntimeDeprecated
30
- @ deprecated(" Use log2Floor instead" , " chisel3" )
31
+ // Do not deprecate until zero-width wires fully work:
32
+ // https://github.com/freechipsproject/chisel3/issues/847
33
+ // @chiselRuntimeDeprecated
34
+ // @deprecated("Use log2Floor instead", "chisel3")
31
35
def apply (in : BigInt ): Int = Chisel .log2Down(in)
32
36
}
33
37
You can’t perform that action at this time.
0 commit comments