How mooreslabaiv1/public works
Project Type and Purpose
• This repository is an open-source hardware IP demo library. Each top-level folder named IP_<name> contains a standalone RTL design (in SystemVerilog), its specification and testplan, plus a fully featured UVM-based verification environment.
• Purpose: showcase how to package, verify, and document basic accelerator, FSM, encoder, serial interface, and arbiter IPs.
Main Components
For each IP_<module> directory:
a. RTL Block
• rtl/full_rtl.sv or crc32_accelerator_p.sv – the synthesizable design
b. Specs & Testplan
• specs/*.txt or .pdf – high-level architecture and micro-arch spec
• testplan/*.txt or .csv – test cases and coverage goals
c. Verification Environment (verif/)
• env/ – UVM.env, agent instantiations
• src/ – drivers, monitors, sequences, reference models, scoreboard (for weighted_round_robin2)
• / – common include files (interfaces.incl, tb_src.incl)
• run/ – Makefile, rtl.f, testlist.f, run.sh scripts to compile and simulate
• tb/ – top-level testbench module
Relationships & Data Flow
• The RTL DUT sits at the center.
• From seq. library ➔ sequences drive agent driver ➔ DUT interface ➔ DUT block.
• DUT outputs ➔ agent monitor ➔ scoreboard/reference model ➔ coverage collector.
• run.sh / Makefile orchestrates compilation of RTL + testbench + UVM libraries + simulation run, then collects reports.
Architectural Patterns & Design Principles
• Directory-per-IP pattern promotes isolation: each IP is self-contained.
• UVM methodology: env + agent + drivers + monitors + sequences + scoreboard.
• Consistent naming convention: IP_<name>/rtl, spec(s), testplan, verif/{env,src,include,run,tb,tests}.
• For the weighted_round_robin2 IP: shows advanced UVM with multiple agents, scoreboard package, top-level env_cfg.