Skip to content

Use a customized RTL testbench for cosim, avoid generating .xclbin

Notifications You must be signed in to change notification settings

UCLA-VAST/tapa-fast-cosim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tapa-fast-cosim

Sample config file:

{
  "xo_path": "./vadd.xo",
  "scalar_to_val": {
    "3": 1000
  },
  "axi_to_c_array_size": {
    "0": 1000,
    "1": 1000,
    "2": 1000
  },
  "axi_to_data_file": {
    "0": "./binary_data/m_axi_0_data.bin",
    "1": "./binary_data/m_axi_1_data.bin",
    "2": "./binary_data/m_axi_2_data.bin"
  }
}
  • All argument names are replaced by its index, i.e. position in the function signature

  • "scalar_to_val": the value of each scalar argument.

  • "axi_to_c_array_size": size of the array in the C/C++ host

  • "axi_to_data_file": the binary representation of the contents of each array argument

    • If an array is for output only, then the contents do not matter. The binary files represent the state of all array arguments before the kernel invocation.

    • After the simulation, the contents of each external memory will be dumped into [input-data-name]_out.bin. The *_out.bin files represent the state of all array arguments after the kernel invocation.

About

Use a customized RTL testbench for cosim, avoid generating .xclbin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published