Skip to content

Error in MEEP Initialization Stage: Cannot find accelerator_def.csv #3

@ddershy

Description

@ddershy

1. Initializing with u55c

When I run make u55c after pulling the task, I encounter the following error:

make[1]: Entering directory '/home/user/fpga_shell/ip/aurora-dma'
make[1]: *** No rule to make target 'clean'.  Stop.
make[1]: Leaving directory '/home/user/fpga_shell/ip/aurora-dma'
make: *** [Makefile:176: clean_ip] Error 2

I discovered that the aurora-dma folder on GitHub returned a 404 error, so I modified the Makefile by deleting the lines referring to aurora-dma.

clean_ip:
	@(make -C ip/100GbEthernet clean)
	@(make -C ip/10GbEthernet clean)
	@(make -C ip/pulp_uart clean)
	@(make -C ip/axi_brom clean)
	@(make -C ip/aurora-raw clean)

2. Running make initialize LOAD_EA=sargantana

When executing this step, the following output is shown:

Submodule 'ip/100GbEthernet' (https://github.com/MEEPproject/100gb-ethernet.git) registered for path 'ip/100GbEthernet'
Submodule 'ip/10GbEthernet' (https://github.com/MEEPproject/10gb_ethernet.git) registered for path 'ip/10GbEthernet'
Submodule 'ip/aurora_dma' (https://github.com/MEEPproject/aurora-dma.git) registered for path 'ip/aurora-dma'
Submodule 'ip/aurora_raw' (https://github.com/MEEPproject/aurora-raw.git) registered for path 'ip/aurora_raw'
Submodule 'ip/axi_brom' (https://github.com/MEEPproject/axi-brom.git) registered for path 'ip/axi_brom'
Submodule 'ip/pulp_uart' (https://github.com/MEEPproject/pulp-uart.git) registered for path 'ip/pulp_uart'
Cloning into '/home/user/fpga_shell/ip/aurora-dma'...
fatal: remote error: upload-pack: not our ref 4c43cba9ad3dc9fe40dcf0dbdc9e5d360ae2c2ec
fatal: Fetched in submodule path 'ip/100GbEthernet', but it did not contain 4c43cba9ad3dc9fe40dcf0dbdc9e5d360ae2c2ec. Direct fetching of that commit failed.
fatal: 
make: *** [Makefile:166: submodules] Error 128

So, I manually cloned all the submodules in the ip folder except for aurora-dma.

3. Running make project

make project           # Creates the Vivado project. Generates the FPGA shell around the EA
make[1]: Entering directory '/home/user/fpga_shell/ip/100GbEthernet'
git clean -f
rm -rf xgui project qsfp* pcie
make[1]: Leaving directory '/home/user/fpga_shell/ip/100GbEthernet'
make[1]: Entering directory '/home/user/fpga_shell/ip/10GbEthernet'
git clean -f -x -d 
make[1]: Leaving directory '/home/user/fpga_shell/ip/10GbEthernet'
make[1]: Entering directory '/home/user/fpga_shell/ip/pulp_uart'
git clean -f
rm -rf xgui project uart
make[1]: Leaving directory '/home/user/fpga_shell/ip/pulp_uart'
make[1]: Entering directory '/home/user/fpga_shell/ip/axi_brom'
git clean -fxd
rm -rf xgui project native_bram meep_rom
make[1]: Leaving directory '/home/user/fpga_shell/ip/axi_brom'
make[1]: Entering directory '/home/user/fpga_shell/ip/aurora_raw'
git clean -f
rm -rf xgui project
make[1]: Leaving directory '/home/user/fpga_shell/ip/aurora_raw'
/home/user/fpga_shell/sh/load_module.sh 
[MEEP] INFO: Loading acme module
fatal: remote error: upload-pack: not our ref 4c43cba9ad3dc9fe40dcf0dbdc9e5d360ae2c2ec
fatal: Fetched in submodule path 'ip/100GbEthernet', but it did not contain 4c43cba9ad3dc9fe40dcf0dbdc9e5d360ae2c2ec. Direct fetching of that commit failed.
fatal: 
[MEEP] INFO: Retrieving  as accelerator...
Cloning into 'accelerator'...
Username for 'https://gitlab.bsc.es': user                         
Password for 'https://user@gitlab.bsc.es': 
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://gitlab.bsc.es/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied
fatal: Authentication failed for 'https://gitlab.bsc.es/hwdesign/frameworks/meep_openpiton.git/'
/home/user/fpga_shell/sh/gitsubmodules.sh: line 34: cd: /home/user/fpga_shell/accelerator: No such file or directory
fatal: reference is not a tree: b563b46f7fd043eafa22ba8810de42d6736be562
[MEEP] INFO: Done
/home/user/fpga_shell/sh/init_modules.sh: line 41: cd: /home/user/fpga_shell/accelerator: No such file or directory
[MEEP] INFO: The meepshell folder found at: 
[MEEP] INFO: SymLink to  created
/home/user/fpga_shell/sh/init_modules.sh: line 57: /home/user/fpga_shell/accelerator/meep_shell/accelerator_init.sh: No such file or directory
/home/user/fpga_shell/sh/create_inforom.sh: line 20: cd: /home/user/fpga_shell/accelerator: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
sed: can't read /home/user/fpga_shell/accelerator/meep_shell/accelerator_def.csv: No such file or directory
/home/user/fpga_shell/sh/accelerator_build.sh: line 24: cd: accelerator: No such file or directory
/home/user/fpga_shell/sh/accelerator_build.sh: line 27: meep_shell/accelerator_build.sh: No such file or directory
accelerator_build.sh has succeeded
/home/user/fpga_shell/sh/init_vivado.sh /opt/Xilinx/Vivado/2021.2/bin/vivado || (echo "The generation of MEEP Shell has failed $?"; exit 1)
This DIR: /home/user/fpga_shell/sh


[MEEP] ***************************************
[MEEP] ***  MEEP SHELL GENERATION PROCESS  ***
[MEEP] ***************************************
[MEEP] *                                     *
[MEEP] *   https://www.bsc.es/               *
[MEEP] *   https://meep-project.eu/          *
[MEEP] *                                     *
[MEEP] ***************************************

[MEEP] Emulated accelerator: acme

         https://gitlab.bsc.es/hwdesign/frameworks/meep_openpiton.git 

                SHA:  b563b46f7fd043eafa22ba8810de42d6736be562
/home/user/fpga_shell/sh/init_vivado.sh: line 61: /opt/Xilinx/Vivado/2021.2/bin/vivado: No such file or directory

I noticed that I do not have the accelerator folder, so I manually cloned it with the following command: git clone https://github.com/bsc-loca/core_tile/ /home/user/fpga_shell/accelerator

After retrying, I get this message:

❯ make project
make[1]: Entering directory '/home/user/fpga_shell/ip/100GbEthernet'
git clean -f
rm -rf xgui project qsfp* pcie
make[1]: Leaving directory '/home/user/fpga_shell/ip/100GbEthernet'
make[1]: Entering directory '/home/user/fpga_shell/ip/10GbEthernet'
git clean -f -x -d 
make[1]: Leaving directory '/home/user/fpga_shell/ip/10GbEthernet'
make[1]: Entering directory '/home/user/fpga_shell/ip/pulp_uart'
git clean -f
rm -rf xgui project uart
make[1]: Leaving directory '/home/user/fpga_shell/ip/pulp_uart'
make[1]: Entering directory '/home/user/fpga_shell/ip/axi_brom'
git clean -fxd
rm -rf xgui project native_bram meep_rom
make[1]: Leaving directory '/home/user/fpga_shell/ip/axi_brom'
make[1]: Entering directory '/home/user/fpga_shell/ip/aurora_raw'
git clean -f
rm -rf xgui project
make[1]: Leaving directory '/home/user/fpga_shell/ip/aurora_raw'
/home/user/fpga_shell/sh/load_module.sh 
[MEEP] INFO: Loading acme module
fatal: remote error: upload-pack: not our ref 4c43cba9ad3dc9fe40dcf0dbdc9e5d360ae2c2ec
fatal: Fetched in submodule path 'ip/100GbEthernet', but it did not contain 4c43cba9ad3dc9fe40dcf0dbdc9e5d360ae2c2ec. Direct fetching of that commit failed.
fatal: 
[MEEP] INFO: Retrieving  as accelerator...
Cloning into 'accelerator'...
Username for 'https://gitlab.bsc.es': user                         
Password for 'https://user@gitlab.bsc.es': 
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://gitlab.bsc.es/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied
fatal: Authentication failed for 'https://gitlab.bsc.es/hwdesign/frameworks/meep_openpiton.git/'

The contents of the accelerator folder pulled are as follows:

Permissions Size User Date Modified Name
.rw-rw-r--   857 user  22 Dec 16:08   benchmarks.mk
.rw-rw-r--   969 user  22 Dec 16:08   CONTRIBUTORS.md
drwxrwxr-x     - user  22 Dec 16:08   doc
.rwxrwxr-x   346 user  22 Dec 16:08   filelist.f
drwxrwxr-x     - user  22 Dec 16:08   fpga
drwxrwxr-x     - user  22 Dec 16:08   includes
.rw-rw-r--  4.6k user  22 Dec 16:08   LICENSE
.rw-rw-r--   773 user  22 Dec 16:08   Makefile
.rw-rw-r--  3.9k user  22 Dec 16:08   README.md
drwxrwxr-x     - user  22 Dec 16:08   riscv-tests
drwxrwxr-x     - user  22 Dec 16:08   rtl
.rwxrwxr-x   283 user  22 Dec 16:08   run-benchmarks.sh
drwxrwxr-x     - user  22 Dec 16:08   scripts
drwxrwxr-x     - user  22 Dec 16:08   simulator
drwxrwxr-x     - user  22 Dec 16:08   tb

There is no /meep_shell/accelerator_def.csv file.

What should I do? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions