https://open-source-silicon.dev logo
Title
k

Kristoffer

03/31/2023, 6:44 PM
Hello everyone! I am currently going through the quickstart guide for the Caravel user project. After running the hardening command (make user_proj_example) I end up get error messages after Step 17
[ERROR]: during executing openroad script /openlane/scripts/openroad/droute.tcl
[ERROR]: Log: ../home/AIC/Caravel_Integration/openlane/user_proj_example/runs/23_03_31_19_53/logs/routing/17-detailed.log
[ERROR]: Last 10 lines:
[INFO DRT-0186] Done with 294 vertical wires in 9 frboxes and 726 horizontal wires in 6 frboxes.
[INFO DRT-0182] Complete track assignment.
[INFO DRT-0267] cpu time = 00:01:10, elapsed time = 00:00:38, memory = 1691.01 (MB), peak = 2435.92 (MB)
[INFO DRT-0187] Start routing data preparation.
[INFO DRT-0267] cpu time = 00:00:00, elapsed time = 00:00:00, memory = 1691.01 (MB), peak = 2435.92 (MB)
[INFO DRT-0194] Start detail routing.
[INFO DRT-0195] Start 0th optimization iteration.
    Completing 10% with 0 violations.
    elapsed time = 00:00:26, memory = 2698.28 (MB).
child killed: kill signal
[ERROR]: Creating issue reproducible...
I also get the following lines. Any solution?
[ERROR]: Flow failed.
make[1]: *** [Makefile:73: user_proj_example] Error 255
make[1]: Leaving directory '/home/AIC/Caravel_Integration/openlane'
make: *** [Makefile:107: user_proj_example] Error 2
i

Ioannis

03/31/2023, 7:06 PM
Is this being ran on a memory-constrained system? It could be possible that your system is running out of memory, and killing the openroad process. If you're on linux, what does
dmesg -T | grep 'killed'
say?
k

Kristoffer

03/31/2023, 7:16 PM
Running on Windows/WSL my laptop has 8 GB of ram, but I check task manager and the ram usage is at roughly 80%.
i

Ioannis

03/31/2023, 7:17 PM
It's still worth checking for OOM (Out Of Memory) killer action IMO, because the WSL VM may have had a limited amount of RAM (auto-)assigned to it
v

Vijayan Krishnan

04/01/2023, 2:23 AM
Increase your swap memory and try once
k

Kristoffer

04/12/2023, 10:09 AM
Ended up doing the quickstart guide for Caravel on my desktop computer which has more RAM. Hardening of the user_proj_example went without issues and I did not get stuck at step 17.
i

Ioannis

04/12/2023, 5:25 PM
Nice! Have fun designing!