google / google/CFU-Playground
ERROR: Can't load module `./dsp-ff'
- Dominant language
- Verilog
- Stars
- 565
- Forks
- 160
- PR merge metrics
- No merged PRs in 30d
Description
I get the following error when building hps_accel:
```
6.2. Continuing TECHMAP pass.
Using template VHI for cells of type VHI.
Using template VLO for cells of type VLO.
No more expansions possible.
ERROR: Can't load module `./dsp-ff': /usr/local/google/home/avg/src/CFU-Playground/third_party/usr/local/bin/../share/yosys/plugins/dsp-ff.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/usr/local/google/home/avg/src/CFU-Playground/soc/./hps_soc.py", line 353, in
main()
File "/usr/local/google/home/avg/src/CFU-Playground/soc/./hps_soc.py", line 345, in main
vns = builder.build(**builder_kwargs, run=args.build)
File "/usr/local/google/home/avg/src/CFU-Playground/third_party/python/litex/litex/soc/integration/builder.py", line 350, in build
vns = self.soc.build(build_dir=self.gateware_dir, **kwargs)
File "/usr/local/google/home/avg/src/CFU-Playground/third_party/python/litex/litex/soc/integration/soc.py", line 1147, in build
return self.platform.build(self, *args, **kwargs)
File "/usr/local/google/home/avg/src/CFU-Playground/third_party/python/litex/litex/build/lattice/platform.py", line 43, in build
return self.toolchain.build(self, *args, **kwargs)
File "/usr/local/google/home/avg/src/CFU-Playground/third_party/python/litex/litex/build/lattice/oxide.py", line 169, in build
_run_script(script)
File "/usr/local/google/home/avg/src/CFU-Playground/third_party/python/litex/litex/build/lattice/oxide.py", line 104, in _run_script
raise OSError("Error occured during Yosys/Nextpnr's script execution.")
OSError: Error occured during Yosys/Nextpnr's script execution.
make[1]: *** [/usr/local/google/home/avg/src/CFU-Playground/soc/hps.mk:93: build/hps.hps_accel/gateware/hps_proto2_platform.bit] Error 1
make[1]: Leaving directory '/usr/local/google/home/avg/src/CFU-Playground/soc'
make: *** [../proj.mk:300: bitstream] Error 2
```
- I used `cd proj/hps_accel; make gateware`
- I am on commit b77f26db0a78417f0f32e92ac2d9ef809db656c0.
- I have run `scripts/setup`
- I have run `scripts/install_oxide update`
- There is no file named `dsp-ff.so` anywhere in the CFU-Playground tree
Am I missing a yosys update or build flag?
Contributor guide
Assessment
This issue has not been assessed yet.