🧪 testbench/
このディレクトリは、C→HDL 変換後のRTLを検証するためのサンプルとテンプレートをまとめています。
This directory provides samples and templates to verify RTL after C→HDL conversion.
使い方 / How to Use
c_to_hdl/で生成した Verilog をrtl/に配置
Place generated Verilog intortl/tb/のテストベンチを実行(Icarus/Verilator 等)
Run testbenches intb/(Icarus/Verilator, etc.)- 参照結果と波形で C と RTL の一致を確認
Check C vs RTL equivalence via logs/waves
構成 / Layout
rtl/… 生成したRTLを置く / generated RTL heretb/… テストベンチ / testbenchesscripts/… 実行スクリプト / run scripts