I2c Master testing on FPGA board

344 Views Asked by At

I have implemented i2c master code for reading temperature value from temp sensor(slave).i am testing my code on FPGA evolution board.FPGA is Microsemi nano very basic FPGA.How can I test my master without connecting to the slave device?

1

There are 1 best solutions below

0
Jamey Hicks On

I recommend writing a test bench that simulates the behavior of a slave device and checks for the correct sequence of actions from your I2C master and use it in simulation.