Get rid of unused implicit conversion
This commit is contained in:
parent
9949347569
commit
13386af1d1
@ -21,7 +21,6 @@ object Util {
|
|||||||
else Cat(Fill(n - x.getWidth, x(x.getWidth-1)), x)
|
else Cat(Fill(n - x.getWidth, x(x.getWidth-1)), x)
|
||||||
}
|
}
|
||||||
|
|
||||||
implicit def intToUnsigned(x: Int): Unsigned = new Unsigned(x)
|
|
||||||
implicit def booleanToIntConv(x: Boolean) = new AnyRef {
|
implicit def booleanToIntConv(x: Boolean) = new AnyRef {
|
||||||
def toInt: Int = if (x) 1 else 0
|
def toInt: Int = if (x) 1 else 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user