You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by YuZeng via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/12/23 20:10:32 UTC
[Apache TVM Discuss] [Questions] DEPT FLAGs and dependency queue
Hi,
I am trying understand the hardware design of VTA, can anyone help me with the two questions?
1. I saw in the encodings of all instructions, there is a 4-bit field called "DEPT FLAG". I guess it is used to represent the dependency relationship between load/store and compute instructions. But there is no information for how to use the 4-bit FLAG. What be assigned to the FLAG if there are dependency between a LOAD and the following compute instruction?
2. I know there are dependency queues the modules to synchronize load/store and compute operations. What is the corresponding chisel code for the dependency queue in the source code? I did not find them. Thanks!
---
[Visit Topic](https://discuss.tvm.apache.org/t/dept-flags-and-dependency-queue/11768/1) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/6845af54e4ce2f29eb43c5324dd5c95271cee0fd604f5bb9bbeb156cbb2bbc26).
[Apache TVM Discuss] [Questions] Question about the DEPT FLAGs in instruction encoding
Posted by YuZeng via Apache TVM Discuss <no...@discuss.tvm.ai>.
I have figured out myself, and I guess this information might be useful for others:
From the generated RTL from chisel, the 4-bit DEPT FLAG actually corresponds to:
bit3~bit0: push_next, push_prev, pop_next, pop_prev.
So from the instruction encoding we can explicitly specify the dependency between instructions.
---
[Visit Topic](https://discuss.tvm.apache.org/t/question-about-the-dept-flags-in-instruction-encoding/11768/2) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/33fb760f9bdbcb17f567615409ae852145405b93d1353e0b0df22239fc6fa364).