Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ORFS call to yosys-abc hits assertion if capacitive_load_unit isn't ff

オープン
#3,011 コメント 5 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@maliberty がすでに取り組んでいます。

2026年8月19日 から。

評価

この issue はまだ評価されていません。

説明

Stale
Subject

[Flow] for any util, flow Makefile, or flow script issues.

Describe the bug

If the first Liberty file that is listed in LIB_FILES has capacitive_load_unit set to anything other than "ff", the ORFS call to yosys-abc (via yosys) fails with an assertion error that is hidden from the ORFS user.

What the ORFS user sees is:

24. Executing ABC pass (technology mapping using ABC).
24.1. Extracting gate netlist of module `\gcd' to `<abc-temp-dir>/input.blif'..
24.1.1. Executing ABC.
ERROR: ABC: execution of command ""/home/jeffng/dev/vt_ref/OpenROAD-flow-scripts/tools/install/yosys/bin/yosys-abc" -s -f /tmp/yosys-abc-6lOhd2/abc.script 2>&1" failed: return code 134.
Command exited with non-zero status 1
Expected Behavior

yosys-abc (and more specifically abc) should be able to handle a capacitive_load_unit other than ff and scale the values accordingly for their own use.

Environment
ORFS 344623d0a158d1385a920da5dda85d157eb65386 (Jeff's branch with the mods to ASAP7 for repro)

Can also use https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/pull/3010
To Reproduce

make DESIGN_CONFIG=designs/asap7/gcd/config.mk

The contents of the abc script that gets executed and generates the assertion:

echo + read_blif "/tmp/yosys-abc-6lOhd2/input.blif";
read_blif "/tmp/yosys-abc-6lOhd2/input.blif";
echo + read_lib -X "*x1p*_ASAP7*" -X "*xp*_ASAP7*" -X "SDF*" -X "ICG*"   -w "/ho
me/jeffng/dev/vt_ref/OpenROAD-flow-scripts/flow/./objects/asap7/gcd/base/lib/mer
ged.lib" ;
read_lib -X "*x1p*_ASAP7*" -X "*xp*_ASAP7*" -X "SDF*" -X "ICG*"   -w "/home/jeff
ng/dev/vt_ref/OpenROAD-flow-scripts/flow/./objects/asap7/gcd/base/lib/merged.lib
" ;
echo + read_constr -v "/home/jeffng/dev/vt_ref/OpenROAD-flow-scripts/flow/./obje
cts/asap7/gcd/base/abc.constr";
read_constr -v "/home/jeffng/dev/vt_ref/OpenROAD-flow-scripts/flow/./objects/asa
p7/gcd/base/abc.constr";
echo + source /home/jeffng/dev/vt_ref/OpenROAD-flow-scripts/flow/scripts/abc_spe
ed.script;
source /home/jeffng/dev/vt_ref/OpenROAD-flow-scripts/flow/scripts/abc_speed.scri
pt;
echo + write_blif /tmp/yosys-abc-6lOhd2/output.blif;
write_blif /tmp/yosys-abc-6lOhd2/output.blif
Relevant log output

Screenshots

No response

Additional Context

No response

主要言語
Verilog
スター
767
フォーク
544
平均マージ
2日 3時間
マージ済み PR(30日)
96

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

The-OpenROAD-Project/OpenROAD-flow-scripts のほかの issue

The-OpenROAD-Project/OpenROAD-flow-scripts の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。