flow/plumbing: Combinator/Splitter should not inherit CombinatorialActor

This commit is contained in:
Sebastien Bourdeauducq 2012-06-17 13:45:18 +02:00
parent 21eb17fc36
commit 4873cfe1a7
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,3 @@
import sys
from migen.flow.ala import *
from migen.flow.network import *
from migen.flow import plumbing

View File

@ -14,7 +14,7 @@ class Buffer(PipelinedActor):
sync = [If(self.pipe_ce, Cat(*sigs_q).eq(Cat(*sigs_d)))]
return Fragment(sync=sync)
class Combinator(CombinatorialActor):
class Combinator(Actor):
def __init__(self, layout, subrecords):
source = Record(layout)
subrecords = [source.subrecord(*subr) for subr in subrecords]
@ -32,7 +32,7 @@ class Combinator(CombinatorialActor):
comb += [sink.ack.eq(source.ack & source.stb) for sink in sinks]
return Fragment(comb)
class Splitter(CombinatorialActor):
class Splitter(Actor):
def __init__(self, layout, subrecords):
sink = Record(layout)
subr = []