diff --git a/src/manta/logic_analyzer/trigger_block.py b/src/manta/logic_analyzer/trigger_block.py index 191b5d1..50f3496 100644 --- a/src/manta/logic_analyzer/trigger_block.py +++ b/src/manta/logic_analyzer/trigger_block.py @@ -18,8 +18,8 @@ class LogicAnalyzerTriggerBlock(Elaboratable): self.r = IOCore({"outputs": outputs}, base_addr, interface) # Bus Input/Output - self.bus_i = Signal(InternalBus()) - self.bus_o = Signal(InternalBus()) + self.bus_i = self.r.bus_i + self.bus_o = self.r.bus_o # Global trigger. High if any probe is triggered. self.trig = Signal(1) diff --git a/src/manta/utils.py b/src/manta/utils.py index 6ce9316..9c41948 100644 --- a/src/manta/utils.py +++ b/src/manta/utils.py @@ -4,6 +4,9 @@ from math import ceil import os class InternalBus(data.StructLayout): + """Describes the layout of Manta's internal bus, such that signals of + the appropriate dimension can be instantiated with Signal(InternalBus()). + """ def __init__(self): super().__init__({ "addr": 16,