blob: 7f715ad479bb55fe6f76d06d1164edec89208f1f (
plain)
1
2
3
4
5
6
7
8
9
10
|
// See LICENSE for license details.
package chisel3.util
import chisel3._
object ImplicitConversions {
implicit def intToUInt(x: Int): UInt = chisel3.core.fromIntToLiteral(x).asUInt
implicit def booleanToBool(x: Boolean): Bool = x.asBool
}
|