class UARTBridge(Elaboratable):
def __init__(self, divisor, pins):
self.bus = wishbone.Interface(addr_width=30,
- data_width=32, granularity=32)
+ data_width=32, granularity=8)
self._pins = pins
self._divisor = divisor
class UARTBridge(Elaboratable):
def __init__(self, divisor, pins):
self.bus = wishbone.Interface(addr_width=30,
- data_width=32, granularity=32)
+ data_width=32, granularity=8)
self._pins = pins
self._divisor = divisor
self.bus.stb.eq(1),
self.bus.we.eq(0),
self.bus.cyc.eq(1),
+ self.bus.sel.eq(0xF),
]
with m.If(self.bus.ack):