liangfu commented on a change in pull request #4986: [VTA][Chisel,de10nano] 
Chisel fixes and de10nano support
URL: https://github.com/apache/incubator-tvm/pull/4986#discussion_r388053279
 
 

 ##########
 File path: vta/hardware/chisel/src/main/scala/core/TensorLoad.scala
 ##########
 @@ -212,14 +212,16 @@ class TensorLoad(tensorType: String = "none", debug: 
Boolean = false)(
   when(state === sIdle) {
     waddr_cur := dec.sram_offset
     waddr_nxt := dec.sram_offset
-  }.elsewhen((io.vme_rd.data
-      .fire() || isZeroPad) && set === (tp.tensorLength - 1).U && tag === 
(tp.numMemBlock - 1).U) {
-      waddr_cur := waddr_cur + 1.U
-    }
-    .elsewhen(dataCtrl.io.stride) {
-      waddr_cur := waddr_nxt + dec.xsize
-      waddr_nxt := waddr_nxt + dec.xsize
-    }
+  }.elsewhen((io.vme_rd.data.fire() || isZeroPad) && 
+              set === (tp.tensorLength - 1).U && 
+              tag === (tp.numMemBlock - 1).U)
+  {
 
 Review comment:
   I think the linter might remind you to move the bracket to the previous line.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to