[RFC] [VTA] [TSIM] Enabling Cycle-Accurate Hardware Simulation for VTA #3009 (#3010)
authorLuis Vega <vegaluisjose@users.noreply.github.com>
Wed, 8 May 2019 16:59:00 +0000 (09:59 -0700)
committerThierry Moreau <moreau@uw.edu>
Wed, 8 May 2019 16:59:00 +0000 (09:59 -0700)
commita6d04b8daaa1e75b00b61755260f8ea17f07ba7c
treed2245a0163663e097ac7f9106b5e30e94a6d7db7
parent981db1509de4214acdc1731d44d71ef427c3c4a3
[RFC] [VTA] [TSIM] Enabling Cycle-Accurate Hardware Simulation for VTA #3009 (#3010)

* merge files

* move verilator to the right place

* change name to tsim

* add default rule to be build and run

* add README for tsim

* Update README.md

* add some structural feedback

* change name of VTASim to VTADPISim

* more renaming

* update comment

* add license

* fix indentation

* add switch for vta-tsim

* add more licenses

* update readme

* address some of the new feedback

* add some feedback from cpplint

* add one more whitespace

* pass pointer so linter is happy

* pass pointer so linter is happy

* README moved to vta documentation

* create types for dpi functions, so they can be handle easily

* fix pointer style

* add feedback from docs

* parametrize width data and pointers

* fix comments

* fix comment

* add comment to class

* add missing parameters

* move README back to tsim example

* add feedback

* add more comments and remove un-necessary argument in finish

* update comments

* fix cpplint

* fix doc
37 files changed:
cmake/config.cmake
cmake/modules/VTA.cmake
vta/apps/tsim_example/CMakeLists.txt [new file with mode: 0644]
vta/apps/tsim_example/Makefile [new file with mode: 0644]
vta/apps/tsim_example/README.md [new file with mode: 0644]
vta/apps/tsim_example/cmake/modules/driver.cmake [new file with mode: 0644]
vta/apps/tsim_example/cmake/modules/tsim.cmake [new file with mode: 0644]
vta/apps/tsim_example/hardware/chisel/Makefile [new file with mode: 0644]
vta/apps/tsim_example/hardware/chisel/build.sbt [new file with mode: 0644]
vta/apps/tsim_example/hardware/chisel/project/build.properties [new file with mode: 0644]
vta/apps/tsim_example/hardware/chisel/project/plugins.sbt [new file with mode: 0644]
vta/apps/tsim_example/hardware/chisel/src/main/scala/accel/Accel.scala [new file with mode: 0644]
vta/apps/tsim_example/hardware/chisel/src/main/scala/accel/Compute.scala [new file with mode: 0644]
vta/apps/tsim_example/hardware/chisel/src/main/scala/accel/RegFile.scala [new file with mode: 0644]
vta/apps/tsim_example/hardware/chisel/src/test/scala/dut/TestAccel.scala [new file with mode: 0644]
vta/apps/tsim_example/hardware/verilog/Accel.v [new file with mode: 0644]
vta/apps/tsim_example/hardware/verilog/Compute.v [new file with mode: 0644]
vta/apps/tsim_example/hardware/verilog/RegFile.v [new file with mode: 0644]
vta/apps/tsim_example/hardware/verilog/TestAccel.v [new file with mode: 0644]
vta/apps/tsim_example/python/tsim/__init__.py [new file with mode: 0644]
vta/apps/tsim_example/python/tsim/config.json [new file with mode: 0644]
vta/apps/tsim_example/python/tsim/config.py [new file with mode: 0644]
vta/apps/tsim_example/python/tsim/load.py [new file with mode: 0644]
vta/apps/tsim_example/src/driver.cc [new file with mode: 0644]
vta/apps/tsim_example/tests/python/test_tsim.py [new file with mode: 0644]
vta/hardware/chisel/Makefile [new file with mode: 0644]
vta/hardware/chisel/build.sbt [new file with mode: 0644]
vta/hardware/chisel/project/build.properties [new file with mode: 0644]
vta/hardware/chisel/project/plugins.sbt [new file with mode: 0644]
vta/hardware/chisel/src/main/resources/verilog/VTAHostDPI.v [new file with mode: 0644]
vta/hardware/chisel/src/main/resources/verilog/VTAMemDPI.v [new file with mode: 0644]
vta/hardware/chisel/src/main/scala/dpi/VTAHostDPI.scala [new file with mode: 0644]
vta/hardware/chisel/src/main/scala/dpi/VTAMemDPI.scala [new file with mode: 0644]
vta/hardware/dpi/tsim_device.cc [new file with mode: 0644]
vta/include/vta/dpi/module.h [new file with mode: 0644]
vta/include/vta/dpi/tsim.h [new file with mode: 0644]
vta/src/dpi/module.cc [new file with mode: 0644]