`--cc_model` is ignored in v2 engine

Đang mở
#11,480 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@AcKoucher đang làm issue này rồi.

Từ ngày 22/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

rcx
Describe the bug

As far as I understand, the parameter is just ignored because of this hard-coded value
https://github.com/The-OpenROAD-Project/OpenROAD/blob/dcf36133a369abc8f3c5e5738cd4d82e4903c0e0/src/rcx/src/extFlow_v2.cpp#L273-L274

This can be reproduced with a simple input with two parallel wires far enough apart for the default value not to capture it. v1 reports correct coupling when --cc_model is increased, while v2 doesn't.

Expected Behavior

Parameter influences the behavior

Environment
Unknown git commit, this is not a git repository.

Please make sure that you have the latest code changes and add the commit
hash in the description.

kernel: Linux 6.8.0-1044-azure
os: Unidentified OS, could not find /etc/os-release. 
cmake version 4.1.2
CMake Warning at CMakeLists.txt:72 (message):
  OpenROAD git describe failed, using sha1 instead


CMake Warning at src/CMakeLists.txt:239 (message):
  spdlog: SPDLOG_FMT_EXTERNAL=TRUE


-- The CXX compiler identification is Clang 18.1.8
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/75zyg6v7hsi8hdbc2irxy67aazsvagms-clang-wrapper-18.1.8/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OpenROAD version: dcf36133a369abc8f3c5e5738cd4d82e4903c0e0
-- System name: Linux
-- Compiler: Clang 18.1.8
-- Build type: RELEASE
-- Install prefix: /usr/local
-- C++ Standard: 20
-- C++ Standard Required: ON
-- C++ Extensions: OFF
-- LTO/IPO is not supported: Change Dir: '/build/tmp.xOmTiST3AL/CMakeFiles/_CMakeLTOTest-CXX/bin'
/nix/store/ipjw0mbzcycidbw62gsz47cgivqxm2lv-cmake-4.1.2/bin/cmake -S/build/tmp.xOmTiST3AL/CMakeFiles/_CMakeLTOTest-CXX/src -B/build/tmp.xOmTiST3AL/CMakeFiles/_CMakeLTOTest-CXX/bin --check-build-system CMakeFiles/Makefile.cmake 0
/nix/store/ipjw0mbzcycidbw62gsz47cgivqxm2lv-cmake-4.1.2/bin/cmake -E cmake_link_script CMakeFiles/foo.dir/link.txt --verbose=1
-- Found OpenSTA: /nix/store/nk85yly57rf6vhafd9ljranlw7s6ajmm-opensta-dev/lib/libOpenSTA.a
-- Using OPENSTA_INCLUDE_DIR=/usr/include/sta
-- Using ABC_INCLUDE_DIR=/usr/include/abc
-- TCL library: /nix/store/3wfdf1whpvadk4x4iwms92kw52rdpvgc-tcl-8.6.16/lib/libtcl.so
-- TCL header: /nix/store/3wfdf1whpvadk4x4iwms92kw52rdpvgc-tcl-8.6.16/include/tcl.h
-- TCL readline library: /nix/store/igaxzcl5fpvf1avy56jz4is15a88jc4r-tclreadline-2.4.1/lib/libtclreadline.so
-- TCL readline header: /nix/store/igaxzcl5fpvf1avy56jz4is15a88jc4r-tclreadline-2.4.1/include
-- Found SWIG: /nix/store/13n2vf0pmvfgbiq2jrzv2ccgdrcrq626-swig-4.3.1/bin/swig (found suitable version "4.3.1", minimum required is "4.0")
-- Using SWIG >= 4.3.1 -flatstaticmethod flag for python
-- boost: 1.86.0
-- Found Python3: /nix/store/lp1pfxqrslwn57x9n4lfvwfsmqdkvwhj-python3-3.13.9/include/python3.13 (found version "3.13.9") found components: Development Development.Module Development.Embed
-- Found ZLIB: /nix/store/4wdz42ns29ys6fm1xak68bnp51nxhd2s-zlib-1.3.1/lib/libz.so (found version "1.3.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- spdlog: 1.15.3
-- Found BISON: /nix/store/zk0cdng119963jznwc34yif9w49qk4z5-bison-3.8.2/bin/bison (found version "3.8.2")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Found BZip2: /nix/store/6xjsxpkv9mfmfqyhy3imv52ybcjb1sx6-bzip2-1.0.8/lib/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found Protobuf: /nix/store/0zhd0iz7310547sp57lnfvc08ygr1lk6-protobuf-32.1/lib/libprotobuf.so (found version "6.32.1")
-- Found re2: /nix/store/1104ma9vcnn0lxdjrcjfpwdpvy4qar73-re2-2025-08-12-dev/lib/cmake/re2/re2Config.cmake (found version "11.0.0")
-- Found GLPK: /nix/store/fzjy2x4y4lfv1xbqyl14gfpsdz6x88hq-glpk-5.0/lib/libglpk.so
-- Found OpenMP_CXX: -fopenmp=libomp (found version "5.1")
-- Found OpenMP: TRUE (found version "5.1")
-- Found OR-Tools: /nix/store/hg023bsz6k4gl7fsazricis35xpqy3jk-or-tools-9.14/lib/cmake/ortools (version: 9.14.9999)
-- TCL library: /nix/store/3wfdf1whpvadk4x4iwms92kw52rdpvgc-tcl-8.6.16/lib/libtcl.so
-- TCL header: /nix/store/3wfdf1whpvadk4x4iwms92kw52rdpvgc-tcl-8.6.16/include/tcl.h
-- The C compiler identification is Clang 18.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/75zyg6v7hsi8hdbc2irxy67aazsvagms-clang-wrapper-18.1.8/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenMP_C: -fopenmp=libomp (found version "5.1")
-- Found OpenMP: TRUE (found version "5.1")
-- Found OpenMP: TRUE (found version "5.1")
-- Found OpenGL: /nix/store/kfb1qi415yknw6a874ix6j8rpvff91la-libglvnd-1.7.0/lib/libOpenGL.so
-- GUI is enabled
-- Could NOT find VTune (missing: VTune_LIBRARIES VTune_INCLUDE_DIRS) 
-- TCL library: /nix/store/3wfdf1whpvadk4x4iwms92kw52rdpvgc-tcl-8.6.16/lib/libtcl.so
-- TCL header: /nix/store/3wfdf1whpvadk4x4iwms92kw52rdpvgc-tcl-8.6.16/include/tcl.h
-- Found Eigen3: /nix/store/a3x31d8x130dg2lwcq2x0d8jl3f3sazp-eigen-3.4.1/share/eigen3/cmake/Eigen3Config.cmake (found version "3.4.1")
-- TCL readline enabled
-- Tcl Extended disabled
-- Python3 enabled
-- Configuring done (5.4s)
-- Generating done (0.6s)
-- Build files have been written to: /build/tmp.xOmTiST3AL
To Reproduce

openrcx-v2-cc-model.zip

openroad -exit reproduce.tcl

Relevant log output

Screenshots

No response

Additional Context

No response

Ngôn ngữ chính
Verilog
Star
3.4k
Fork
1.1k
Merge trung bình
3 ngày 11 giờ
Pull request đã merge (30 ngày)
245

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của The-OpenROAD-Project/OpenROAD

Tất cả issue của The-OpenROAD-Project/OpenROAD

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.