Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetFPGA 1G CML Demo Project Fail to build #16

Open
diwenx opened this issue Sep 10, 2021 · 1 comment
Open

NetFPGA 1G CML Demo Project Fail to build #16

diwenx opened this issue Sep 10, 2021 · 1 comment

Comments

@diwenx
Copy link

diwenx commented Sep 10, 2021

Hello,

I'm setting up a new NetFPGA board following the guide here. I'm using Ubuntu 20.04.3 LTS and with the exact version of Vivado and ISE as used in the guide (Vivado 15.2, ISE 14.6).

After cloning the repository (step 1) and sourcing for environment variables (step 2), I'm currently struck at step 3 where after I do make cml_cores, the following error keeps getting emitted.

Generating implementation netlist for 'trimac'...
INFO:sim - Pre-processing HDL files for 'trimac'...
WARNING:sim - BlackBox generator run option '-iobuf' found multiple times. Only
the first occurence is considered.
Running synthesis for 'trimac'
ERROR:sim - Cannot open file
'/home/diwenx/NetFPGA-1G-CML-live/lib/hw/contrib/pcores/nf1_cml_interface_v1_
00_a/trimac_work/tmp/_cg/_dbg/trimac.xcf'. Please make sure that the file
exists and that you have read permission for it.

ERROR:sim - Failed executing Tcl generator.
ERROR:sim - Failed to generate 'trimac'. Failed executing Tcl generator.

ERROR:sim:877 - Error found during execution of IP 'Tri Mode Ethernet MAC v5.5'
make[1]: *** [Makefile:60: netlist/trimac.ngc] Error 1
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/contrib/pcores/nf1_cml_interface_v1_00_a

The full log is attached below. I checked NetFPGA-1G-CML-live/lib/hw/contrib/pcores/nf1_cml_interface_v1_ 00_a/trimac_work/tmp/_cg/_dbg/, and the file trimac.xcf indeed does not exist (trimac.[log, prj, scr, vhd, xlpp] exist, though). Could you please help debugging this issue?

Thank you.

Full log:

make -C tools/scripts
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/tools/scripts'
./link-py-interpreter.sh
./python-nf exists: leaving alone.
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/tools/scripts'
if test -f lib/hw/contrib/pcores/mdio_ctrl_v1_00_a/Makefile;
then make -C lib/hw/contrib/pcores/mdio_ctrl_v1_00_a;
fi;
if test -f lib/hw/contrib/pcores/nf1_cml_interface_v1_00_a/Makefile;
then make -C lib/hw/contrib/pcores/nf1_cml_interface_v1_00_a;
fi;
if test -f lib/hw/contrib/pcores/nf10_endianess_manager_v1_00_a/Makefile;
then make -C lib/hw/contrib/pcores/nf10_endianess_manager_v1_00_a;
fi;
if test -f lib/hw/contrib/pcores/version_id_v1_00_a/Makefile;
then make -C lib/hw/contrib/pcores/version_id_v1_00_a;
fi;
if test -f lib/hw/std/pcores/dma_v1_20_a/Makefile;
then make -C lib/hw/std/pcores/dma_v1_20_a;
fi;
if test -f lib/hw/std/pcores/nf10_axis_gen_check_v1_00_a/Makefile;
then make -C lib/hw/std/pcores/nf10_axis_gen_check_v1_00_a;
fi;
if test -f lib/hw/std/pcores/nf10_bram_output_queues_v1_00_a/Makefile;
then make -C lib/hw/std/pcores/nf10_bram_output_queues_v1_00_a;
fi;
if test -f lib/hw/std/pcores/nf10_input_arbiter_v1_00_a/Makefile;
then make -C lib/hw/std/pcores/nf10_input_arbiter_v1_00_a;
fi;
if test -f lib/hw/std/pcores/nf10_nic_output_port_lookup_v1_00_a/Makefile;
then make -C lib/hw/std/pcores/nf10_nic_output_port_lookup_v1_00_a;
fi;
if test -f lib/hw/std/pcores/nf10_router_output_port_lookup_v1_00_a/Makefile;
then make -C lib/hw/std/pcores/nf10_router_output_port_lookup_v1_00_a;
fi;
if test -f lib/hw/std/pcores/nf10_switch_output_port_lookup_v1_00_a/Makefile;
then make -C lib/hw/std/pcores/nf10_switch_output_port_lookup_v1_00_a;
fi;
if test -f lib/hw/std/pcores/nf10_switch_output_port_lookup_v1_10_a/Makefile;
then make -C lib/hw/std/pcores/nf10_switch_output_port_lookup_v1_10_a;
fi;
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/contrib/pcores/mdio_ctrl_v1_00_a'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/contrib/pcores/mdio_ctrl_v1_00_a'
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/contrib/pcores/nf1_cml_interface_v1_00_a'
Release 14.6 - Xilinx CORE Generator P.68d (lin64)
Copyright (c) 1995-2013 Xilinx, Inc. All rights reserved.
All runtime messages will be recorded in
/home/diwenx/NetFPGA-1G-CML-live/lib/hw/contrib/pcores/nf1_cml_interface_v1_00_a
/trimac_work/coregen.log
INFO:encore:314 - Created non-GUI application for batch mode execution.
Saved CGP file for project 'coregen'.
INFO:sim:172 - Generating IP...
Resolving generics for 'trimac'...
Applying external generics to 'trimac'...
Delivering associated files for 'trimac'...
Delivering EJava files for 'trimac'...
Generating implementation netlist for 'trimac'...
INFO:sim - Pre-processing HDL files for 'trimac'...
WARNING:sim - BlackBox generator run option '-iobuf' found multiple times. Only
the first occurence is considered.
Running synthesis for 'trimac'
ERROR:sim - Cannot open file
'/home/diwenx/NetFPGA-1G-CML-live/lib/hw/contrib/pcores/nf1_cml_interface_v1_
00_a/trimac_work/tmp/_cg/_dbg/trimac.xcf'. Please make sure that the file
exists and that you have read permission for it.
ERROR:sim - Failed executing Tcl generator.
ERROR:sim - Failed to generate 'trimac'. Failed executing Tcl generator.
ERROR:sim:877 - Error found during execution of IP 'Tri Mode Ethernet MAC v5.5'
make[1]: *** [Makefile:60: netlist/trimac.ngc] Error 1
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/contrib/pcores/nf1_cml_interface_v1_00_a'
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/dma_v1_20_a'
make[1]: vivado: Command not found
make[1]: *** [Makefile:52: hdl/verilog/xilinx/pcie_7x.v] Error 127
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/dma_v1_20_a'
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_axis_gen_check_v1_00_a'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_axis_gen_check_v1_00_a'
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_bram_output_queues_v1_00_a'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_bram_output_queues_v1_00_a'
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_input_arbiter_v1_00_a'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_input_arbiter_v1_00_a'
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_nic_output_port_lookup_v1_00_a'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_nic_output_port_lookup_v1_00_a'
make[1]: Entering directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_switch_output_port_lookup_v1_10_a'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/diwenx/NetFPGA-1G-CML-live/lib/hw/std/pcores/nf10_switch_output_port_lookup_v1_10_a'

@jmeador
Copy link

jmeador commented Sep 23, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants