# IEEE754 FCLASS Module
# Copyright (C) 2019 Luke Kenneth Casson Leighon <lkcl@lkcl.net>
-
-from nmigen import Module, Signal, Elaboratable
-from nmigen.cli import main, verilog
-
from nmutil.singlepipe import ControlBase
from nmutil.concurrentunit import ReservationStations, num_bits
-
-from ieee754.fpcommon.basedata import FPBaseData
-from ieee754.fpcommon.pack import FPPackData
-
-
-from ieee754.fpcommon.fpbase import FPState, FPNumBase
-from ieee754.fpcommon.getop import FPPipeContext
-
-from ieee754.fpcommon.fpbase import FPState
+from ieee754.fpcommon.fpbase import FPNumBase
from ieee754.fclass.fclass import FPClassMod
from ieee754.pipeline import PipelineSpec, DynamicPipe
import sys
import functools
-from nmigen import Module, Signal, Cat, Const, Mux, Elaboratable
-from nmigen.cli import main, verilog
-
from nmutil.singlepipe import ControlBase
from nmutil.concurrentunit import ReservationStations, num_bits
-from ieee754.fpcommon.basedata import FPBaseData
-from ieee754.fpcommon.pack import FPPackData
from ieee754.fpcommon.normtopack import FPNormToPack
-
-
-from nmigen import Module, Signal, Elaboratable
-from math import log
-
-from ieee754.fpcommon.getop import FPPipeContext
-
from ieee754.pipeline import PipelineSpec, DynamicPipe
from ieee754.fcvt.float2int import FPCVTFloatToIntMod
from ieee754.fcvt.downsize import FPCVTDownConvertMod
+# not used, yet
+# from nmigen import Signal
class SignedOp:
def __init__(self):
self.signed = Signal(reset_less=True)
"""
-from nmigen import Module
-from nmigen.cli import main, verilog
-
from nmutil.singlepipe import ControlBase
-from nmutil.multipipe import CombMuxOutPipe
-from nmutil.multipipe import PriorityCombMuxInPipe
from nmutil.concurrentunit import ReservationStations, num_bits
-from ieee754.fpcommon.basedata import FPBaseData
-from ieee754.fpcommon.denorm import FPSCData
-from ieee754.fpcommon.pack import FPPackData
from ieee754.fpcommon.normtopack import FPNormToPack
from ieee754.fpadd.specialcases import FPAddSpecialCasesDeNorm
from ieee754.fpadd.addstages import FPAddAlignSingleAdd
from nmutil.singlepipe import ControlBase
from nmutil.concurrentunit import ReservationStations, num_bits
-from ieee754.fpcommon.basedata import FPBaseData
-from ieee754.fpcommon.denorm import FPSCData
from ieee754.fpcommon.fpbase import FPFormat
-from ieee754.fpcommon.pack import FPPackData
from ieee754.fpcommon.normtopack import FPNormToPack
from ieee754.fpdiv.specialcases import FPDIVSpecialCasesDeNorm
from ieee754.fpdiv.divstages import (FPDivStagesSetup,
"""
-from nmigen import Module
-from nmigen.cli import main, verilog
-
from nmutil.singlepipe import ControlBase
from nmutil.concurrentunit import ReservationStations, num_bits
-from ieee754.fpcommon.basedata import FPBaseData
-from ieee754.fpcommon.denorm import FPSCData
-from ieee754.fpcommon.pack import FPPackData
from ieee754.fpcommon.normtopack import FPNormToPack
-from .specialcases import FPMulSpecialCasesDeNorm
-from .mulstages import FPMulStages
+from ieee754.fpmul.specialcases import FPMulSpecialCasesDeNorm
+from ieee754.fpmul.mulstages import FPMulStages
from ieee754.pipeline import PipelineSpec