`--cc_model` is ignored in v2 engine

Abierto
#11,480 2 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@AcKoucher ya está trabajando en esto.

Desde el 22/9/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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

Lenguaje dominante
Verilog
Estrellas
3.4k
Forks
1.1k
Merge medio
3 d 11 h
PR fusionados (30 d)
245

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de The-OpenROAD-Project/OpenROAD

Todos los issues de The-OpenROAD-Project/OpenROAD

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.