Skip to content

Commit

Permalink
vivado: Add work root as include directory
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed May 29, 2019
1 parent 96ad559 commit 69bde63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion edalize/vivado.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def configure_main(self):
template_vars = {
'name' : self.name,
'src_files' : src_files,
'incdirs' : incdirs,
'incdirs' : incdirs+['.'],
'tool_options' : self.tool_options,
'toplevel' : self.toplevel,
'vlogparam' : self.vlogparam,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_vivado/minimal/test_vivado_minimal_0.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ create_project test_vivado_minimal_0




set_property include_dirs [list .] [get_filesets sources_1]

2 changes: 1 addition & 1 deletion tests/test_vivado/test_vivado_0.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ read_vhdl -vhdl2008 vhdl2008_file
read_ip xci_file.xci
read_xdc xdc_file.xdc

set_property include_dirs [list .] [get_filesets sources_1]
set_property include_dirs [list . .] [get_filesets sources_1]
set_property top top_module [current_fileset]
set_property source_mgmt_mode None [current_project]
upgrade_ip [get_ips]
Expand Down

0 comments on commit 69bde63

Please sign in to comment.