I'm just getting started with FPGAs and I'm using the MachXO2 Breakout board from Lattice.
(The same one that MikesElectricStuff used in his Nano LCD project).
The MachXO2 has embedded function blocks (EFBs) containing 'hardened' implementations of such things as I2C, SPI and Counters etc.
As far as I can see these are all accessed via the WISHBONE interface, and I found a few examples on Lattice's website - but all the examples use the Mico soft-processor to control the EFBs.
What I'm looking for is a basic example of using the I2C function block from Verilog without the Mico soft processor. I haven't been able to find much documentation or examples on how to do that.
Does anyone have any Verilog examples of accessing the I2C EFBs via wishbone?