chiselv
chiselv copied to clipboard
problem generating chiselv
I'm having a real problem with generating chisel.
[bwalker@fedora fusesoc-chiselv]$ fusesoc run --target=ulx3s_85 carlosedp:chiselv:singlecycle
INFO: Preparing fusesoc:utils:generators:0.1.7
INFO: Preparing carlosedp:chiselv:singlecycle:0
INFO: Generating carlosedp:chiselv:singlecycle-ulx3s:0
Using build tool from: /tmp/tmp6tyi6ud6/core/mill
Working dir: /tmp/tmp6tyi6ud6/core
Running: /tmp/tmp6tyi6ud6/core/mill -i chiselv.run --board ulx3s --cpufreq 15000000 --invreset true --split-verilog --target-dir=generated
[build.sc] [49/53] compile
[info] compiling 1 Scala source to /tmp/tmp6tyi6ud6/core/out/mill-build/compile.dest/classes ...
[info] done compiling
[37/50] chiselv.compile
[info] compiling 18 Scala sources to /tmp/tmp6tyi6ud6/core/out/chiselv/compile.dest/classes ...
[info] done compiling
[50/50] chiselv.run
Traceback (most recent call last):
File "/tmp/fusesoc-chiselv/fusesoc_libraries/fg/chisel.py", line 92, in <module>
g.run()
File "/tmp/fusesoc-chiselv/fusesoc_libraries/fg/chisel.py", line 80, in run
shutil.copy2(os.path.join(cwd, f), f)
File "/usr/lib64/python3.11/shutil.py", line 448, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib64/python3.11/shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp6tyi6ud6/core/generated/mem_2048x32.sv'
ERROR: Setup failed : "/usr/bin/python3 /tmp/fusesoc-chiselv/fusesoc_libraries/fg/chisel.py /home/bwalker/.cache/fusesoc/generator_cache/carlosedp_chiselv_singlecycle-ulx3s_0-ceec646f7a9d59d1d6fa245e81aa8a141ee7d094ea3017255f34e5ac95a3834b/ulx3s_input.yml" exited with an error code. See stderr for details.
[bwalker@fedora fusesoc-chiselv]$
I'm happy to help but would need some insight into how to debug this issue..