Skip to content

Commit

Permalink
[doc] fix bug of topuop
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-Wye committed Jun 25, 2024
1 parent fddef3c commit 38dc612
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions t1/src/decoder/Decoder.scala
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,14 @@ object Decoder {

object topUop extends T1UopField {
override def genTable(pattern: T1DecodePattern): BitPat = pattern.topUop.value match {
case _: TopT0.type => BitPat("b000")
case _: TopT1.type => BitPat("b001")
case _: TopT2.type => BitPat("b010")
case _: TopT3.type => BitPat("b011")
case _: TopT5.type => BitPat("b101")
case _: TopT6.type => BitPat("b110")
case _: TopT7.type => BitPat("b111")
case _ => BitPat.dontCare(3)
case _: TopT0.type => BitPat("b0000")
case _: TopT1.type => BitPat("b0001")
case _: TopT2.type => BitPat("b0010")
case _: TopT3.type => BitPat("b0011")
case _: TopT5.type => BitPat("b0101")
case _: TopT6.type => BitPat("b0110")
case _: TopT7.type => BitPat("b0111")
case _ => BitPat.dontCare(4)
}
}

Expand Down

0 comments on commit 38dc612

Please sign in to comment.