
0.1alpha リリースしました。
Raspberry Pi Pico2 上で動作するようにしました。soft-FPGA です。soft-FPGAはSoftware Defined FPGAの略です。
pico SDK VSCode拡張soft-FPGAビルド手順/mnt/c/pico2はWindowsのC:\pico2\git clone https://github.com/open-tommie/Soft-FPGA-TD4.git
Windows11: ファイルエクスプローラでクローンしたSoft-FPGA-TD4フォルダーを開き、VSVodeワークスペースファイルをダブルクリック
./Soft-FPGA-TD4/verilator-TD4/02-verilater-TD4.code-workspace
VSCode: 右下の□ Compileアイコンをクリックしてビルドする。成功すると以下のようなログを出力する。
[101/101] Linking CXX executable test.elf
* Terminal will be reused by tasks, press any key to close it.
VSCode: buildフォルダーにtest.uf2が作成されたことを確認する。

BOOTSELボタンを押したまま、USBケーブルでPCと接続します。BOOTSELボタンを離します。
BOOTSELを押しながら接続を試してください。(TBD)
(TBD)
MSYS2 UCRT64でシェルスクリプトを実行します。
tommie@PC40-UCRT64:/c/pico2/Soft-FPGA-TD4/verilator-TD4$ ./do-verilator.sh
#!/bin/bash -v
# Verilatorを使ってVerilogコードをC++に変換
#
# MSYS2 UCRT64環境で実行することを想定
# 実行方法: ./do-verilator.sh
verilator --no-timing --cc TD4.v --exe main.cpp --top-module TD4 --threads 1 --threads-dpi none -o VTD4_sim
- V e r i l a t i o n R e p o r t: Verilator 5.040 2025-08-30 rev UNKNOWN.REV
- Verilator: Built from 0.000 MB sources in 0 modules, into 0.000 MB in 0 C++ files needing 0.000 MB
- Verilator: Walltime 0.002 s (elab=0.000, cvt=0.000, bld=0.000); cpu 0.000 s on 1 threads; alloced 5.172 MB
(TBD)
(TBD)
topはverilatorが出力するTD4.vのモデルインスタンス
