From c5342c5b5cde1ab46502d548c17b00347ffa7e27 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 24 Nov 2013 23:42:54 +0100 Subject: [PATCH] bus/wishbone: style --- migen/bus/wishbone.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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", -- 2.30.2