From 213f584e7c578ba0fcf17086a7e60d07d9ee78a6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 29 Mar 2019 12:36:14 +0000 Subject: [PATCH] remove unneeded imports --- src/add/fpadd/align.py | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/src/add/fpadd/align.py b/src/add/fpadd/align.py index 66794164..9837a0b8 100644 --- a/src/add/fpadd/align.py +++ b/src/add/fpadd/align.py @@ -2,32 +2,13 @@ # Copyright (C) Jonathan P Dawson 2013 # 2013-12-12 -from nmigen import Module, Signal, Cat, Mux, Array, Const -from nmigen.lib.coding import PriorityEncoder +from nmigen import Module, Signal from nmigen.cli import main, verilog -from math import log - -from fpbase import FPNumIn, FPNumOut, FPOp, Overflow, FPBase, FPNumBase -from fpbase import MultiShiftRMerge, Trigger -from singlepipe import (ControlBase, StageChain, UnbufferedPipeline, - PassThroughStage) -from multipipe import CombMuxOutPipe -from multipipe import PriorityCombMuxInPipe - -from fpbase import FPState, FPID -from fpcommon.getop import (FPGetOpMod, FPGetOp, FPNumBase2Ops, FPADDBaseData, - FPGet2OpMod, FPGet2Op) -from fpadd.specialcases import (FPAddSpecialCasesMod, FPAddSpecialCases, - FPAddSpecialCasesDeNorm) -from fpcommon.denorm import (FPSCData, FPAddDeNormMod, FPAddDeNorm) -from fpcommon.postcalc import FPAddStage1Data -from fpcommon.postnormalise import (FPNorm1Data, FPNorm1ModSingle, - FPNorm1ModMulti, FPNorm1Single, FPNorm1Multi) -from fpcommon.roundz import (FPRoundData, FPRoundMod, FPRound) -from fpcommon.corrections import (FPCorrectionsMod, FPCorrections) -from fpcommon.pack import (FPPackData, FPPackMod, FPPack) -from fpcommon.normtopack import FPNormToPack -from fpcommon.putz import (FPPutZ, FPPutZIdx) + +from fpbase import FPNumOut, FPNumIn, FPNumBase +from fpbase import MultiShiftRMerge +from fpbase import FPState +from fpcommon.denorm import FPSCData class FPNumIn2Ops: -- 2.30.2