Getting started with the VTA Chisel backend

Hey,

Well, it is been like two months, since I wrote this. All of this is already supported in mainstream TVM branch so no need for any of this. Those test are here

Luis, thanks for pointing it out.

We need to clean this topic up as it is now more confusing than helpful. The title is perfect and would be super helpful to onboard new developers, but the information exchange that follows is now a royal distraction.

Can we chuck this, and have an ‘official’ “Getting Started” thread that contains and maintains the correct workflow and responses?

Hi Reven,

I am new to VTA. I am trying to use tsim (verilator) to do some simulation. I installed verilator using its ubuntu distribution (apt install). I did not install systemC. I am using Ubuntu 18.04 Did you install verilator from source? Did you install system C It seems my verilator is not working correctly. Can you give me some suggestions? Thanks for your reply. Regards Lei It reports like below. %Error: /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/chisel/VTAMemDPI.v:55: syntax error, unexpected ‘]’, expecting TYPE-IDENTIFIER %Error: Internal Error: /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/chisel/VTAMemDPI.v:20: …/V3ParseSym.h:112: Symbols suggest ending TASK ‘VTAMemDPI’ but parser thinks ending MODULE ‘VTAMemDPI’ %Error: Command Failed /usr/bin/verilator_bin --cc +define+RANDOMIZE_GARBAGE_ASSIGN +define+RANDOMIZE_REG_INIT +define+RANDOMIZE_MEM_INIT --x-assign unique --output-split 20000 --output-split-cfuncs 20000 --top-module Test -Mdir /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/verilator -I/home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/chisel /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/chisel/Test.DefaultDe10Config.sv make: *** [Makefile:186: /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/verilator/VTest.cpp] Error 10

Hi Luis,

I am new to VTA. I am trying to use tsim (verilator) to do some simulation. I installed verilator using its ubuntu distribution (apt install). I did not install systemC. I am using Ubuntu 18.04. Should I install verilator from source? Did you install system C. It seems my verilator is not working correctly. Can you give me some suggestions? Thanks for your reply. Regards Lei

It reports like below.

%Error: /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/chisel/VTAMemDPI.v:55: syntax error, unexpected ‘]’, expecting TYPE-IDENTIFIER %Error: Internal Error: /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/chisel/VTAMemDPI.v:20: …/V3ParseSym.h:112: Symbols suggest ending TASK ‘VTAMemDPI’ but parser thinks ending MODULE ‘VTAMemDPI’ %Error: Command Failed /usr/bin/verilator_bin --cc +define+RANDOMIZE_GARBAGE_ASSIGN +define+RANDOMIZE_REG_INIT +define+RANDOMIZE_MEM_INIT --x-assign unique --output-split 20000 --output-split-cfuncs 20000 --top-module Test -Mdir /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/verilator -I/home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/chisel /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/chisel/Test.DefaultDe10Config.sv make: *** [Makefile:186: /home/lei/mvp_tvm_vta/tvm/3rdparty/vta-hw/build/verilator/VTest.cpp] Error 10

Hi @machinetime ,

I am not sure if you are still interested on this, but we have currently released a version of VTA in the cloud. Check this out