Skip to content

Commit

Permalink
Decode vector insns as illegal when vill
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed May 14, 2024
1 parent 0b556a1 commit 4bd4675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/rocket/RocketCore.scala
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ class Rocket(tile: RocketTile)(implicit p: Parameters) extends CoreModule()(p)
val v_decode = rocketParams.vector.get.decoder(p)
v_decode.io.inst := id_inst(0)
v_decode.io.vconfig := csr.io.vector.get.vconfig
when (v_decode.io.legal) {
when (v_decode.io.legal && !csr.io.vector.get.vconfig.vtype.vill) {
id_ctrl.legal := true.B
id_ctrl.fp := v_decode.io.fp
id_ctrl.rocc := false.B
Expand Down

0 comments on commit 4bd4675

Please sign in to comment.