From: Luke Kenneth Casson Leighton Date: Tue, 23 Apr 2019 09:36:21 +0000 (+0100) Subject: add more use of Elaboratables X-Git-Tag: ls180-24jan2020~1196 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39de86a46a40c60e0d2fbda66a309a2d32f56a1d;p=ieee754fpu.git add more use of Elaboratables --- 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()