<#1486 Crash in floorplanning when using asap7> Is...
# openlane-development
g
#1486 Crash in floorplanning when using asap7 Issue created by yupferris Description When attempting to use the flow on any design using asap7 (using this version of volare to install/activate as well as #1484 and #1485), I get a crash in
openroad
when floorplanning tries to insert tie cells. To reproduce: 1. Use a local volare build with this patch to enable asap7 support and build/enable the PDK
Copy code
volare build -j$(nproc) --pdk asap7 --clear-build-artifacts --sram -l all 1967b4b2eb2c32b33f948bad4891b8cebd0107f0
volare enable --pdk asap7 1967b4b2eb2c32b33f948bad4891b8cebd0107f0
Note that the hashes here simply refer to the latest commit in the
OpenROAD-flow-scripts
repo. 2. Try to run (any) design through the OpenLane flow
Copy code
PDK=asap7 STD_CELL_LIBRARY=asap7sc7p5t STD_CELL_LIBRARY_OPT=asap7sc7p5t ./flow.tcl -design gcd
Expected Behavior I wanted to get a simple design through the OpenLane flow using asap7 (or at the very least, past floorplanning, where I could continue to debug further issues I may encounter). Environment report
Copy code
Kernel: Linux v5.15.0-48-generic
Distribution: ubuntu 22.04
Python: v3.10.6 (OK)
Container Engine: docker v20.10.12 (OK)
OpenLane Git Version: floorplanning-crash-dev
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

a3bbfe0 2022-11-11T14:40:46+01:00 Use LIB_SYNTH instead of LIB_SYNTH_COMPLETE in some OpenROAD scripts - Jake Taylor -  (HEAD -> floorplanning-crash, ascenium/floorplanning-crash)
7f7ebc1 2022-11-11T14:31:37+01:00 Include all PDK lib files when merging - Jake Taylor -  (ascenium/include-all-pdk-cells, include-all-pdk-cells)
a0b19fa 2022-11-01T19:09:25+02:00 Add Wire Length Checker (#1463) - Mohamed Gaber -  (grafted, tag: 2022.11.02, origin/master, origin/HEAD, master)
---
Git Remotes

origin	git@github.com:The-OpenROAD-Project/OpenLane.git (fetch)
origin	git@github.com:The-OpenROAD-Project/OpenLane.git (push)
Reproduction material reproducible.tar.gz Relevant log output
Copy code
<earlier messages omitted>

Stack trace:
 0# 0x0000000000CA52F7 in openroad
 1# 0x00007FA6FEBA1400 in /lib64/libc.so.6
 2# ifp::InitFloorplan::insertTiecells(odb::dbMTerm*, std::string const&) in openroad
 3# 0x0000000000CB0B18 in openroad
 4# 0x00007FA7018EEEB2 in /lib64/libtcl8.5.so
 5# 0x00007FA70193336C in /lib64/libtcl8.5.so
 6# TclObjInterpProcCore in /lib64/libtcl8.5.so
 7# 0x00007FA7018EEEB2 in /lib64/libtcl8.5.so
 8# 0x00007FA70193336C in /lib64/libtcl8.5.so
 9# 0x00007FA70193B647 in /lib64/libtcl8.5.so
10# TclEvalObjEx in /lib64/libtcl8.5.so
11# 0x00007FA70197627F in /lib64/libtcl8.5.so
12# 0x00007FA7018EEEB2 in /lib64/libtcl8.5.so
13# 0x00007FA70193336C in /lib64/libtcl8.5.so
14# 0x00007FA70193B647 in /lib64/libtcl8.5.so
15# TclEvalObjEx in /lib64/libtcl8.5.so
16# 0x00007FA7018F61D0 in /lib64/libtcl8.5.so
17# 0x00007FA7018EEEB2 in /lib64/libtcl8.5.so
18# 0x00007FA70193336C in /lib64/libtcl8.5.so
19# 0x00007FA70193B647 in /lib64/libtcl8.5.so
20# TclEvalObjEx in /lib64/libtcl8.5.so
21# 0x00007FA7018F9F00 in /lib64/libtcl8.5.so
22# 0x00007FA7018EEEB2 in /lib64/libtcl8.5.so
23# 0x00007FA70193336C in /lib64/libtcl8.5.so
24# TclObjInterpProcCore in /lib64/libtcl8.5.so
25# 0x00007FA7018EEEB2 in /lib64/libtcl8.5.so
26# 0x00007FA70193336C in /lib64/libtcl8.5.so
27# TclObjInterpProcCore in /lib64/libtcl8.5.so
28# 0x00007FA7018EEEB2 in /lib64/libtcl8.5.so
29# 0x00007FA7018EFF1E in /lib64/libtcl8.5.so
30# Tcl_EvalEx in /lib64/libtcl8.5.so
31# Tcl_Eval in /lib64/libtcl8.5.so
32# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in openroad
33# ord::tclAppInit(Tcl_Interp*) in openroad
34# Tcl_Main in /lib64/libtcl8.5.so
35# main in openroad
36# __libc_start_main in /lib64/libc.so.6
37# 0x0000000000CA05E7 in openroad
[ERROR]: during executing openroad script /openlane/scripts/openroad/floorplan.tcl
[ERROR]: Log: designs/gcd/runs/RUN_2022.11.11_13.58.10/logs/floorplan/3-initial_fp.log
[ERROR]: Last 10 lines:
child killed: segmentation violation
The-OpenROAD-Project/OpenLane