From 470b97b080d19f46efc42eda9a55f6ba9983f4e3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 6 Apr 2019 12:22:47 +0100 Subject: [PATCH] try different buffermode in test 14 --- src/add/test_buf_pipe.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/add/test_buf_pipe.py b/src/add/test_buf_pipe.py index 7bf5257f..85e1cd48 100644 --- a/src/add/test_buf_pipe.py +++ b/src/add/test_buf_pipe.py @@ -624,8 +624,9 @@ class ExampleStageDelayCls(StageCls): class ExampleBufDelayedPipe(BufferedPipeline): def __init__(self): - stage = ExampleStageDelayCls() - BufferedPipeline.__init__(self, stage, stage_ctl=True) + stage = ExampleStageDelayCls(valid_trigger=3) + BufferedPipeline.__init__(self, stage, stage_ctl=True, + buffermode=False) def elaborate(self, platform): m = BufferedPipeline.elaborate(self, platform) @@ -653,14 +654,14 @@ def test12_resultfn(o_data, expected, i, o): # Test 13 ###################################################################### -class ExampleUnBufDelayedPipe(UnbufferedPipeline): +class ExampleUnBufDelayedPipe(BufferedPipeline): def __init__(self): stage = ExampleStageDelayCls() - UnbufferedPipeline.__init__(self, stage, stage_ctl=True) + BufferedPipeline.__init__(self, stage, stage_ctl=True) def elaborate(self, platform): - m = UnbufferedPipeline.elaborate(self, platform) + m = BufferedPipeline.elaborate(self, platform) m.submodules.stage = self.stage return m -- 2.30.2