google / google/CFU-Playground

symbiflow_synth fails in Yosys Techmap stage

Open
#611 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Verilog
Stars
565
Forks
160
PR merge metrics
No merged PRs in 30d

Description

Hello,

If this is error has been observed before, can someone please point me in the right direction ?

Thanks
Raj

make[4]: Entering directory '/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/soc/build/digilent_arty.mnv2/gateware'
symbiflow_synth -t digilent_arty -v /home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/proj/mnv2/cfu.v /home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/third_party/python/pythondata_cpu_vexriscv/pythondata_cpu_vexriscv/verilog/VexRiscv_FullCfu.v /home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/soc/build/digilent_arty.mnv2/gateware/digilent_arty.v -d artix7 -p xc7a100tcsg324-1 -x digilent_arty.xdc > /dev/null
/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/env/symbiflow/share/symbiflow/techmaps/xc7_vpr/techmap/cells_map.v:0: **ERROR: Can't find object for defparam `RAM_EXTENSION_A`!**
make[4]: *** [Makefile:34: digilent_arty.eblif] Error 1
make[4]: Leaving directory '/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/soc/build/digilent_arty.mnv2/gateware'
Traceback (most recent call last):
File "./common_soc.py", line 57, in
main()
File "./common_soc.py", line 53, in main
workflow.run()
File "/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/soc/board_specific_workflows/general.py", line 125, in run
soc_builder = self.build_soc(soc)
File "/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/soc/board_specific_workflows/digilent_arty.py", line 73, in build_soc
return super().build_soc(soc, **kwargs)
File "/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/soc/board_specific_workflows/general.py", line 102, in build_soc
soc_builder.build(run=self.args.build, **kwargs)
File "/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/third_party/python/litex/litex/soc/integration/builder.py", line 350, in build
vns = self.soc.build(build_dir=self.gateware_dir, **kwargs)
File "/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/third_party/python/litex/litex/soc/integration/soc.py", line 1147, in build
return self.platform.build(self, *args, **kwargs)
File "/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/third_party/python/litex/litex/build/xilinx/platform.py", line 73, in build
return self.toolchain.build(self, *args, **kwargs)
File "/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/third_party/python/litex/litex/build/xilinx/symbiflow.py", line 241, in build
_run_make()
File "/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/third_party/python/litex/litex/build/xilinx/symbiflow.py", line 84, in _run_make
raise OSError("Error occured during Symbiflow's script execution.")
OSError: Error occured during Symbiflow's script execution.
make[3]: *** [/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/soc/common_soc.mk:115: build/digilent_arty.mnv2/gateware/digilent_arty.bit] Error 1
make[3]: Leaving directory '/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/soc'
make[2]: *** [../proj.mk:310: prog] Error 2
make[2]: Leaving directory '/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/proj/mnv2'

The yosys version called by Symbiflow underneath is:
Yosys 0.19+18 (git sha1 08c319fc3, x86_64-conda-linux-gnu-cc 11.2.0 -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -fdebug-prefix-map=/home/runner/work/conda-eda/conda-eda/workdir/conda-env/conda-bld/yosys_1657668832012/work=/usr/local/src/conda/yosys-0.19_19_g08c319fc3 -fdebug-prefix-map=/home/rajsaktish/repos/all_CFU_space/synth_BG/CFU-FLOW/env/conda/envs/cfu-symbiflow=/usr/local/src/conda-prefix -fPIC -Os -fno-merge-constants)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.