log2Down
chisel3.util.log2Down
object log2Down
Compute the log2 of a Scala integer, rounded down, with min value of 1.
Attributes
- Example
-
log2Down(1) // returns 1 log2Down(2) // returns 1 log2Down(3) // returns 1 log2Down(4) // returns 2 - Source
- Math.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
log2Down.type
Members list
In this article