m-labs / misoc

The original high performance and small footprint system-on-chip based on Migen™
https://m-labs.hk
Other
305 stars 85 forks source link

new misoc: building with lm32 fails on windows with ISE & Vivado #23

Closed enjoy-digital closed 8 years ago

enjoy-digital commented 8 years ago
ERROR:HDLCompiler:281 - "C:\Python34\lib\site-packages\misoc-1.0-py3.4.egg\misoc
\cores\lm32\verilog\submodule\rtl\/lm32_include.v" Line 61: Cannot open include
file "lm32_config.v".
enjoy-digital commented 8 years ago

Similar issue with Vivado:

ERROR: [Synth 8-1766] cannot open include file lm32_config.v [C:/Python34/lib/si
te-packages/misoc-1.0-py3.4.egg/misoc/cores/lm32/verilog/submodule/rtl/lm32_incl
ude.v:61]
sbourdeauducq commented 8 years ago

Does the file exist: C:/Python34/lib/site-packages/misoc-1.0-py3.4.egg/misoc/cores/lm32/verilog/submodule/rtl/lm32_include.v

enjoy-digital commented 8 years ago

In fact that's lm32_config.v that is missing in C:/Python34/lib/site-packages/misoc-1.0-py3.4.egg/misoc/cores/lm32/verilog.

It works fine when putting it manually there.

sbourdeauducq commented 8 years ago

Ok. Both with ISE and Vivado?

sbourdeauducq commented 8 years ago

I actually cannot test setup.py because python 3.5 or the version of setuptools that comes with it in the arch linux packages borked the installation of data directories...

enjoy-digital commented 8 years ago

It's fine with ISE & Vivado yes. I can look at it, where is the code responsible for the copy of lm32_config.v?

sbourdeauducq commented 8 years ago

766b0bee655ad0dda2bce920c051b3a78012cf13 should fix the problem.

enjoy-digital commented 8 years ago

Thanks, fixed!

sbourdeauducq commented 8 years ago

:+1: Thanks for testing!