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 tmoreau89 committed Aug 8, 2019
1 parent b18c28d commit 4241739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 4241739

Please sign in to comment.