🧪 testbench/

View Repo

このディレクトリは、C→HDL 変換後のRTLを検証するためのサンプルとテンプレートをまとめています。
This directory provides samples and templates to verify RTL after C→HDL conversion.

使い方 / How to Use

  1. c_to_hdl/ で生成した Verilog を rtl/ に配置
    Place generated Verilog into rtl/
  2. tb/ のテストベンチを実行(Icarus/Verilator 等)
    Run testbenches in tb/ (Icarus/Verilator, etc.)
  3. 参照結果と波形で C と RTL の一致を確認
    Check C vs RTL equivalence via logs/waves

構成 / Layout