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

Crash in chameleon with mpl2

Open maliberty opened this issue 11 months ago • 0 comments

Subject

Describe the bug

If I try to enable mpl2 for sky130hd/chameleon with

-export MACRO_PLACEMENT = $(chameleon_DIR)/chameleon.macro_placment.cfg
+export SYNTH_HIERARCHICAL = 1
+
+export RTLMP_FLOW = True

I get

Traversed logical hierarchy
	Number of std cell instances: 2971
	Area of std cell instances: 25033.99
	Number of macros: 0
	Area of macros: 0.00
	Area of macros with halos: 6491855.00
	Area of std cell instances + Area of macros: 25033.99
	Core area: 10009950.00
	Design Utilization: 0.00
	Core Utilization: 0.00
	Manufacturing Grid: 5

/usr/include/c++/8/bits/stl_vector.h:950: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = std::pair<float, float>; _Alloc = std::allocator<std::pair<float, float> >; std::vector<_Tp, _Alloc>::const_reference = const std::pair<float, float>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
Signal 6 received
Stack trace:
 0# 0x0000000000DC0687 in /workspaces/mliberty-ssd/w3/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 1# 0x00007F02ABC4D5B0 in /lib64/libc.so.6
 2# gsignal in /lib64/libc.so.6
 3# abort in /lib64/libc.so.6
 4# std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, odb::dbSite*>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, odb::dbSite*> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, odb::dbSite*> > >::_M_erase(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, odb::dbSite*> >*) in /workspaces/mliberty-ssd/w3/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 5# mpl2::HierRTLMP::setIOClustersBlockages() in /workspaces/mliberty-ssd/w3/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 6# mpl2::HierRTLMP::runCoarseShaping() in /workspaces/mliberty-ssd/w3/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 7# mpl2::HierRTLMP::run() in /workspaces/mliberty-ssd/w3/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad

Expected Behavior

No crash

Environment

Commits

ORFS 12c7d2e07c59991900627e30a4c3ed0a657448f8
OR 50753a4c53db3cd42009d5117fe51b73ebfe8104

To Reproduce

Run as above

Relevant log output

No response

Screenshots

No response

Additional Context

No response

maliberty avatar Mar 18 '24 05:03 maliberty