m-labs / migen

A Python toolbox for building complex digital hardware
https://m-labs.hk/migen
Other
1.2k stars 209 forks source link

How to create a ClockDomain for I2C ? #244

Closed jimmymagemtek closed 3 years ago

jimmymagemtek commented 3 years ago

Hi Sir, The sys clock of FPGA is 50MHz, while my I2C Master need a much slower clock to work .

How do I create a new ClockDomain for I2C master ? Could you provide a link for my reference ? Since I can't find any example in Wiki.

Many Thanks.

Jimmy

sbourdeauducq commented 3 years ago

You don't need to. See the example I posted in the issue you opened in nmigen.