Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in chameleon with mpl2 #1850

Open
maliberty opened this issue Mar 18, 2024 · 0 comments
Open

Crash in chameleon with mpl2 #1850

maliberty opened this issue Mar 18, 2024 · 0 comments
Assignees
Labels
mpl Macro Placement

Comments

@maliberty
Copy link
Member

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 maliberty added the mpl Macro Placement label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mpl Macro Placement
Projects
None yet
Development

No branches or pull requests

2 participants