chipsalliance / VeeRwolf

FuseSoC-based SoC for VeeR EH1 and EL2
268 stars 61 forks source link

fusesoc run --target=nexys_a7 swervolf with Vivado 2020.1 #39

Open nicolast0604 opened 2 years ago

nicolast0604 commented 2 years ago

================================================================================ INFO: Wrote dependency graph to /home/nicolast0604/swervolf/build/swervolf_0.7.3/nexys_a7-vivado/swervolf_0.7.3.deps-after-generators.dot INFO: Wrote Makefile fragment to /home/nicolast0604/swervolf/build/swervolf_0.7.3/nexys_a7-vivado/core-deps.mk INFO: Setting up project

INFO: Building vivado -notrace -mode batch -source swervolf_0.7.3.tcl /bin/bash: vivado: command not found Makefile:17: recipe for target 'swervolf_0.7.3.xpr' failed make: *** [swervolf_0.7.3.xpr] Error 127 ERROR: Failed to build ::swervolf:0.7.3 : 'make' exited with an error code

olofk commented 2 years ago

It looks like you don't have vivado in your path. Try adding it to your path and see if that fixes the problem

nicolast0604 commented 2 years ago

Thanks for your help, I fix the problem of no vivado in the path and re-run it with another issue:

INFO: Wrote dependency graph to /home/nicolast0604/swervolf/build/swervolf_0.7.3/nexys_a7-vivado/swervolf_0.7.3.deps-after-generators.dot INFO: Wrote Makefile fragment to /home/nicolast0604/swervolf/build/swervolf_0.7.3/nexys_a7-vivado/core-deps.mk INFO: Setting up project

INFO: Building vivado -notrace -mode batch -source swervolf_0.7.3.tcl

** Vivado v2020.2 (64-bit) SW Build 3064766 on Wed Nov 18 09:12:47 MST 2020 IP Build 3064653 on Wed Nov 18 14:17:31 MST 2020 ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.

source swervolf_0.7.3.tcl -notrace WARNING: [Vivado 12-818] No files matched 'config/common_defines.vh' ERROR: [Common 17-55] 'setproperty' expects at least one object. Resolution: If [get] was used to populate the object, check to make sure this command returns at least one valid object.

while executing

"source ../src/chipsalliance.org_cores_SweRV_EH1_1.8/tools/vivado.tcl" (file "swervolf_0.7.3.tcl" line 55) INFO: [Common 17-206] Exiting Vivado at Mon Sep 13 17:01:30 2021... Makefile:17: recipe for target 'swervolf_0.7.3.xpr' failed make: *** [swervolf_0.7.3.xpr] Error 1 ERROR: Failed to build ::swervolf:0.7.3 : 'make' exited with an error code