[libre-riscv-dev] pipeline sync issues

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Apr 12 02:24:12 BST 2019


works great (as does recursive uses of RecordObject)

class Example2OpRecord(RecordObject):
    def __init__(self):
        RecordObject.__init__(self)
        self.op1 = Signal(16)
        self.op2 = Signal(16)

class ExampleAddRecordObjectStage(StageCls):
    def ispec(self):        return Example2OpRecord()
    def ospec(self):        return Signal(16)
    def process(self, i):        return i.op1 + i.op2

FIFOControl has been tested with a simple Signal(16) as input and
output, i'm just about to try chaining the above with a FIFOControl
that takes the Example2OpRecord as input and output.

l.



More information about the libre-riscv-dev mailing list