mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
mibuild/lattice/diamond: add verilog include path (thanks Lattice's FAE since it's not documented)
This commit is contained in:
parent
5a9afee234
commit
3aee58f484
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ def _build_lpf(named_sc, named_pc):
|
|||
def _build_files(device, sources, vincpaths, build_name):
|
||||
tcl = []
|
||||
tcl.append("prj_project new -name \"%s\" -impl \"implementation\" -dev %s -synthesis \"synplify\"" %(build_name, device))
|
||||
for path in vincpaths:
|
||||
tcl.append("prj_impl option {include path} {\"" + path.replace("\\", "/") + "\"}")
|
||||
for filename, language in sources:
|
||||
tcl.append("prj_src add \"" + filename.replace("\\", "/") + "\"")
|
||||
tcl.append("prj_run Synthesis -impl implementation -forceOne")
|
||||
|
|
Loading…
Reference in a new issue