最初のページ
戻る
次へ
最後のページ
図
実行手順
ターミナルでつぎのコマンドを実行
iverilog -o tmp comparator.v comparator-testbench.v
vvp tmp
comparator-if.vをコンパイルするときは
iverilog -o tmp
comparator-if.v
comparator-testbench.v
vvp tmp
テストベンチはcomparator.vと
同じものを使用する