OpenROAD-flow-scripts icon indicating copy to clipboard operation
OpenROAD-flow-scripts copied to clipboard

Segmentation fault during setup violations repair

Open damor-rbz opened this issue 5 months ago • 0 comments
trafficstars

Subject

Describe the bug

I have created a project using picosoc and added I/O PADs similar to the i2c-gpio project. During the "make cts" phase there is a segmentation fault and the proces stops. Changin the constraints to a lower clock passes and the desing can get to the end of the process.

[INFO RSZ-0099] Repairing 4 out of 4 (100.00%) violating endpoints... Iter | Removed | Resized | Inserted | Cloned | Pin | Area | WNS | TNS | Viol | Worst | Buffers | Gates | Buffers | Gates | Swaps | | | | Endpts | Endpt

    0 |       0 |       0 |        0 |      0 |     0 |    +0.0% |   -2.930 |      -11.4 |      4 | io_flash_io0_do_PAD load

Signal 11 received Stack trace: 0# 0x000059E7F125CF92 in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 1# 0x000072D3D1262520 in /lib/x86_64-linux-gnu/libc.so.6 2# odb::dbITerm::connect(odb::dbNet*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 3# rsz::RepairSetup::rebufferTopDown(std::shared_ptrrsz::BufferedNet const&, sta::Net*, int, sta::Instance*, odb::dbITerm*, odb::dbModNet*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 4# rsz::RepairSetup::rebufferTopDown(std::shared_ptrrsz::BufferedNet const&, sta::Net*, int, sta::Instance*, odb::dbITerm*, odb::dbModNet*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 5# rsz::RepairSetup::rebufferTopDown(std::shared_ptrrsz::BufferedNet const&, sta::Net*, int, sta::Instance*, odb::dbITerm*, odb::dbModNet*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 6# rsz::RepairSetup::rebuffer(sta::Pin const*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 7# rsz::RepairSetup::repairPath(sta::Path*, float, bool, bool, bool, bool, float) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 8# rsz::RepairSetup::repairSetup(float, double, int, int, bool, bool, bool, bool, bool, bool) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 9# rsz::Resizer::repairSetup(double, double, int, int, bool, bool, bool, bool, bool, bool, bool) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 10# 0x000059E7F13D3B2E in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 11# TclNRRunCallbacks in /lib/x86_64-linux-gnu/libtcl8.6.so 12# 0x000072D3D57B4028 in /lib/x86_64-linux-gnu/libtcl8.6.so 13# Tcl_EvalEx in /lib/x86_64-linux-gnu/libtcl8.6.so 14# Tcl_Eval in /lib/x86_64-linux-gnu/libtcl8.6.so 15# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 16# 0x000059E7F125C793 in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 17# Tcl_MainEx in /lib/x86_64-linux-gnu/libtcl8.6.so 18# main in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad 19# 0x000072D3D1249D90 in /lib/x86_64-linux-gnu/libc.so.6 20# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 21# _start in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad Command terminated by signal 11 Elapsed time: 0:07.90[h:]min:sec. CPU time: user 14.39 sys 19.66 (430%). Peak memory: 1086456KB. make[1]: *** [Makefile:519: do-4_1_cts] Error 1 make: *** [Makefile:519: results/ihp-sg13g2/picosoc_ihp_test/base/4_1_cts.odb] Error 2

Expected Behavior

The cts step is able to finish.

Environment

Using docker image with commit 6f51ec8c93e1edeb3be4d2747894fd28f711f28f

To Reproduce

cd flow export DESIGN_CONFIG=./designs/ihp-sg13g2/picosoc_ihp_test/config.mk make synth make floorplan make place make cts

Relevant log output

[INFO RSZ-0099] Repairing 4 out of 4 (100.00%) violating endpoints...
   Iter   | Removed | Resized | Inserted | Cloned |  Pin  |   Area   |    WNS   |   TNS      |  Viol  | Worst
          | Buffers |  Gates  | Buffers  |  Gates | Swaps |          |          |            | Endpts | Endpt
--------------------------------------------------------------------------------------------------------------
        0 |       0 |       0 |        0 |      0 |     0 |    +0.0% |   -2.930 |      -11.4 |      4 | io_flash_io0_do_PAD load
Signal 11 received
Stack trace:
 0# 0x000059E7F125CF92 in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 1# 0x000072D3D1262520 in /lib/x86_64-linux-gnu/libc.so.6
 2# odb::dbITerm::connect(odb::dbNet*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 3# rsz::RepairSetup::rebufferTopDown(std::shared_ptr<rsz::BufferedNet> const&, sta::Net*, int, sta::Instance*, odb::dbITerm*, odb::dbModNet*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 4# rsz::RepairSetup::rebufferTopDown(std::shared_ptr<rsz::BufferedNet> const&, sta::Net*, int, sta::Instance*, odb::dbITerm*, odb::dbModNet*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 5# rsz::RepairSetup::rebufferTopDown(std::shared_ptr<rsz::BufferedNet> const&, sta::Net*, int, sta::Instance*, odb::dbITerm*, odb::dbModNet*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 6# rsz::RepairSetup::rebuffer(sta::Pin const*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 7# rsz::RepairSetup::repairPath(sta::Path*, float, bool, bool, bool, bool, float) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 8# rsz::RepairSetup::repairSetup(float, double, int, int, bool, bool, bool, bool, bool, bool) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 9# rsz::Resizer::repairSetup(double, double, int, int, bool, bool, bool, bool, bool, bool, bool) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
10# 0x000059E7F13D3B2E in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
11# TclNRRunCallbacks in /lib/x86_64-linux-gnu/libtcl8.6.so
12# 0x000072D3D57B4028 in /lib/x86_64-linux-gnu/libtcl8.6.so
13# Tcl_EvalEx in /lib/x86_64-linux-gnu/libtcl8.6.so
14# Tcl_Eval in /lib/x86_64-linux-gnu/libtcl8.6.so
15# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
16# 0x000059E7F125C793 in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
17# Tcl_MainEx in /lib/x86_64-linux-gnu/libtcl8.6.so
18# main in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
19# 0x000072D3D1249D90 in /lib/x86_64-linux-gnu/libc.so.6
20# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
21# _start in /OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
Command terminated by signal 11
Elapsed time: 0:07.90[h:]min:sec. CPU time: user 14.39 sys 19.66 (430%). Peak memory: 1086456KB.
make[1]: *** [Makefile:519: do-4_1_cts] Error 1
make: *** [Makefile:519: results/ihp-sg13g2/picosoc_ihp_test/base/4_1_cts.odb] Error 2

Screenshots

No response

Additional Context

Project used to replicate the problem

picosoc_ihp_test.tar.gz

damor-rbz avatar May 26 '25 07:05 damor-rbz