Adds i2c_bus_mod entity with a package i2c_bus_pkg. The model acts as both a monitor and generator. It supports operations such as waiting for a start or stop conditions, waiting for clocks, for data, checking the data etc.
Packages i2c_master_pkg and i2c_slave_pkg are added for master and slave operations operating on the i2c_bus_mod.
The recommended way to use the bus mod is to use one instance per master or slave, and additionally, another instance for additional monitoring purposes, such as waiting for x clocks, and then checking something on the dut.
Resolves #8.
Adds i2c_bus_mod entity with a package i2c_bus_pkg. The model acts as both a monitor and generator. It supports operations such as waiting for a start or stop conditions, waiting for clocks, for data, checking the data etc.
Packages i2c_master_pkg and i2c_slave_pkg are added for master and slave operations operating on the i2c_bus_mod.
The recommended way to use the bus mod is to use one instance per master or slave, and additionally, another instance for additional monitoring purposes, such as waiting for x clocks, and then checking something on the dut.