FPGA開発日記

カテゴリ別記事インデックス https://msyksphinz.github.io/github_pages , English Version https://fpgadevdiary.hatenadiary.com/

2025-09-13から1日間の記事一覧

RISC-V Formal Verification Framework (riscv-formal) についてまとめる (13. VexRiscvにCLZ命令を実装する)

前回の記事では、riscv-formalフレームワークを使用してVexRiscvの動作確認を行った。今回は、RISC-V Zbb拡張のCLZ(Count Leading Zeros)命令をVexRiscvに実装し、riscv-formalで検証する。 CLZ命令は、RISC-V Zbb拡張(Bit Manipulation Extension)に含…