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 Yangjun Li via Apache TVM Discuss <no...@discuss.tvm.ai> on 2020/11/22 16:32:44 UTC

[Apache TVM Discuss] [Questions] [VTA] Generate a new bitstream for other targets and clk-frequency


Hi all,

Recently, I'm helping my mentor research open source DL accelerators, and our short-term goal is to implement these accelerators on our own FPGA platform. Vta attracted me so much for its complete software tool chain and customizable architecture. I'm very glade to join you, it's realy a special attempt for me.

I have successful run resnet-18 in my PYNQ-v2 by following [VTA Installation Guide](https://tvm.apache.org/docs/vta/install.html) and vta tutorials. Now I'm working on generate an optimal bitstream for other FPGA with more resources. Some problems are bothering me:

1.Where can I find the configuration information:"**HW_FREQ**" and "**HW_CLK_TARGET**" that mentioned in "VTA Intallation Guide---HLS-based Custom VTA Bitstream Compilation for Pynq". I tried to search the key-words in the whole "TVM" project but find nothing. Then I find object **self.fpga_freq** and **self.fpga_per in** in `pkg_config.py` file, but it seems noting changed between new bitstream generated with "142MHz" and "6ns" and old bitstream.

2.I notice vta architecture have some "knobs" which provide users to adjust VTA  in **GEMM hardware intrinsic shape**, **numbers of parallel arithmetic units in the tensor ALU**, **BRAM distribution bwteen on-chip memories**… Are these "knobs" those listed in the `vta_config.json` file? What is their correspondence? If not, where can I config them?

I'll be very appreciate if someone being able to get me through these problem.
Thanks a lot.





---
[Visit Topic](https://discuss.tvm.apache.org/t/vta-generate-a-new-bitstream-for-other-targets-and-clk-frequency/8500/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/6813218619818b2f424665b771191d85cfbd575bff2a4c927092f19b353b91ab).

[Apache TVM Discuss] [Questions] [VTA] Generate a new bitstream for other targets and clk-frequency

Posted by sachacon via Apache TVM Discuss <no...@discuss.tvm.ai>.

I believe those parameters have been changed. 
https://github.com/facebookexperimental/tvm/commit/f55609b4a19ed7166d9b4dbbee4acd48af3697ac#diff-671adc633fba88046d0863b931de9c75e57627706387f1cf98a207616ee62e27

Unfortunately the tutorial hasn't been updated to reflect this as of now.





---
[Visit Topic](https://discuss.tvm.apache.org/t/vta-generate-a-new-bitstream-for-other-targets-and-clk-frequency/8500/5) 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/b2bdff7d404287ca4586eb58062479c8727036b68d16939046d69657acaba79e).

[Apache TVM Discuss] [Questions] [VTA] Generate a new bitstream for other targets and clk-frequency

Posted by Yangjun Li via Apache TVM Discuss <no...@discuss.tvm.ai>.

Thank you!

I have found these parameters. It may takes me some time to understand the corresponding physical meaning and setting rules.

But I still can’t find the two configuration information mentioned in the first question.Have you ever modified them?





---
[Visit Topic](https://discuss.tvm.apache.org/t/vta-generate-a-new-bitstream-for-other-targets-and-clk-frequency/8500/4) 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/4d5aaae239135951c20c7521e98627d52927a04e81c5663f294fd476865dfbf4).

[Apache TVM Discuss] [Questions] [VTA] Generate a new bitstream for other targets and clk-frequency

Posted by Kazuei HIRONAKA via Apache TVM Discuss <no...@discuss.tvm.ai>.

I recommend to you read **tvm/3rdparty/vta-hw/include/vta/hw_spec.h** might be help you.. almost all parameters in there.





---
[Visit Topic](https://discuss.tvm.apache.org/t/vta-generate-a-new-bitstream-for-other-targets-and-clk-frequency/8500/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/7a1f6fd24251e4a9a3e55ba7cdf25fb5d1f1ad3c4abc58db65b5c878aa283772).