Skip to content

Commit

Permalink
include .dat files for simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanbeirendonck authored and Blaok committed Jan 7, 2023
1 parent 0c23c28 commit 85ab375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tapa_fast_cosim/vivado.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def get_vivado_tcl(config: Dict, tb_rtl_path: str, save_waveform: bool):
# read in the original RTLs by HLS
script.append(f'set ORIG_RTL_PATH "{tapa_hdl_path}"')

for suffix in ('.v', '.sv'):
for suffix in ('.v', '.sv', '.dat'):
for loc in (f'${{ORIG_RTL_PATH}}/*{suffix}', f'${{ORIG_RTL_PATH}}/*/*{suffix}'):
script.append(f'set rtl_files [glob -nocomplain {loc}]')
script.append(f'if {{$rtl_files ne ""}} {{add_files -norecurse -scan_for_includes ${{rtl_files}} }}')
Expand Down

0 comments on commit 85ab375

Please sign in to comment.