fix typo introduced during refactor
This commit is contained in:
parent
ee4a3026af
commit
fbaf93b110
|
|
@ -18,8 +18,8 @@ class LogicAnalyzerTriggerBlock(Elaboratable):
|
||||||
self.r = IOCore({"outputs": outputs}, base_addr, interface)
|
self.r = IOCore({"outputs": outputs}, base_addr, interface)
|
||||||
|
|
||||||
# Bus Input/Output
|
# Bus Input/Output
|
||||||
self.bus_i = Signal(InternalBus())
|
self.bus_i = self.r.bus_i
|
||||||
self.bus_o = Signal(InternalBus())
|
self.bus_o = self.r.bus_o
|
||||||
|
|
||||||
# Global trigger. High if any probe is triggered.
|
# Global trigger. High if any probe is triggered.
|
||||||
self.trig = Signal(1)
|
self.trig = Signal(1)
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@ from math import ceil
|
||||||
import os
|
import os
|
||||||
|
|
||||||
class InternalBus(data.StructLayout):
|
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):
|
def __init__(self):
|
||||||
super().__init__({
|
super().__init__({
|
||||||
"addr": 16,
|
"addr": 16,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue