Clone simulate BlackParrot take long time and get error

63 views
Skip to first unread message

Lap Dang

unread,
Feb 25, 2024, 10:45:55 PM2/25/24
to black-parrot
Hi,

I clone git BlackParrot simulate but it took long time and got error about "decode TLS". Pls advice me, some step missing here?

Best,
Lap

Daniel Petrisko

unread,
Feb 25, 2024, 11:21:29 PM2/25/24
to Lap Dang, black-parrot
What is the exact error?

Best,
-Dan

On Feb 25, 2024, at 7:46 PM, Lap Dang <lap...@gmail.com> wrote:

Hi,

I clone git BlackParrot simulate but it took long time and got error about "decode TLS". Pls advice me, some step missing here?

Best,
Lap

--
You received this message because you are subscribed to the Google Groups "black-parrot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to black-parrot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/black-parrot/0dacd5c3-4c57-4130-b083-b7ff53177d86n%40googlegroups.com.

Lap Dang

unread,
Mar 1, 2024, 1:04:39 PM3/1/24
to Daniel Petrisko, black-parrot
Hi Dan,

This error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.

Pls advice. Thank you.

Vào Th 2, 26 thg 2, 2024 vào lúc 11:21 Daniel Petrisko <petr...@cs.washington.edu> đã viết:

Daniel Petrisko

unread,
Mar 1, 2024, 2:09:46 PM3/1/24
to Lap Dang, black-parrot
Looks like it’s an environment issue, usually from a proxy connection. There are a couple of suggestions to try here.

Lap Dang

unread,
Mar 3, 2024, 9:39:22 PM3/3/24
to Daniel Petrisko, black-parrot
Hi Dan,

Thank you. I fixed it and can bypass this error.

Can you give me some guidelines to configure and build bitstream test core BlackParror on board FPGA?

Regards,
Lap

Vào Th 7, 2 thg 3, 2024 vào lúc 02:09 Daniel Petrisko <petr...@cs.washington.edu> đã viết:
--
You received this message because you are subscribed to the Google Groups "black-parrot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to black-parrot...@googlegroups.com.

Daniel Petrisko

unread,
Mar 3, 2024, 9:58:57 PM3/3/24
to Lap Dang, black-parrot
Hi,

We support Z2 and Ultra96v2 fgpgas using the zynqparrot flow here:
Other boards, instantiating bp_axi_top and integrating into an existing build system is pretty straightforward. 

Best,
-Dan

On Mar 3, 2024, at 6:39 PM, Lap Dang <lap...@gmail.com> wrote:


Hi Dan,

Thank you. I fixed it and can bypass this error.

Can you give me some guidelines to configure and build bitstream test core BlackParror on board FPGA?

Regards,
Lap

Vào Th 7, 2 thg 3, 2024 vào lúc 02:09 Daniel Petrisko <petr...@cs.washington.edu> đã viết:
Looks like it’s an environment issue, usually from a proxy connection. There are a couple of suggestions to try here.


Other sources say using ssh clone instead of https can help. If you have a GitHub account setup, I’d suggest trying that as well. 

Best,
-Dan

On Mar 1, 2024, at 10:04 AM, Lap Dang <lap...@gmail.com> wrote:

Error decoding the received TLS packet

Lap Dang

unread,
Mar 3, 2024, 10:14:01 PM3/3/24
to Daniel Petrisko, black-parrot
Hi Dan,

Thank you. As I understand, this repo https://github.com/black-parrot-hdk/zynq-parrot/ is already configured to test on Zynq.

But currently I only have a VC707 board https://www.xilinx.com/products/boards-and-kits/ek-v7-vc707-g.html. Is BlackParrot available to test on it? If possible, please give me some link guidelines. Thank you.

Regards,
Lap

Vào Th 2, 4 thg 3, 2024 vào lúc 09:58 Daniel Petrisko <petr...@cs.washington.edu> đã viết:

Daniel Petrisko

unread,
Mar 3, 2024, 10:26:55 PM3/3/24
to Lap Dang, black-parrot
As I say, bp_axi_top in black-parrot-subsystems exposes an AXI interface which should plug into any FPGA build. The examples in zynq-parrot can give you hints as to how to hook it all up. 

Best,
-Dan

On Mar 3, 2024, at 7:14 PM, Lap Dang <lap...@gmail.com> wrote:


Hi Dan,

Thank you. As I understand, this repo https://github.com/black-parrot-hdk/zynq-parrot/ is already configured to test on Zynq.

But currently I only have a VC707 board https://www.xilinx.com/products/boards-and-kits/ek-v7-vc707-g.html. Is BlackParrot available to test on it? If possible, please give me some link guidelines. Thank you.

Regards,
Lap
Vào Th 2, 4 thg 3, 2024 vào lúc 09:58 Daniel Petrisko <petr...@cs.washington.edu> đã viết:
Hi,

We support Z2 and Ultra96v2 fgpgas using the zynqparrot flow here:

Lap Dang

unread,
Mar 3, 2024, 10:40:31 PM3/3/24
to Daniel Petrisko, black-parrot
Thank you, I will try that.

Vào Th 2, 4 thg 3, 2024 vào lúc 10:26 Daniel Petrisko <petr...@cs.washington.edu> đã viết:

