How realisshoon/spi_i2c_uvm works
This repository contains SPI and I2C master/slave RTL, UVM verification environments, and FPGA board-validation material. The principal documented workflow is generating directed or random SPI transactions and comparing received data, and checking I2C protocol transactions including ACK/NACK behavior. The graph includes the major verification components and FPGA integration RTL; source excerpts were not provided, so internal calls and wiring not stated in the README are omitted.
Main entry points: spi_master.sv SPI Master · spi_slave.sv SPI Slave · spi_monitor.sv SPI Monitor · spi_scoreboard.sv SPI Scoreboard
Components 16
SPI Design and Verification
- SPI Master
spi/rtl/spi_master.sv - SPI Slave
spi/rtl/spi_slave.sv - SPI Sequences
spi/tb/spi_sequence.sv - SPI Monitor
spi/tb/spi_monitor.sv - SPI Scoreboard
spi/tb/spi_scoreboard.sv - SPI Coverage
spi/tb/spi_coverage.sv
I2C Design and Verification
- I2C Master
i2c/rtl/i2c_master.sv - I2C Slave
i2c/rtl/i2c_slave.sv - I2C Sequences
i2c/tb/i2c_sequence.sv - I2C Driver
i2c/tb/i2c_driver.sv - I2C Monitor
i2c/tb/i2c_monitor.sv - I2C Scoreboard
i2c/tb/i2c_scoreboard.sv - I2C Coverage
i2c/tb/i2c_coverage.sv
FPGA Integration
- Master Top
fpga/master/rtl/master_top.sv - Slave Top
fpga/slave/rtl/slave_top.sv - Shared Integration Top
fpga/shared_rtl/spi_i2c_top.sv
Connections 3
- SPI Master → SPI Slave: drives SPI signals
README.md - SPI Slave → SPI Master: returns MISO
README.md - SPI Monitor → SPI Scoreboard: compares received data
README.md