Understand the differences in VerilogEvalV2
mainVerilogEvalV2 (released August 2024) introduces several changes compared to the original 1.0 version:
- Task Scope: Includes specification-to-RTL tasks in addition to the original code completion tasks.
- Prompting: Prompts are reframed to specify module interfaces more abstractly rather than explicitly including the Verilog module interface.
- Data Management: The dataset is managed as plain text files instead of a single large JSONL file.
- In-Context Learning: Supports adding in-context learning examples (0-4) via the
--with-examplesflag. - Analysis: Includes scripts to categorize common
iverilogfailures and output results in plain text or CSV. - Metrics:
Pass@10is no longer reported. Instead, it reportsPass@1for two configurations:- Low temperature: $n=1$ (temperature=0, top_p=0.01)
- High temperature: $n=20$ (temperature=0.85, top_p=0.95)
- Limitations:
MachineEvalis not supported in V2; only Human Eval problem statements are included.