Skip to content

mayuresh-09-debug/UVM-Style-Python-Verification-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

UVM-Style Python Verification Script

This project demonstrates a basic hardware verification environment implemented in Python using Object-Oriented Programming (OOP) principles. It mimics the architecture of modern Universal Verification Methodology (UVM) frameworks used in industry-standard EDA tools.

Architecture & OOP Mapping

The script models a hardware testbench environment through three core components:

  1. DataPacket (class DataPacket) — Acts as the UVM Sequence Item. It encapsulates the transaction data (randomized addresses and data payloads) in hexadecimal format.

  2. PacketGenerator (class PacketGenerator) — Acts as the UVM Sequencer/Driver. It uses random distribution to generate verification stimulus to stress-test system constraints.

  3. VerificationMonitor (class VerificationMonitor) — Acts as the UVM Monitor & Scoreboard. It continuously tracks the generated data packets, checks them against protocol constraints (e.g., maximum valid address limits), flags runtime errors, and logs a test pass/fail summary.

  4. How to Run

  5. Ensure you have Python installed, then run the script via your terminal:

python test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages