From: Sebastien Bourdeauducq Date: Sun, 24 Nov 2013 22:42:54 +0000 (+0100) Subject: bus/wishbone: style X-Git-Tag: 24jan2021_ls180~2099^2~436 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5342c5b5cde1ab46502d548c17b00347ffa7e27;p=litex.git bus/wishbone: style --- diff --git a/migen/bus/wishbone.py b/migen/bus/wishbone.py index af5ae5c0..fec23a18 100644 --- a/migen/bus/wishbone.py +++ b/migen/bus/wishbone.py @@ -119,7 +119,6 @@ class DownConverter(Module): # L is the target data-width # M = N/L def __init__(self, dw_i, dw_o): - self.wishbone_i = Interface(dw_i) self.wishbone_o = Interface(dw_o) self.ratio = dw_i//dw_o @@ -172,12 +171,8 @@ class DownConverter(Module): self.submodules += fsm fsm.act("IDLE", - If(write_ack, - NextState("WRITE_ADAPT") - ), - If(read_ack, - NextState("READ_ADAPT") - ) + If(write_ack, NextState("WRITE_ADAPT")), + If(read_ack, NextState("READ_ADAPT")) ) fsm.act("WRITE_ADAPT",