1
0

Get rid of unused implicit conversion

This commit is contained in:
Andrew Waterman 2016-06-01 19:30:41 -07:00
parent 9949347569
commit 13386af1d1

View File

@ -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
} }