From: Sebastien Bourdeauducq Date: Fri, 27 Jan 2012 21:21:08 +0000 (+0100) Subject: Remove explicit bus names X-Git-Tag: 24jan2021_ls180~3270 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a2646a54950248cfe28376ae06cb47f9053e77a;p=litex.git Remove explicit bus names --- diff --git a/milkymist/lm32/__init__.py b/milkymist/lm32/__init__.py index 32459541..29be0f65 100644 --- a/milkymist/lm32/__init__.py +++ b/milkymist/lm32/__init__.py @@ -3,8 +3,8 @@ from migen.bus import wishbone class LM32: def __init__(self): - self.ibus = i = wishbone.Master("lm32i") - self.dbus = d = wishbone.Master("lm32d") + self.ibus = i = wishbone.Master() + self.dbus = d = wishbone.Master() self.interrupt = Signal(BV(32)) self.ext_break = Signal() self._inst = Instance("lm32_top", diff --git a/milkymist/norflash/__init__.py b/milkymist/norflash/__init__.py index 0ee19ec2..5b3ad788 100644 --- a/milkymist/norflash/__init__.py +++ b/milkymist/norflash/__init__.py @@ -4,7 +4,7 @@ from migen.corelogic import timeline class NorFlash: def __init__(self, adr_width, rd_timing): - self.bus = wishbone.Slave("norflash") + self.bus = wishbone.Slave() self.adr = Signal(BV(adr_width-1)) self.d = Signal(BV(16)) self.oe_n = Signal() diff --git a/milkymist/sram/__init__.py b/milkymist/sram/__init__.py index 5071c423..756b2c51 100644 --- a/milkymist/sram/__init__.py +++ b/milkymist/sram/__init__.py @@ -3,7 +3,7 @@ from migen.bus import wishbone class SRAM: def __init__(self, depth): - self.bus = wishbone.Slave("sram") + self.bus = wishbone.Slave() self.depth = depth def get_fragment(self):