From: Luke Kenneth Casson Leighton Date: Fri, 12 Apr 2019 01:24:29 +0000 (+0100) Subject: use SimpleHandshake in RecordObject test X-Git-Tag: ls180-24jan2020~1250 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75f772d26cdf8a49791962c293e0bb60daa69fc9;p=ieee754fpu.git use SimpleHandshake in RecordObject test --- diff --git a/src/add/test_buf_pipe.py b/src/add/test_buf_pipe.py index e37311c7..b8e6440f 100644 --- a/src/add/test_buf_pipe.py +++ b/src/add/test_buf_pipe.py @@ -810,7 +810,6 @@ class ExampleAddRecordObjectStage(StageCls): def ispec(self): """ returns an instance of an Example2OpRecord. """ - #return Example2OpClass() return Example2OpRecord() def ospec(self): @@ -825,11 +824,11 @@ class ExampleAddRecordObjectStage(StageCls): return i.op1 + i.op2 -class ExampleRecordHandshakeAddClass(BufferedHandshake): +class ExampleRecordHandshakeAddClass(SimpleHandshake): def __init__(self): addstage = ExampleAddRecordObjectStage() - BufferedHandshake.__init__(self, stage=addstage) + SimpleHandshake.__init__(self, stage=addstage) ######################################################################