From 17c9872a5e9dc584997a6f9cd411a9fcd460ad48 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 28 Apr 2019 22:42:01 +0100 Subject: [PATCH] another eq import moved to nmoperator --- src/add/test_fsm_experiment.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/add/test_fsm_experiment.py b/src/add/test_fsm_experiment.py index 5b5ececb..4e42231e 100644 --- a/src/add/test_fsm_experiment.py +++ b/src/add/test_fsm_experiment.py @@ -2,17 +2,18 @@ # Copyright (C) Jonathan P Dawson 2013 # 2013-12-12 -from nmigen import Module, Signal, Const, Cat +from nmigen import Module, Signal, Const, Cat, Elaboratable from nmigen.cli import main, verilog, rtlil from nmigen.compat.sim import run_simulation from fpbase import FPNumIn, FPNumOut, FPOpIn, FPOpOut, FPBase, FPState -from singlepipe import eq, SimpleHandshake, ControlBase +from nmoperator import eq +from singlepipe import SimpleHandshake, ControlBase from test_buf_pipe import data_chain2, Test5 -class FPDIV(FPBase): +class FPDIV(FPBase, Elaboratable): def __init__(self, width): FPBase.__init__(self) -- 2.30.2