sva-qlora-verified
QLoRA adapter for generating SystemVerilog Assertions
1 min readupdated
This is a QLoRA adapter (a lightweight add-on for memory-efficient fine-tuning) built on Qwen2.5-Coder-7B-Instruct. Trained on verified data pairs (the Verified, Veri2 variant), it automatically generates SystemVerilog Assertions (verification properties) from RTL code. It is built for chip verification engineers, SystemVerilog developers, and anyone working in digital design with hardware description languages.
Key features
- Built on the efficient Qwen2.5-Coder-7B-Instruct architecture.
- Uses QLoRA for fine-tuning tailored to engineering workflows.
- Trained on verified data pairs (Veri2) to ensure reliable output code.
- Focused on generating SystemVerilog Assertions directly from RTL.
What you can do
- Automate SystemVerilog Assertion creation from existing RTL code in your projects.
- Plug the adapter into digital circuit testing and verification pipelines.
- Speed up specification development and assertion writing for simulation.
Example
Load the Qwen/Qwen2.5-Coder-7B-Instruct base model alongside the veri2-anon/sva-qlora-verified adapter weights via the peft library to generate assertions from your RTL descriptions.
Read more
DetailsLibrary: peft
Base model: Qwen/Qwen2.5-Coder-7B-Instruct
Dataset and code: available in the repository on 4open.science










Comments