Commit d76612d8 by Benjamin Tu Committed by Thierry Moreau

[VTA] [Chisel] Bug fix for VME Shell (#3737)

* fix

* fixes
parent 3ac27fc7
......@@ -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
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment