mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/cores/i2c: fix CSR generation
This commit is contained in:
parent
90128756f9
commit
b8b6ecef7c
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class I2CMasterMachine(Module):
|
|||
# ("stop", 1),
|
||||
# ("idle", 1),
|
||||
# ])
|
||||
class I2CMaster(Module):
|
||||
class I2CMaster(Module, AutoCSR):
|
||||
def __init__(self, pads, bus=None):
|
||||
if bus is None:
|
||||
bus = wishbone.Interface(data_width=32)
|
||||
|
|
Loading…
Reference in a new issue