Lap Dang

unread,
Mar 5, 2024, 12:00:32 AM3/5/24
to Daniel Petrisko, black-parrot
Hi Dan,


Try run: make prep

But I got the error:

cd /home/lapdang/test/zynq-parrot/cosim/import/black-parrot; git submodule update --init --recursive --checkout
make dramsim3
make[2]: Entering directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot'
make[2]: Nothing to be done for 'dramsim3'.
make[2]: Leaving directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot'
make[1]: Leaving directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot'
make -C /home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools tools
make[1]: Entering directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools'
make verilator
make[2]: Entering directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools'
make[2]: Nothing to be done for 'verilator'.
make[2]: Leaving directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools'
make dromajo
make[2]: Entering directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools'
rm -rf /home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/install/touchfiles/dromajo.*
cd /home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools; git submodule update --init --recursive --checkout /home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/dromajo
make dromajo_build
make[3]: Entering directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools'
mkdir -p /home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/dromajo/build
cmake -S /home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/dromajo -B /home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/dromajo/build -DCMAKE_BUILD_TYPE=Release
CMake Error: The source directory "/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/dromajo/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/Makefile.tools:37: recipe for target 'dromajo_build' failed
make[3]: *** [dromajo_build] Error 1
make[3]: Leaving directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools'
/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/Makefile.tools:73: recipe for target '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/install/touchfiles/dromajo.def268efcceb943cc29d7a27b5c03aeb7ad327e9' failed
make[2]: *** [/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools/install/touchfiles/dromajo.def268efcceb943cc29d7a27b5c03aeb7ad327e9] Error 2
make[2]: Leaving directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools'
Makefile:16: recipe for target 'tools_lite' failed
make[1]: *** [tools_lite] Error 2
make[1]: Leaving directory '/home/lapdang/test/zynq-parrot/cosim/import/black-parrot-tools'
Makefile:9: recipe for target 'prep' failed
make: *** [prep] Error 2
lapdang@lapdang-Laptop:~/test/zynq-parrot$ 

================
Pls take a look and advice for me. Thank you.

Vào Th 2, 4 thg 3, 2024 vào lúc 10:40 Lap Dang <lap...@gmail.com> đã viết:

Daniel Petrisko

unread,
Mar 5, 2024, 1:10:40 AM3/5/24
to Lap Dang, black-parrot
That means your cmake is cmake2 instead of cmake3. You should be able to set CMAKE=cmake3 after installing

Best,
-Dan

Lap Dang

unread,
Mar 6, 2024, 12:01:26 AM3/6/24
to Daniel Petrisko, black-parrot
Hi Dan, 

Thank you. And I have some updates:
- My current cmake is already 3.0 and building needs cmake version >= 3.20, so I updated my cmake. It resolved the issue.

Hi Dan, with project simulation (NOT use board), do you have any guideline to testing the BlackParrot to print some params of the system such as: LUT, BRAM, timing, runtime (in case test with run custom application), numberCore, benchMark?

Regards,
Lap

Vào Th 3, 5 thg 3, 2024 vào lúc 13:10 Daniel Petrisko <petr...@cs.washington.edu> đã viết:

Daniel Petrisko

unread,
Mar 6, 2024, 1:11:56 AM3/6/24
to Lap Dang, black-parrot

If you run through synthesis, those parameters will be part of the vivado reports. 

“make open” after a successful run will open the project and you can poke around. 

The READMEs describe how to run simulations for benchmarking, but high-level is to “make run” in cosim/black-parrot-example/verilator

Best,
-Dan

Lap Dang

unread,
Mar 6, 2024, 10:24:06 AM3/6/24
to Daniel Petrisko, black-parrot
Hi Dan,

I run "make prep" and end of process, I got the log:

make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make -j1 bedrock
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'bedrock'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make dromajo
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'dromajo'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make gnudramfs
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'gnudramfs'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make -j1 perch
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'perch'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make -j1 bootrom
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'bootrom'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make -j1 bp-demos
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'bp-demos'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make -j1 bp-tests
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'bp-tests'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make -j1 riscv-tests
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'riscv-tests'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make -j1 coremark
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'coremark'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make -j1 beebs
make[2]: Entering directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
cat: /etc/centos-release: No such file or directory
make[2]: Nothing to be done for 'beebs'.
make[2]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
make[1]: Leaving directory '/home/lapdang/workspace/project/zynq-parrot/software/import/black-parrot-sdk'
lapdang@lapdang-ThinkPad-13-2nd-Gen:~/workspace/project/zynq-parrot$
/////////////////////// 

Seems I got the error: cat: /etc/centos-release: No such file or directory, right? Pls advice. Thanks

Vào Th 4, 6 thg 3, 2024 vào lúc 13:11 Daniel Petrisko <petr...@cs.washington.edu> đã viết:

Daniel Petrisko

unread,
Mar 6, 2024, 10:51:03 AM3/6/24
to Lap Dang, black-parrot
If you’re not running on centos, that’s fine and expected. Seems to have completed successfully.  

Best,
-Dan

On Mar 6, 2024, at 7:24 AM, Lap Dang <lap...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages