vivado: Fix segfault with or1k.
authorTim 'mithro' Ansell <mithro@mithis.com>
Sat, 29 Apr 2017 06:00:25 +0000 (16:00 +1000)
committerTim 'mithro' Ansell <mithro@mithis.com>
Sat, 29 Apr 2017 06:44:18 +0000 (16:44 +1000)
commit5f9ff09c08d27384dffee9402fd2ee634a35a1a5
tree253a8a3abe6660f315d4e9b3788863babd20752a
parentbedd428d9d190f61ef075cfdabc62b8ec8428ba1
vivado: Fix segfault with or1k.

The or1k doesn't have any verilog include paths added. This means the
code use to generate;
```tcl
synth_design -top top -part xc7a50t-csg325-2 -include_dirs {}
```
which causes Vivado to segfault with the following error;
```
Command: synth_design -top top -part xc7a50t-csg325-2 -include_dirs {}
Starting synth_design
Attempting to get a license for feature 'Synthesis' and/or device 'xc7a50t'
INFO: [Common 17-349] Got license for feature 'Synthesis' and/or device 'xc7a50t'
Abnormal program termination (11)
Please check 'build/netv2_base_or1k/gateware/hs_err_pid76959.log' for details
Traceback (most recent call last):
  File "./make.py", line 82, in <module>
```
litex/build/xilinx/vivado.py