Skip to content

Commit

Permalink
[VTA] [Chisel] Bug fix for VME Shell (apache#3737)
Browse files Browse the repository at this point in the history
* fix

* fixes
  • Loading branch information
BenjaminTu authored and wweic committed Sep 6, 2019
1 parent 0fa59e0 commit 2804d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vta/hardware/chisel/src/main/scala/shell/VME.scala
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class VME(implicit p: Parameters) extends Module {
}
}
is (sWriteData) {
when (io.mem.w.ready && wr_cnt === io.vme.wr(0).cmd.bits.len) {
when (io.vme.wr(0).data.valid && io.mem.w.ready && wr_cnt === io.vme.wr(0).cmd.bits.len) {
wstate := sWriteResp
}
}
Expand Down

0 comments on commit 2804d19

Please sign in to comment.