Purge UInt := SInt assignments
This commit is contained in:
1 parent
6d7cc37e87
commit
6c0e1e33ab
6 files changed
+14
-14
No files matched your search
@@ -228,7 +228,7 @@ class FPToInt extends Module
|
||||
io.out.bits.exc := dcmp_exc
|
||||
}
|
||||
when (in.cmd === FCMD_CVT_IF) {
|
||||
io.out.bits.toint := Mux(in.typ(1), d2i._1, d2i._1(31,0).toSInt)
|
||||
io.out.bits.toint := Mux(in.typ(1), d2i._1, d2i._1(31,0).toSInt).toUInt
|
||||
io.out.bits.exc := d2i._2
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user