return Fragment([stb_o.eq(stb_i), ack_o.eq(ack_i), self.busy.eq(0)])
class SequentialActor(BinaryActor):
- def __init__(self, delay, *endpoint_descriptions, endpoints=None):
+ def __init__(self, delay, *endpoint_descriptions, **misc):
self.delay = delay
self.trigger = Signal()
- BinaryActor.__init__(*endpoint_descriptions, endpoints=endpoints)
+ BinaryActor.__init__(*endpoint_descriptions, **misc)
def get_binary_control_fragment(self, stb_i, ack_o, stb_o, ack_i):
ready = Signal()
return Fragment(comb, sync)
class PipelinedActor(BinaryActor):
- def __init__(self, latency, *endpoint_descriptions, endpoints=None):
+ def __init__(self, latency, *endpoint_descriptions, **misc):
self.latency = latency
self.pipe_ce = Signal()
- BinaryActor.__init__(*endpoint_descriptions, endpoints=endpoints)
+ BinaryActor.__init__(*endpoint_descriptions, **misc)
def get_binary_control_fragment(self, stb_i, ack_o, stb_o, ack_i):
valid = Signal(BV(self.latency))