Fix nonexhaustive match causing funct3 to not be applied to imm shifts

This commit is contained in:
peteraa 2019-09-04 13:55:05 +02:00
parent de7d01f710
commit 6fa8d3537a
3 changed files with 21 additions and 23 deletions

View file

@ -119,7 +119,7 @@ object PrintUtils {
def printBinary(bin: Map[Addr, Int]): String = {
bin.toList.sortBy(_._1.value).map{ case(addr, op) => s"$addr: ${op.hs}" }.mkString("\n","\n","\n")
bin.toList.sortBy(_._1.value).map{ case(addr, op) => s"$addr: ${op.hs}\t--\t${op.binary}" }.mkString("\n","\n","\n")
}