From 39de86a46a40c60e0d2fbda66a309a2d32f56a1d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 23 Apr 2019 10:36:21 +0100 Subject: [PATCH] add more use of Elaboratables --- src/add/test_outmux_pipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add/test_outmux_pipe.py b/src/add/test_outmux_pipe.py index cb91abe4..9c9e0cc7 100644 --- a/src/add/test_outmux_pipe.py +++ b/src/add/test_outmux_pipe.py @@ -1,6 +1,6 @@ from random import randint from math import log -from nmigen import Module, Signal, Cat +from nmigen import Module, Signal, Cat, Elaboratable from nmigen.compat.sim import run_simulation from nmigen.cli import verilog, rtlil @@ -122,7 +122,7 @@ class TestPriorityMuxPipe(CombMuxOutPipe): CombMuxOutPipe.__init__(self, stage, n_len=self.num_rows) -class TestSyncToPriorityPipe: +class TestSyncToPriorityPipe(Elaboratable): def __init__(self): self.num_rows = 4 self.pipe = PassThroughPipe() -- 2.30.2