meta: use InternalBusLayout instead of InternalBus()
This commit is contained in:
parent
f61b4ca2b6
commit
a7bd7d20b2
|
|
@ -70,8 +70,8 @@ class EthernetInterface(Elaboratable):
|
||||||
self._additional_config = kwargs
|
self._additional_config = kwargs
|
||||||
self._check_config()
|
self._check_config()
|
||||||
|
|
||||||
self.bus_i = Signal(InternalBus())
|
self.bus_i = Signal(InternalBusLayout)
|
||||||
self.bus_o = Signal(InternalBus())
|
self.bus_o = Signal(InternalBusLayout)
|
||||||
|
|
||||||
# Define PHY IO, assuming that we're in a Verilog-based workflow.
|
# Define PHY IO, assuming that we're in a Verilog-based workflow.
|
||||||
self._define_phy_io(self._phy)
|
self._define_phy_io(self._phy)
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,8 @@ class IOCore(MantaCore):
|
||||||
self._outputs = outputs
|
self._outputs = outputs
|
||||||
|
|
||||||
# Bus Connections
|
# Bus Connections
|
||||||
self.bus_i = Signal(InternalBus())
|
self.bus_i = Signal(InternalBusLayout)
|
||||||
self.bus_o = Signal(InternalBus())
|
self.bus_o = Signal(InternalBusLayout)
|
||||||
|
|
||||||
# Internal Signals
|
# Internal Signals
|
||||||
self._strobe = Signal()
|
self._strobe = Signal()
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@ class LogicAnalyzerCore(MantaCore):
|
||||||
self._triggers = []
|
self._triggers = []
|
||||||
|
|
||||||
# Bus Input/Output
|
# Bus Input/Output
|
||||||
self.bus_i = Signal(InternalBus())
|
self.bus_i = Signal(InternalBusLayout)
|
||||||
self.bus_o = Signal(InternalBus())
|
self.bus_o = Signal(InternalBusLayout)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def max_addr(self):
|
def max_addr(self):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue