From fc89694a110dfdd4da4f2b6c1f7034f29e4ed61e Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 12 Mar 2019 18:34:14 +0200 Subject: [PATCH] The future is now --- cosimulation/icarus/test/test.py | 3 --- cosimulation/test/test_bin2gray.py | 2 -- cosimulation/test/test_dff.py | 2 -- cosimulation/test/test_inc.py | 2 -- example/manual/queue.py | 2 -- example/manual/rs232.py | 2 -- myhdl/_Cosimulation.py | 2 -- myhdl/_ShadowSignal.py | 2 -- myhdl/_Signal.py | 3 --- myhdl/_Simulation.py | 3 --- myhdl/_Waiter.py | 3 --- myhdl/__init__.py | 3 --- myhdl/_always.py | 3 --- myhdl/_always_comb.py | 2 -- myhdl/_always_seq.py | 3 --- myhdl/_block.py | 2 -- myhdl/_concat.py | 2 -- myhdl/_delay.py | 2 -- myhdl/_enum.py | 2 -- myhdl/_extractHierarchy.py | 3 --- myhdl/_getHierarchy.py | 2 -- myhdl/_getcellvars.py | 1 - myhdl/_instance.py | 3 --- myhdl/_intbv.py | 2 -- myhdl/_misc.py | 3 --- myhdl/_modbv.py | 2 -- myhdl/_resolverefs.py | 1 - myhdl/_traceSignals.py | 4 ---- myhdl/_tristate.py | 1 - myhdl/_util.py | 3 --- myhdl/conversion/__init__.py | 1 - myhdl/conversion/_analyze.py | 2 -- myhdl/conversion/_misc.py | 3 --- myhdl/conversion/_toVHDL.py | 3 --- myhdl/conversion/_toVHDLPackage.py | 1 - myhdl/conversion/_toVerilog.py | 4 ---- myhdl/conversion/_verify.py | 2 -- myhdl/debug.py | 3 --- myhdl/test/bugs/test_bug_1740778.py | 1 - myhdl/test/bugs/test_bug_1835792.py | 1 - myhdl/test/bugs/test_bug_1835797.py | 1 - myhdl/test/bugs/test_bug_1837003.py | 1 - myhdl/test/bugs/test_bug_28.py | 1 - myhdl/test/bugs/test_bug_3529686.py | 1 - myhdl/test/bugs/test_bug_3577799.py | 1 - myhdl/test/bugs/test_bug_39.py | 1 - myhdl/test/bugs/test_bug_42.py | 1 - myhdl/test/bugs/test_bug_42_2.py | 1 - myhdl/test/bugs/test_bug_43.py | 1 - myhdl/test/bugs/test_bug_44.py | 1 - myhdl/test/bugs/test_bug_aj1s.py | 1 - myhdl/test/bugs/test_bug_boolconst.py | 1 - myhdl/test/bugs/test_bug_boolop.py | 1 - myhdl/test/bugs/test_bug_enum_toVHDL.py | 1 - myhdl/test/bugs/test_bug_enum_toVHDL_2.py | 1 - myhdl/test/bugs/test_issue_10.py | 1 - myhdl/test/bugs/test_issue_104.py | 1 - myhdl/test/bugs/test_issue_10_2.py | 2 -- myhdl/test/bugs/test_issue_117.py | 1 - myhdl/test/bugs/test_issue_122.py | 1 - myhdl/test/bugs/test_issue_127.py | 2 -- myhdl/test/bugs/test_issue_13.py | 1 - myhdl/test/bugs/test_issue_133.py | 1 - myhdl/test/bugs/test_issue_134.py | 1 - myhdl/test/bugs/test_issue_167.py | 2 -- myhdl/test/bugs/test_issue_18.py | 1 - myhdl/test/bugs/test_issue_40.py | 1 - myhdl/test/bugs/test_issue_9.py | 1 - myhdl/test/bugs/test_issue_98.py | 1 - myhdl/test/conversion/general/test_ShadowSignal.py | 1 - myhdl/test/conversion/general/test_adapter.py | 1 - myhdl/test/conversion/general/test_bin2gray.py | 1 - myhdl/test/conversion/general/test_case.py | 1 - myhdl/test/conversion/general/test_constants.py | 1 - myhdl/test/conversion/general/test_dec.py | 1 - myhdl/test/conversion/general/test_errors.py | 1 - myhdl/test/conversion/general/test_fsm.py | 1 - myhdl/test/conversion/general/test_hec.py | 1 - myhdl/test/conversion/general/test_inc.py | 1 - myhdl/test/conversion/general/test_initial_values.py | 1 - myhdl/test/conversion/general/test_intbv_signed.py | 2 -- myhdl/test/conversion/general/test_interfaces1.py | 2 -- myhdl/test/conversion/general/test_interfaces3.py | 2 -- myhdl/test/conversion/general/test_listofsigs.py | 1 - myhdl/test/conversion/general/test_loops.py | 1 - myhdl/test/conversion/general/test_method.py | 1 - myhdl/test/conversion/general/test_nonlocal.py | 1 - myhdl/test/conversion/general/test_numass.py | 1 - myhdl/test/conversion/general/test_print.py | 1 - myhdl/test/conversion/general/test_ram.py | 1 - myhdl/test/conversion/general/test_randscrambler.py | 2 -- myhdl/test/conversion/general/test_rom.py | 1 - myhdl/test/conversion/general/test_ternary.py | 1 - myhdl/test/conversion/general/test_toplevel_interfaces.py | 2 -- myhdl/test/conversion/general/test_toplevel_method.py | 1 - myhdl/test/conversion/toVHDL/test_custom.py | 1 - myhdl/test/conversion/toVHDL/test_enum.py | 1 - myhdl/test/conversion/toVHDL/test_keywords.py | 1 - myhdl/test/conversion/toVHDL/test_loops.py | 1 - myhdl/test/conversion/toVHDL/test_newcustom.py | 1 - myhdl/test/conversion/toVHDL/test_ops.py | 1 - myhdl/test/conversion/toVHDL/test_signed.py | 1 - myhdl/test/conversion/toVerilog/test_GrayInc.py | 1 - myhdl/test/conversion/toVerilog/test_NotSupported.py | 1 - myhdl/test/conversion/toVerilog/test_RandomScrambler.py | 1 - myhdl/test/conversion/toVerilog/test_always_comb.py | 3 --- myhdl/test/conversion/toVerilog/test_beh.py | 1 - myhdl/test/conversion/toVerilog/test_bin2gray.py | 1 - myhdl/test/conversion/toVerilog/test_bugreports.py | 1 - myhdl/test/conversion/toVerilog/test_custom.py | 1 - myhdl/test/conversion/toVerilog/test_dec.py | 1 - myhdl/test/conversion/toVerilog/test_edge.py | 1 - myhdl/test/conversion/toVerilog/test_errors.py | 2 -- myhdl/test/conversion/toVerilog/test_fsm.py | 1 - myhdl/test/conversion/toVerilog/test_hec.py | 1 - myhdl/test/conversion/toVerilog/test_inc.py | 1 - myhdl/test/conversion/toVerilog/test_inc_initial.py | 1 - myhdl/test/conversion/toVerilog/test_infer.py | 1 - myhdl/test/conversion/toVerilog/test_loops.py | 1 - myhdl/test/conversion/toVerilog/test_misc.py | 1 - myhdl/test/conversion/toVerilog/test_newcustom.py | 1 - myhdl/test/conversion/toVerilog/test_ops.py | 1 - myhdl/test/conversion/toVerilog/test_ram.py | 1 - myhdl/test/conversion/toVerilog/test_rom.py | 1 - myhdl/test/conversion/toVerilog/test_signed.py | 1 - myhdl/test/conversion/toVerilog/util.py | 1 - myhdl/test/conversion/toVerilog2/test_loops.py | 1 - myhdl/test/core/test_Cosimulation.py | 2 -- myhdl/test/core/test_ShadowSignal.py | 2 -- myhdl/test/core/test_Signal.py | 2 -- myhdl/test/core/test_Simulation.py | 2 -- myhdl/test/core/test_always.py | 2 -- myhdl/test/core/test_always_comb.py | 2 -- myhdl/test/core/test_bin.py | 2 -- myhdl/test/core/test_concat.py | 2 -- myhdl/test/core/test_enum.py | 2 -- myhdl/test/core/test_inferWaiter.py | 2 -- myhdl/test/core/test_instance.py | 2 -- myhdl/test/core/test_intbv.py | 2 -- myhdl/test/core/test_misc.py | 2 -- myhdl/test/core/test_modbv.py | 2 -- myhdl/test/core/test_signed.py | 2 -- myhdl/test/core/test_traceSignals.py | 2 -- scripts/benchmark/convert.py | 1 - scripts/benchmark/glibc_random.py | 1 - scripts/benchmark/lfsr24.py | 1 - scripts/benchmark/long_divider.py | 1 - scripts/benchmark/perf_inferWaiter.py | 3 --- scripts/benchmark/random_generator.py | 1 - scripts/benchmark/test_findmax.py | 1 - scripts/benchmark/test_findmax_sigs.py | 1 - scripts/benchmark/test_lfsr24.py | 1 - scripts/benchmark/test_longdiv.py | 1 - scripts/benchmark/test_longdiv_10.py | 1 - scripts/benchmark/test_longdiv_11.py | 1 - scripts/benchmark/test_longdiv_12.py | 1 - scripts/benchmark/test_longdiv_13.py | 1 - scripts/benchmark/test_longdiv_14.py | 1 - scripts/benchmark/test_longdiv_15.py | 1 - scripts/benchmark/test_longdiv_16.py | 1 - scripts/benchmark/test_longdiv_17.py | 1 - scripts/benchmark/test_longdiv_18.py | 1 - scripts/benchmark/test_longdiv_9.py | 1 - scripts/benchmark/test_randgen.py | 1 - scripts/benchmark/test_timer.py | 1 - scripts/benchmark/test_timer_array.py | 1 - scripts/benchmark/timer.py | 1 - 167 files changed, 247 deletions(-) diff --git a/cosimulation/icarus/test/test.py b/cosimulation/icarus/test/test.py index 38f5ed35..182fb794 100644 --- a/cosimulation/icarus/test/test.py +++ b/cosimulation/icarus/test/test.py @@ -1,6 +1,3 @@ -from __future__ import generators -from __future__ import print_function - from myhdl import Signal, Simulation, Cosimulation from myhdl import delay, intbv, now diff --git a/cosimulation/test/test_bin2gray.py b/cosimulation/test/test_bin2gray.py index 8563aae9..f5428ca6 100644 --- a/cosimulation/test/test_bin2gray.py +++ b/cosimulation/test/test_bin2gray.py @@ -1,5 +1,3 @@ -from __future__ import generators - import unittest from unittest import TestCase diff --git a/cosimulation/test/test_dff.py b/cosimulation/test/test_dff.py index ea1e3145..852f5bfd 100644 --- a/cosimulation/test/test_dff.py +++ b/cosimulation/test/test_dff.py @@ -1,5 +1,3 @@ -from __future__ import generators - import unittest from unittest import TestCase import random diff --git a/cosimulation/test/test_inc.py b/cosimulation/test/test_inc.py index 0925aa66..c39cfad4 100644 --- a/cosimulation/test/test_inc.py +++ b/cosimulation/test/test_inc.py @@ -1,5 +1,3 @@ -from __future__ import generators - import unittest from unittest import TestCase import random diff --git a/example/manual/queue.py b/example/manual/queue.py index e6b91ff1..4f35cd6b 100644 --- a/example/manual/queue.py +++ b/example/manual/queue.py @@ -1,5 +1,3 @@ -from __future__ import generators - import myhdl from myhdl import * diff --git a/example/manual/rs232.py b/example/manual/rs232.py index 6a73594f..91751ff6 100644 --- a/example/manual/rs232.py +++ b/example/manual/rs232.py @@ -1,5 +1,3 @@ -from __future__ import generators - import sys from random import randrange diff --git a/myhdl/_Cosimulation.py b/myhdl/_Cosimulation.py index f19a27b3..48df4e37 100644 --- a/myhdl/_Cosimulation.py +++ b/myhdl/_Cosimulation.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module that provides the Cosimulation class """ -from __future__ import absolute_import - import sys import os #import shlex diff --git a/myhdl/_ShadowSignal.py b/myhdl/_ShadowSignal.py index 54333737..430721cb 100644 --- a/myhdl/_ShadowSignal.py +++ b/myhdl/_ShadowSignal.py @@ -21,8 +21,6 @@ """ -from __future__ import absolute_import - import warnings from copy import deepcopy diff --git a/myhdl/_Signal.py b/myhdl/_Signal.py index 07c9844b..a1e3d975 100644 --- a/myhdl/_Signal.py +++ b/myhdl/_Signal.py @@ -26,9 +26,6 @@ posedge -- callable to model a rising edge on a signal in a yield statement negedge -- callable to model a falling edge on a signal in a yield statement """ -from __future__ import absolute_import -from __future__ import print_function - from copy import copy, deepcopy from myhdl import _simulator as sim diff --git a/myhdl/_Simulation.py b/myhdl/_Simulation.py index 8b4e976a..e280e75e 100644 --- a/myhdl/_Simulation.py +++ b/myhdl/_Simulation.py @@ -18,9 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module that provides the Simulation class """ -from __future__ import absolute_import -from __future__ import print_function - import os from operator import itemgetter from types import GeneratorType diff --git a/myhdl/_Waiter.py b/myhdl/_Waiter.py index 81ed5991..e781d50e 100644 --- a/myhdl/_Waiter.py +++ b/myhdl/_Waiter.py @@ -18,9 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module that provides the _Waiter class """ -from __future__ import absolute_import - - from types import GeneratorType import ast diff --git a/myhdl/__init__.py b/myhdl/__init__.py index e75d9c7c..c5a9f5f6 100644 --- a/myhdl/__init__.py +++ b/myhdl/__init__.py @@ -49,9 +49,6 @@ traceSignals -- function that enables signal tracing in a VCD file toVerilog -- function that converts a design to Verilog """ -from __future__ import absolute_import -from __future__ import print_function - __version__ = "0.10" diff --git a/myhdl/_always.py b/myhdl/_always.py index fde8315c..89bd89d5 100644 --- a/myhdl/_always.py +++ b/myhdl/_always.py @@ -18,9 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module with the always function. """ -from __future__ import absolute_import - - from types import FunctionType from myhdl import AlwaysError diff --git a/myhdl/_always_comb.py b/myhdl/_always_comb.py index 8cdb7c48..6676c164 100644 --- a/myhdl/_always_comb.py +++ b/myhdl/_always_comb.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module with the always_comb function. """ -from __future__ import absolute_import - from types import FunctionType from myhdl import AlwaysCombError diff --git a/myhdl/_always_seq.py b/myhdl/_always_seq.py index 50e4012d..76c20ad9 100644 --- a/myhdl/_always_seq.py +++ b/myhdl/_always_seq.py @@ -18,9 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module with the always_seq decorator. """ -from __future__ import absolute_import - - from types import FunctionType from myhdl import AlwaysError, intbv diff --git a/myhdl/_block.py b/myhdl/_block.py index 0bae3b30..a7877589 100644 --- a/myhdl/_block.py +++ b/myhdl/_block.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Block with the @block decorator function. """ -from __future__ import absolute_import, print_function - import inspect #from functools import wraps diff --git a/myhdl/_concat.py b/myhdl/_concat.py index a9b7944e..e32bbd11 100644 --- a/myhdl/_concat.py +++ b/myhdl/_concat.py @@ -22,8 +22,6 @@ """ module with the concat function. """ -from __future__ import absolute_import - from myhdl._intbv import intbv from myhdl._Signal import _Signal diff --git a/myhdl/_delay.py b/myhdl/_delay.py index 4c0a5eb0..0bc918bd 100644 --- a/myhdl/_delay.py +++ b/myhdl/_delay.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module that provides the delay class.""" -from __future__ import absolute_import - _errmsg = "arg of delay constructor should be a natural integeer" diff --git a/myhdl/_enum.py b/myhdl/_enum.py index a33ef1bc..4f43b3b2 100644 --- a/myhdl/_enum.py +++ b/myhdl/_enum.py @@ -20,8 +20,6 @@ """ Module that implements enum. """ -from __future__ import absolute_import - from myhdl._bin import bin from myhdl._Signal import _Signal # from myhdl.conversion._VHDLNameValidation import _nameValid diff --git a/myhdl/_extractHierarchy.py b/myhdl/_extractHierarchy.py index c2350d01..5310a078 100644 --- a/myhdl/_extractHierarchy.py +++ b/myhdl/_extractHierarchy.py @@ -20,9 +20,6 @@ """ myhdl _extractHierarchy module. """ -from __future__ import absolute_import - - import sys import inspect import string diff --git a/myhdl/_getHierarchy.py b/myhdl/_getHierarchy.py index 9d3523ae..0de5ea69 100644 --- a/myhdl/_getHierarchy.py +++ b/myhdl/_getHierarchy.py @@ -21,8 +21,6 @@ """ -from __future__ import absolute_import - from myhdl._extractHierarchy import _Instance from myhdl._block import _Block diff --git a/myhdl/_getcellvars.py b/myhdl/_getcellvars.py index 44ff1c8e..06105aff 100644 --- a/myhdl/_getcellvars.py +++ b/myhdl/_getcellvars.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import ast from myhdl._util import _flatten diff --git a/myhdl/_instance.py b/myhdl/_instance.py index 9bd169ac..6a8a1431 100644 --- a/myhdl/_instance.py +++ b/myhdl/_instance.py @@ -18,9 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module with the always function. """ -from __future__ import absolute_import - - import inspect from types import FunctionType diff --git a/myhdl/_intbv.py b/myhdl/_intbv.py index bdfc3ee5..498e3693 100644 --- a/myhdl/_intbv.py +++ b/myhdl/_intbv.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module with the intbv class """ -from __future__ import absolute_import, division - import builtins from myhdl._bin import bin diff --git a/myhdl/_misc.py b/myhdl/_misc.py index 03a6a4f5..cec70727 100644 --- a/myhdl/_misc.py +++ b/myhdl/_misc.py @@ -24,9 +24,6 @@ instances -- function that returns instances in a generator function downrange -- function that returns a downward range """ -from __future__ import absolute_import - - import inspect from myhdl._Cosimulation import Cosimulation diff --git a/myhdl/_modbv.py b/myhdl/_modbv.py index b14ea6e2..fddec643 100644 --- a/myhdl/_modbv.py +++ b/myhdl/_modbv.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Module with the modbv class """ -from __future__ import absolute_import - from ._intbv import intbv diff --git a/myhdl/_resolverefs.py b/myhdl/_resolverefs.py index 2c97dd61..269dacd2 100644 --- a/myhdl/_resolverefs.py +++ b/myhdl/_resolverefs.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import ast import itertools from types import FunctionType diff --git a/myhdl/_traceSignals.py b/myhdl/_traceSignals.py index 49b3002e..4911b069 100644 --- a/myhdl/_traceSignals.py +++ b/myhdl/_traceSignals.py @@ -20,10 +20,6 @@ """ myhdl traceSignals block. """ -from __future__ import absolute_import -from __future__ import print_function - - import sys import time import os diff --git a/myhdl/_tristate.py b/myhdl/_tristate.py index 4aa3b305..5348b249 100644 --- a/myhdl/_tristate.py +++ b/myhdl/_tristate.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import warnings from myhdl._Signal import _Signal, _DelayedSignal diff --git a/myhdl/_util.py b/myhdl/_util.py index 86606639..126303f7 100644 --- a/myhdl/_util.py +++ b/myhdl/_util.py @@ -20,9 +20,6 @@ """ Module with utilility objects for MyHDL. """ -from __future__ import absolute_import -from __future__ import print_function - import __future__ import ast import sys diff --git a/myhdl/conversion/__init__.py b/myhdl/conversion/__init__.py index 21a6264c..d65c839c 100644 --- a/myhdl/conversion/__init__.py +++ b/myhdl/conversion/__init__.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import from ._verify import verify, analyze, registerSimulator from ._toVerilog import toVerilog from ._toVHDL import toVHDL diff --git a/myhdl/conversion/_analyze.py b/myhdl/conversion/_analyze.py index 61ac8d06..9ad11117 100644 --- a/myhdl/conversion/_analyze.py +++ b/myhdl/conversion/_analyze.py @@ -20,8 +20,6 @@ """ MyHDL conversion analysis module. """ -from __future__ import absolute_import, print_function - import inspect # import compiler # from compiler import ast as astNode diff --git a/myhdl/conversion/_misc.py b/myhdl/conversion/_misc.py index 427e31c7..469513d5 100644 --- a/myhdl/conversion/_misc.py +++ b/myhdl/conversion/_misc.py @@ -20,9 +20,6 @@ """ myhdl toVerilog package. """ -from __future__ import absolute_import - - import ast from myhdl import ConversionError diff --git a/myhdl/conversion/_toVHDL.py b/myhdl/conversion/_toVHDL.py index aebb9058..667ec080 100644 --- a/myhdl/conversion/_toVHDL.py +++ b/myhdl/conversion/_toVHDL.py @@ -20,9 +20,6 @@ """ myhdl toVHDL conversion module. """ -from __future__ import absolute_import -from __future__ import print_function - import sys import math import os diff --git a/myhdl/conversion/_toVHDLPackage.py b/myhdl/conversion/_toVHDLPackage.py index 9d1171f8..e2d0cea5 100644 --- a/myhdl/conversion/_toVHDLPackage.py +++ b/myhdl/conversion/_toVHDLPackage.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # This file is part of the myhdl library, a Python package for using # Python as a Hardware Description Language. # diff --git a/myhdl/conversion/_toVerilog.py b/myhdl/conversion/_toVerilog.py index 11e14f95..fb0ef934 100644 --- a/myhdl/conversion/_toVerilog.py +++ b/myhdl/conversion/_toVerilog.py @@ -20,10 +20,6 @@ """ myhdl toVerilog conversion module. """ -from __future__ import absolute_import -from __future__ import print_function - - import sys import math import os diff --git a/myhdl/conversion/_verify.py b/myhdl/conversion/_verify.py index da8d5715..a04a0bc0 100644 --- a/myhdl/conversion/_verify.py +++ b/myhdl/conversion/_verify.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import -from __future__ import print_function import sys import os import tempfile diff --git a/myhdl/debug.py b/myhdl/debug.py index 2aedeb3c..b3f83f51 100644 --- a/myhdl/debug.py +++ b/myhdl/debug.py @@ -1,6 +1,3 @@ -from __future__ import absolute_import -from __future__ import print_function - import platform from . import __version__ diff --git a/myhdl/test/bugs/test_bug_1740778.py b/myhdl/test/bugs/test_bug_1740778.py index fe17863d..bf5f6345 100644 --- a/myhdl/test/bugs/test_bug_1740778.py +++ b/myhdl/test/bugs/test_bug_1740778.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import sys import os path = os.path diff --git a/myhdl/test/bugs/test_bug_1835792.py b/myhdl/test/bugs/test_bug_1835792.py index c69e4e34..e7379edc 100644 --- a/myhdl/test/bugs/test_bug_1835792.py +++ b/myhdl/test/bugs/test_bug_1835792.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import sys import os path = os.path diff --git a/myhdl/test/bugs/test_bug_1835797.py b/myhdl/test/bugs/test_bug_1835797.py index e73781a0..29722558 100644 --- a/myhdl/test/bugs/test_bug_1835797.py +++ b/myhdl/test/bugs/test_bug_1835797.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import sys import os path = os.path diff --git a/myhdl/test/bugs/test_bug_1837003.py b/myhdl/test/bugs/test_bug_1837003.py index 0bca6f34..31882ce8 100644 --- a/myhdl/test/bugs/test_bug_1837003.py +++ b/myhdl/test/bugs/test_bug_1837003.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl import ConversionError diff --git a/myhdl/test/bugs/test_bug_28.py b/myhdl/test/bugs/test_bug_28.py index 7f0caa1c..9852539a 100644 --- a/myhdl/test/bugs/test_bug_28.py +++ b/myhdl/test/bugs/test_bug_28.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_bug_3529686.py b/myhdl/test/bugs/test_bug_3529686.py index 78abd667..eed46b73 100644 --- a/myhdl/test/bugs/test_bug_3529686.py +++ b/myhdl/test/bugs/test_bug_3529686.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_bug_3577799.py b/myhdl/test/bugs/test_bug_3577799.py index 2adc6433..ecb100ea 100644 --- a/myhdl/test/bugs/test_bug_3577799.py +++ b/myhdl/test/bugs/test_bug_3577799.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import analyze diff --git a/myhdl/test/bugs/test_bug_39.py b/myhdl/test/bugs/test_bug_39.py index c2d12ff0..d0a88cf5 100644 --- a/myhdl/test/bugs/test_bug_39.py +++ b/myhdl/test/bugs/test_bug_39.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import verify diff --git a/myhdl/test/bugs/test_bug_42.py b/myhdl/test/bugs/test_bug_42.py index caaa52bc..6ffd62f3 100644 --- a/myhdl/test/bugs/test_bug_42.py +++ b/myhdl/test/bugs/test_bug_42.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import #! /usr/bin/env python import myhdl diff --git a/myhdl/test/bugs/test_bug_42_2.py b/myhdl/test/bugs/test_bug_42_2.py index 28616a09..f6d2507e 100644 --- a/myhdl/test/bugs/test_bug_42_2.py +++ b/myhdl/test/bugs/test_bug_42_2.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import #! /usr/bin/env python import myhdl diff --git a/myhdl/test/bugs/test_bug_43.py b/myhdl/test/bugs/test_bug_43.py index 300746b1..872140cc 100644 --- a/myhdl/test/bugs/test_bug_43.py +++ b/myhdl/test/bugs/test_bug_43.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import #! /usr/bin/env python import myhdl diff --git a/myhdl/test/bugs/test_bug_44.py b/myhdl/test/bugs/test_bug_44.py index 1e25b0e3..e0bffbfb 100644 --- a/myhdl/test/bugs/test_bug_44.py +++ b/myhdl/test/bugs/test_bug_44.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_bug_aj1s.py b/myhdl/test/bugs/test_bug_aj1s.py index 72f41cec..c7cccb58 100644 --- a/myhdl/test/bugs/test_bug_aj1s.py +++ b/myhdl/test/bugs/test_bug_aj1s.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import verify diff --git a/myhdl/test/bugs/test_bug_boolconst.py b/myhdl/test/bugs/test_bug_boolconst.py index f39fac49..64d1dbef 100644 --- a/myhdl/test/bugs/test_bug_boolconst.py +++ b/myhdl/test/bugs/test_bug_boolconst.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_bug_boolop.py b/myhdl/test/bugs/test_bug_boolop.py index b691fca1..dc8579fa 100644 --- a/myhdl/test/bugs/test_bug_boolop.py +++ b/myhdl/test/bugs/test_bug_boolop.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_bug_enum_toVHDL.py b/myhdl/test/bugs/test_bug_enum_toVHDL.py index dd18a5f4..f02a4e67 100644 --- a/myhdl/test/bugs/test_bug_enum_toVHDL.py +++ b/myhdl/test/bugs/test_bug_enum_toVHDL.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_bug_enum_toVHDL_2.py b/myhdl/test/bugs/test_bug_enum_toVHDL_2.py index 62b94306..cb1bd940 100644 --- a/myhdl/test/bugs/test_bug_enum_toVHDL_2.py +++ b/myhdl/test/bugs/test_bug_enum_toVHDL_2.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_issue_10.py b/myhdl/test/bugs/test_issue_10.py index 2743360f..90cd595b 100644 --- a/myhdl/test/bugs/test_issue_10.py +++ b/myhdl/test/bugs/test_issue_10.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import #!/usr/bin/python2.7-32 # -*- coding: utf-8 -*- diff --git a/myhdl/test/bugs/test_issue_104.py b/myhdl/test/bugs/test_issue_104.py index 9734d29b..c82adca2 100644 --- a/myhdl/test/bugs/test_issue_104.py +++ b/myhdl/test/bugs/test_issue_104.py @@ -1,4 +1,3 @@ -from __future__ import print_function import pytest from myhdl import Simulation, delay, SimulationError, instance, now from myhdl._Simulation import _error diff --git a/myhdl/test/bugs/test_issue_10_2.py b/myhdl/test/bugs/test_issue_10_2.py index e11d3a60..b4066002 100644 --- a/myhdl/test/bugs/test_issue_10_2.py +++ b/myhdl/test/bugs/test_issue_10_2.py @@ -2,8 +2,6 @@ # -*- coding: utf-8 -*- """Failed VHDL code example """ -from __future__ import absolute_import - import myhdl from myhdl import * from myhdl.conversion import verify diff --git a/myhdl/test/bugs/test_issue_117.py b/myhdl/test/bugs/test_issue_117.py index 64c65b55..fba828e3 100644 --- a/myhdl/test/bugs/test_issue_117.py +++ b/myhdl/test/bugs/test_issue_117.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import analyze diff --git a/myhdl/test/bugs/test_issue_122.py b/myhdl/test/bugs/test_issue_122.py index 29996a8a..bf654bb6 100644 --- a/myhdl/test/bugs/test_issue_122.py +++ b/myhdl/test/bugs/test_issue_122.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import verify diff --git a/myhdl/test/bugs/test_issue_127.py b/myhdl/test/bugs/test_issue_127.py index f8f4a5ed..2ed41049 100644 --- a/myhdl/test/bugs/test_issue_127.py +++ b/myhdl/test/bugs/test_issue_127.py @@ -2,8 +2,6 @@ # http://www.myhdl.org/examples/bitonic/ -from __future__ import absolute_import - import unittest from random import randrange diff --git a/myhdl/test/bugs/test_issue_13.py b/myhdl/test/bugs/test_issue_13.py index 32ba2ee1..9abdfce6 100644 --- a/myhdl/test/bugs/test_issue_13.py +++ b/myhdl/test/bugs/test_issue_13.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import analyze diff --git a/myhdl/test/bugs/test_issue_133.py b/myhdl/test/bugs/test_issue_133.py index 1c4c2e34..f0cf94e8 100644 --- a/myhdl/test/bugs/test_issue_133.py +++ b/myhdl/test/bugs/test_issue_133.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import verify diff --git a/myhdl/test/bugs/test_issue_134.py b/myhdl/test/bugs/test_issue_134.py index 4448817d..3d26f26a 100644 --- a/myhdl/test/bugs/test_issue_134.py +++ b/myhdl/test/bugs/test_issue_134.py @@ -3,7 +3,6 @@ When an interface signal gets passed into a function, it can get renamed to the name of the argument. When the function is called multiple times, this causes name collisions """ -from __future__ import absolute_import import pytest import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_issue_167.py b/myhdl/test/bugs/test_issue_167.py index 6ffda93d..53070ad9 100644 --- a/myhdl/test/bugs/test_issue_167.py +++ b/myhdl/test/bugs/test_issue_167.py @@ -2,8 +2,6 @@ # http://www.myhdl.org/examples/bitonic/ -from __future__ import absolute_import - import unittest from random import randrange diff --git a/myhdl/test/bugs/test_issue_18.py b/myhdl/test/bugs/test_issue_18.py index 1456e5a7..50ae4c9f 100644 --- a/myhdl/test/bugs/test_issue_18.py +++ b/myhdl/test/bugs/test_issue_18.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import analyze diff --git a/myhdl/test/bugs/test_issue_40.py b/myhdl/test/bugs/test_issue_40.py index 080e0235..f508f433 100644 --- a/myhdl/test/bugs/test_issue_40.py +++ b/myhdl/test/bugs/test_issue_40.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import #! /usr/bin/env python import myhdl diff --git a/myhdl/test/bugs/test_issue_9.py b/myhdl/test/bugs/test_issue_9.py index d987a0f5..ce1f73ff 100644 --- a/myhdl/test/bugs/test_issue_9.py +++ b/myhdl/test/bugs/test_issue_9.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/bugs/test_issue_98.py b/myhdl/test/bugs/test_issue_98.py index 78542333..f5a83e0f 100644 --- a/myhdl/test/bugs/test_issue_98.py +++ b/myhdl/test/bugs/test_issue_98.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl.conversion import analyze diff --git a/myhdl/test/conversion/general/test_ShadowSignal.py b/myhdl/test/conversion/general/test_ShadowSignal.py index 22d663d1..9808c6d9 100644 --- a/myhdl/test/conversion/general/test_ShadowSignal.py +++ b/myhdl/test/conversion/general/test_ShadowSignal.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/conversion/general/test_adapter.py b/myhdl/test/conversion/general/test_adapter.py index fcc851d4..0563d3db 100644 --- a/myhdl/test/conversion/general/test_adapter.py +++ b/myhdl/test/conversion/general/test_adapter.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/conversion/general/test_bin2gray.py b/myhdl/test/conversion/general/test_bin2gray.py index 2ae85304..5daf4d46 100644 --- a/myhdl/test/conversion/general/test_bin2gray.py +++ b/myhdl/test/conversion/general/test_bin2gray.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path diff --git a/myhdl/test/conversion/general/test_case.py b/myhdl/test/conversion/general/test_case.py index 89a28405..6a6d64ab 100644 --- a/myhdl/test/conversion/general/test_case.py +++ b/myhdl/test/conversion/general/test_case.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/conversion/general/test_constants.py b/myhdl/test/conversion/general/test_constants.py index 14a59d9f..9359ecbc 100644 --- a/myhdl/test/conversion/general/test_constants.py +++ b/myhdl/test/conversion/general/test_constants.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/conversion/general/test_dec.py b/myhdl/test/conversion/general/test_dec.py index b78b4e82..456bbc53 100644 --- a/myhdl/test/conversion/general/test_dec.py +++ b/myhdl/test/conversion/general/test_dec.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import random diff --git a/myhdl/test/conversion/general/test_errors.py b/myhdl/test/conversion/general/test_errors.py index 464f0cb2..748757c2 100644 --- a/myhdl/test/conversion/general/test_errors.py +++ b/myhdl/test/conversion/general/test_errors.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl import ConversionError diff --git a/myhdl/test/conversion/general/test_fsm.py b/myhdl/test/conversion/general/test_fsm.py index 508b7bf3..20985600 100644 --- a/myhdl/test/conversion/general/test_fsm.py +++ b/myhdl/test/conversion/general/test_fsm.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path diff --git a/myhdl/test/conversion/general/test_hec.py b/myhdl/test/conversion/general/test_hec.py index 56e6b1b9..82918d48 100644 --- a/myhdl/test/conversion/general/test_hec.py +++ b/myhdl/test/conversion/general/test_hec.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path from random import randrange diff --git a/myhdl/test/conversion/general/test_inc.py b/myhdl/test/conversion/general/test_inc.py index 4a788452..7a9bfb66 100644 --- a/myhdl/test/conversion/general/test_inc.py +++ b/myhdl/test/conversion/general/test_inc.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import sys import os path = os.path diff --git a/myhdl/test/conversion/general/test_initial_values.py b/myhdl/test/conversion/general/test_initial_values.py index f6b83e51..053c06bf 100644 --- a/myhdl/test/conversion/general/test_initial_values.py +++ b/myhdl/test/conversion/general/test_initial_values.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import from random import randrange from myhdl import * diff --git a/myhdl/test/conversion/general/test_intbv_signed.py b/myhdl/test/conversion/general/test_intbv_signed.py index 1a78d588..9dee67f4 100644 --- a/myhdl/test/conversion/general/test_intbv_signed.py +++ b/myhdl/test/conversion/general/test_intbv_signed.py @@ -19,8 +19,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the intbv.signed() unit tests. """ -from __future__ import absolute_import - import myhdl from myhdl import * diff --git a/myhdl/test/conversion/general/test_interfaces1.py b/myhdl/test/conversion/general/test_interfaces1.py index cbdc2683..c73d7b70 100644 --- a/myhdl/test/conversion/general/test_interfaces1.py +++ b/myhdl/test/conversion/general/test_interfaces1.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from myhdl import (block, Signal, ResetSignal, intbv, always_seq, instance, delay, StopSimulation, ) diff --git a/myhdl/test/conversion/general/test_interfaces3.py b/myhdl/test/conversion/general/test_interfaces3.py index 2a7b2fff..b206df08 100644 --- a/myhdl/test/conversion/general/test_interfaces3.py +++ b/myhdl/test/conversion/general/test_interfaces3.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import sys import myhdl diff --git a/myhdl/test/conversion/general/test_listofsigs.py b/myhdl/test/conversion/general/test_listofsigs.py index 72e2bbe1..e8ef3f5b 100644 --- a/myhdl/test/conversion/general/test_listofsigs.py +++ b/myhdl/test/conversion/general/test_listofsigs.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl import ConversionError diff --git a/myhdl/test/conversion/general/test_loops.py b/myhdl/test/conversion/general/test_loops.py index 7438b9f1..05d7033b 100644 --- a/myhdl/test/conversion/general/test_loops.py +++ b/myhdl/test/conversion/general/test_loops.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path from random import randrange diff --git a/myhdl/test/conversion/general/test_method.py b/myhdl/test/conversion/general/test_method.py index 7f648376..8ffabcb2 100644 --- a/myhdl/test/conversion/general/test_method.py +++ b/myhdl/test/conversion/general/test_method.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import sys import myhdl from myhdl import * diff --git a/myhdl/test/conversion/general/test_nonlocal.py b/myhdl/test/conversion/general/test_nonlocal.py index 2ddb6c97..a9efe429 100644 --- a/myhdl/test/conversion/general/test_nonlocal.py +++ b/myhdl/test/conversion/general/test_nonlocal.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path diff --git a/myhdl/test/conversion/general/test_numass.py b/myhdl/test/conversion/general/test_numass.py index 9f1e221b..48dd12b5 100644 --- a/myhdl/test/conversion/general/test_numass.py +++ b/myhdl/test/conversion/general/test_numass.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import from random import randrange import myhdl diff --git a/myhdl/test/conversion/general/test_print.py b/myhdl/test/conversion/general/test_print.py index 26138c11..8ce43388 100644 --- a/myhdl/test/conversion/general/test_print.py +++ b/myhdl/test/conversion/general/test_print.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl import ConversionError diff --git a/myhdl/test/conversion/general/test_ram.py b/myhdl/test/conversion/general/test_ram.py index da6e7d6d..30569393 100644 --- a/myhdl/test/conversion/general/test_ram.py +++ b/myhdl/test/conversion/general/test_ram.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/general/test_randscrambler.py b/myhdl/test/conversion/general/test_randscrambler.py index 031ea6e2..db8199e0 100644 --- a/myhdl/test/conversion/general/test_randscrambler.py +++ b/myhdl/test/conversion/general/test_randscrambler.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import os path = os.path import unittest diff --git a/myhdl/test/conversion/general/test_rom.py b/myhdl/test/conversion/general/test_rom.py index 48fa5949..027e3aad 100644 --- a/myhdl/test/conversion/general/test_rom.py +++ b/myhdl/test/conversion/general/test_rom.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path from random import randrange diff --git a/myhdl/test/conversion/general/test_ternary.py b/myhdl/test/conversion/general/test_ternary.py index 305234f6..4eced8d1 100644 --- a/myhdl/test/conversion/general/test_ternary.py +++ b/myhdl/test/conversion/general/test_ternary.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/general/test_toplevel_interfaces.py b/myhdl/test/conversion/general/test_toplevel_interfaces.py index f48e0a4b..fb114a30 100644 --- a/myhdl/test/conversion/general/test_toplevel_interfaces.py +++ b/myhdl/test/conversion/general/test_toplevel_interfaces.py @@ -4,8 +4,6 @@ Created on 23 aug. 2018 @author: josy ''' -from __future__ import print_function - from myhdl import Signal, intbv, block, always_comb, always_seq, ResetSignal, instance, \ delay, StopSimulation diff --git a/myhdl/test/conversion/general/test_toplevel_method.py b/myhdl/test/conversion/general/test_toplevel_method.py index a250997b..bfe74d96 100644 --- a/myhdl/test/conversion/general/test_toplevel_method.py +++ b/myhdl/test/conversion/general/test_toplevel_method.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import sys import myhdl from myhdl import * diff --git a/myhdl/test/conversion/toVHDL/test_custom.py b/myhdl/test/conversion/toVHDL/test_custom.py index c926ee2d..c17ce2f7 100644 --- a/myhdl/test/conversion/toVHDL/test_custom.py +++ b/myhdl/test/conversion/toVHDL/test_custom.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path diff --git a/myhdl/test/conversion/toVHDL/test_enum.py b/myhdl/test/conversion/toVHDL/test_enum.py index bd98a1d9..291bdcbd 100644 --- a/myhdl/test/conversion/toVHDL/test_enum.py +++ b/myhdl/test/conversion/toVHDL/test_enum.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from random import randrange diff --git a/myhdl/test/conversion/toVHDL/test_keywords.py b/myhdl/test/conversion/toVHDL/test_keywords.py index e1031045..53508236 100644 --- a/myhdl/test/conversion/toVHDL/test_keywords.py +++ b/myhdl/test/conversion/toVHDL/test_keywords.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * from myhdl import ToVHDLWarning diff --git a/myhdl/test/conversion/toVHDL/test_loops.py b/myhdl/test/conversion/toVHDL/test_loops.py index d35a9c27..b549ddd4 100644 --- a/myhdl/test/conversion/toVHDL/test_loops.py +++ b/myhdl/test/conversion/toVHDL/test_loops.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path from random import randrange diff --git a/myhdl/test/conversion/toVHDL/test_newcustom.py b/myhdl/test/conversion/toVHDL/test_newcustom.py index d82b282c..0f65303e 100644 --- a/myhdl/test/conversion/toVHDL/test_newcustom.py +++ b/myhdl/test/conversion/toVHDL/test_newcustom.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path diff --git a/myhdl/test/conversion/toVHDL/test_ops.py b/myhdl/test/conversion/toVHDL/test_ops.py index 9dc941ac..d52479f8 100644 --- a/myhdl/test/conversion/toVHDL/test_ops.py +++ b/myhdl/test/conversion/toVHDL/test_ops.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import random diff --git a/myhdl/test/conversion/toVHDL/test_signed.py b/myhdl/test/conversion/toVHDL/test_signed.py index b1f83d2a..f11574e7 100644 --- a/myhdl/test/conversion/toVHDL/test_signed.py +++ b/myhdl/test/conversion/toVHDL/test_signed.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import random diff --git a/myhdl/test/conversion/toVerilog/test_GrayInc.py b/myhdl/test/conversion/toVerilog/test_GrayInc.py index ab17b366..6bf471ac 100644 --- a/myhdl/test/conversion/toVerilog/test_GrayInc.py +++ b/myhdl/test/conversion/toVerilog/test_GrayInc.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_NotSupported.py b/myhdl/test/conversion/toVerilog/test_NotSupported.py index 23a3c33e..9208c988 100644 --- a/myhdl/test/conversion/toVerilog/test_NotSupported.py +++ b/myhdl/test/conversion/toVerilog/test_NotSupported.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_RandomScrambler.py b/myhdl/test/conversion/toVerilog/test_RandomScrambler.py index d4f804d8..efea7f8f 100644 --- a/myhdl/test/conversion/toVerilog/test_RandomScrambler.py +++ b/myhdl/test/conversion/toVerilog/test_RandomScrambler.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_always_comb.py b/myhdl/test/conversion/toVerilog/test_always_comb.py index b441d16f..09bc6562 100644 --- a/myhdl/test/conversion/toVerilog/test_always_comb.py +++ b/myhdl/test/conversion/toVerilog/test_always_comb.py @@ -18,9 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for always_comb """ -from __future__ import absolute_import - - import random from random import randrange # random.seed(3) # random, but deterministic diff --git a/myhdl/test/conversion/toVerilog/test_beh.py b/myhdl/test/conversion/toVerilog/test_beh.py index a6806806..efa3ef9f 100644 --- a/myhdl/test/conversion/toVerilog/test_beh.py +++ b/myhdl/test/conversion/toVerilog/test_beh.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_bin2gray.py b/myhdl/test/conversion/toVerilog/test_bin2gray.py index 5e9391f9..9ebf9b97 100644 --- a/myhdl/test/conversion/toVerilog/test_bin2gray.py +++ b/myhdl/test/conversion/toVerilog/test_bin2gray.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_bugreports.py b/myhdl/test/conversion/toVerilog/test_bugreports.py index f07eb03c..2f0f9e8f 100644 --- a/myhdl/test/conversion/toVerilog/test_bugreports.py +++ b/myhdl/test/conversion/toVerilog/test_bugreports.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/myhdl/test/conversion/toVerilog/test_custom.py b/myhdl/test/conversion/toVerilog/test_custom.py index 6e5950c9..40591c6e 100644 --- a/myhdl/test/conversion/toVerilog/test_custom.py +++ b/myhdl/test/conversion/toVerilog/test_custom.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_dec.py b/myhdl/test/conversion/toVerilog/test_dec.py index c495caca..5a522f57 100644 --- a/myhdl/test/conversion/toVerilog/test_dec.py +++ b/myhdl/test/conversion/toVerilog/test_dec.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_edge.py b/myhdl/test/conversion/toVerilog/test_edge.py index 7b17a17e..61dae1ad 100644 --- a/myhdl/test/conversion/toVerilog/test_edge.py +++ b/myhdl/test/conversion/toVerilog/test_edge.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_errors.py b/myhdl/test/conversion/toVerilog/test_errors.py index cb91b1d6..92a440fe 100644 --- a/myhdl/test/conversion/toVerilog/test_errors.py +++ b/myhdl/test/conversion/toVerilog/test_errors.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import -from __future__ import print_function import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_fsm.py b/myhdl/test/conversion/toVerilog/test_fsm.py index a0840fb3..25260d48 100644 --- a/myhdl/test/conversion/toVerilog/test_fsm.py +++ b/myhdl/test/conversion/toVerilog/test_fsm.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_hec.py b/myhdl/test/conversion/toVerilog/test_hec.py index b7e5f3e8..727c8549 100644 --- a/myhdl/test/conversion/toVerilog/test_hec.py +++ b/myhdl/test/conversion/toVerilog/test_hec.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_inc.py b/myhdl/test/conversion/toVerilog/test_inc.py index 7b79a24d..ae35da66 100644 --- a/myhdl/test/conversion/toVerilog/test_inc.py +++ b/myhdl/test/conversion/toVerilog/test_inc.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_inc_initial.py b/myhdl/test/conversion/toVerilog/test_inc_initial.py index 8d31b652..9f8cabff 100644 --- a/myhdl/test/conversion/toVerilog/test_inc_initial.py +++ b/myhdl/test/conversion/toVerilog/test_inc_initial.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_infer.py b/myhdl/test/conversion/toVerilog/test_infer.py index c262ff4a..cf029107 100644 --- a/myhdl/test/conversion/toVerilog/test_infer.py +++ b/myhdl/test/conversion/toVerilog/test_infer.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_loops.py b/myhdl/test/conversion/toVerilog/test_loops.py index ae2d1d8f..bce1856b 100644 --- a/myhdl/test/conversion/toVerilog/test_loops.py +++ b/myhdl/test/conversion/toVerilog/test_loops.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_misc.py b/myhdl/test/conversion/toVerilog/test_misc.py index 20c590b7..8546cea1 100644 --- a/myhdl/test/conversion/toVerilog/test_misc.py +++ b/myhdl/test/conversion/toVerilog/test_misc.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import unittest import os path = os.path diff --git a/myhdl/test/conversion/toVerilog/test_newcustom.py b/myhdl/test/conversion/toVerilog/test_newcustom.py index 84e963d2..25ec5093 100644 --- a/myhdl/test/conversion/toVerilog/test_newcustom.py +++ b/myhdl/test/conversion/toVerilog/test_newcustom.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_ops.py b/myhdl/test/conversion/toVerilog/test_ops.py index 65f4c01a..e712126a 100644 --- a/myhdl/test/conversion/toVerilog/test_ops.py +++ b/myhdl/test/conversion/toVerilog/test_ops.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_ram.py b/myhdl/test/conversion/toVerilog/test_ram.py index bfb24ea0..7f4d9dc7 100644 --- a/myhdl/test/conversion/toVerilog/test_ram.py +++ b/myhdl/test/conversion/toVerilog/test_ram.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_rom.py b/myhdl/test/conversion/toVerilog/test_rom.py index 7d233c1e..9abe529a 100644 --- a/myhdl/test/conversion/toVerilog/test_rom.py +++ b/myhdl/test/conversion/toVerilog/test_rom.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/test_signed.py b/myhdl/test/conversion/toVerilog/test_signed.py index ba3e6f67..3155691e 100644 --- a/myhdl/test/conversion/toVerilog/test_signed.py +++ b/myhdl/test/conversion/toVerilog/test_signed.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import unittest diff --git a/myhdl/test/conversion/toVerilog/util.py b/myhdl/test/conversion/toVerilog/util.py index 4a40adaa..8aa337f1 100644 --- a/myhdl/test/conversion/toVerilog/util.py +++ b/myhdl/test/conversion/toVerilog/util.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path import subprocess diff --git a/myhdl/test/conversion/toVerilog2/test_loops.py b/myhdl/test/conversion/toVerilog2/test_loops.py index 1516ba06..37955156 100644 --- a/myhdl/test/conversion/toVerilog2/test_loops.py +++ b/myhdl/test/conversion/toVerilog2/test_loops.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os path = os.path from random import randrange diff --git a/myhdl/test/core/test_Cosimulation.py b/myhdl/test/core/test_Cosimulation.py index 4a9dbffb..04bd91d8 100644 --- a/myhdl/test/core/test_Cosimulation.py +++ b/myhdl/test/core/test_Cosimulation.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run unit tests for Cosimulation """ -from __future__ import absolute_import - import gc import os import random diff --git a/myhdl/test/core/test_ShadowSignal.py b/myhdl/test/core/test_ShadowSignal.py index 1f936194..e6c68fc6 100644 --- a/myhdl/test/core/test_ShadowSignal.py +++ b/myhdl/test/core/test_ShadowSignal.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import myhdl from myhdl import * diff --git a/myhdl/test/core/test_Signal.py b/myhdl/test/core/test_Signal.py index 8df01d71..bf0f0b2d 100644 --- a/myhdl/test/core/test_Signal.py +++ b/myhdl/test/core/test_Signal.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for Signal """ -from __future__ import absolute_import - import copy import operator import random diff --git a/myhdl/test/core/test_Simulation.py b/myhdl/test/core/test_Simulation.py index f9d57757..39787f93 100644 --- a/myhdl/test/core/test_Simulation.py +++ b/myhdl/test/core/test_Simulation.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run unit tests for Simulation """ -from __future__ import absolute_import - import random from random import randrange from unittest import TestCase diff --git a/myhdl/test/core/test_always.py b/myhdl/test/core/test_always.py index 505b3f88..8d404033 100644 --- a/myhdl/test/core/test_always.py +++ b/myhdl/test/core/test_always.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for the @always decorator """ -from __future__ import absolute_import - from random import randrange from myhdl import (AlwaysError, Signal, Simulation, StopSimulation, delay, diff --git a/myhdl/test/core/test_always_comb.py b/myhdl/test/core/test_always_comb.py index c05cb547..6efac918 100644 --- a/myhdl/test/core/test_always_comb.py +++ b/myhdl/test/core/test_always_comb.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for always_comb """ -from __future__ import absolute_import - import random from random import randrange diff --git a/myhdl/test/core/test_bin.py b/myhdl/test/core/test_bin.py index ca02bc6d..4958c84f 100644 --- a/myhdl/test/core/test_bin.py +++ b/myhdl/test/core/test_bin.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for bin """ -from __future__ import absolute_import - import random import sys from random import randrange diff --git a/myhdl/test/core/test_concat.py b/myhdl/test/core/test_concat.py index bb2c9b2b..324027b3 100644 --- a/myhdl/test/core/test_concat.py +++ b/myhdl/test/core/test_concat.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the concatunit tests. """ -from __future__ import absolute_import - import operator import random from functools import reduce diff --git a/myhdl/test/core/test_enum.py b/myhdl/test/core/test_enum.py index d8c41501..01a95c3c 100644 --- a/myhdl/test/core/test_enum.py +++ b/myhdl/test/core/test_enum.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for enum """ -from __future__ import absolute_import - import copy import random diff --git a/myhdl/test/core/test_inferWaiter.py b/myhdl/test/core/test_inferWaiter.py index 03f9cecd..18ad6cf2 100644 --- a/myhdl/test/core/test_inferWaiter.py +++ b/myhdl/test/core/test_inferWaiter.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for inferWaiter """ -from __future__ import absolute_import - import random from random import randrange from types import GeneratorType diff --git a/myhdl/test/core/test_instance.py b/myhdl/test/core/test_instance.py index 5f8d2441..2e720af4 100644 --- a/myhdl/test/core/test_instance.py +++ b/myhdl/test/core/test_instance.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for instance """ -from __future__ import absolute_import - from myhdl import (InstanceError, Signal, Simulation, StopSimulation, delay, instances, intbv, now) from myhdl._instance import _error, instance diff --git a/myhdl/test/core/test_intbv.py b/myhdl/test/core/test_intbv.py index 689e3dcc..4fa9d2e7 100644 --- a/myhdl/test/core/test_intbv.py +++ b/myhdl/test/core/test_intbv.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the intbv unit tests. """ -from __future__ import absolute_import - import operator import random import sys diff --git a/myhdl/test/core/test_misc.py b/myhdl/test/core/test_misc.py index d019454a..dd5ba0d5 100644 --- a/myhdl/test/core/test_misc.py +++ b/myhdl/test/core/test_misc.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for Signal """ -from __future__ import absolute_import - import random from myhdl import instance, instances diff --git a/myhdl/test/core/test_modbv.py b/myhdl/test/core/test_modbv.py index 69e4897a..1b62d5e5 100644 --- a/myhdl/test/core/test_modbv.py +++ b/myhdl/test/core/test_modbv.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the modbv unit tests. """ -from __future__ import absolute_import - import sys import random import pytest diff --git a/myhdl/test/core/test_signed.py b/myhdl/test/core/test_signed.py index f24de242..7fc0ea9a 100644 --- a/myhdl/test/core/test_signed.py +++ b/myhdl/test/core/test_signed.py @@ -19,8 +19,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the intbv.signed() unit tests. """ -from __future__ import absolute_import - from random import randrange import myhdl diff --git a/myhdl/test/core/test_traceSignals.py b/myhdl/test/core/test_traceSignals.py index 94e61d41..334d82c3 100644 --- a/myhdl/test/core/test_traceSignals.py +++ b/myhdl/test/core/test_traceSignals.py @@ -18,8 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for traceSignals """ -from __future__ import absolute_import - import os import random diff --git a/scripts/benchmark/convert.py b/scripts/benchmark/convert.py index 5886f4b9..43171a70 100644 --- a/scripts/benchmark/convert.py +++ b/scripts/benchmark/convert.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/glibc_random.py b/scripts/benchmark/glibc_random.py index d0ef5e8e..dda54b15 100644 --- a/scripts/benchmark/glibc_random.py +++ b/scripts/benchmark/glibc_random.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/lfsr24.py b/scripts/benchmark/lfsr24.py index 451e6c66..b52ddc4e 100644 --- a/scripts/benchmark/lfsr24.py +++ b/scripts/benchmark/lfsr24.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/long_divider.py b/scripts/benchmark/long_divider.py index 8793fa0d..9f657b05 100644 --- a/scripts/benchmark/long_divider.py +++ b/scripts/benchmark/long_divider.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/perf_inferWaiter.py b/scripts/benchmark/perf_inferWaiter.py index bebf01b3..3637388b 100644 --- a/scripts/benchmark/perf_inferWaiter.py +++ b/scripts/benchmark/perf_inferWaiter.py @@ -18,9 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Run the unit tests for inferWaiter """ -from __future__ import absolute_import - - import random from random import randrange random.seed(1) # random, but deterministic diff --git a/scripts/benchmark/random_generator.py b/scripts/benchmark/random_generator.py index e6e21780..1a676245 100644 --- a/scripts/benchmark/random_generator.py +++ b/scripts/benchmark/random_generator.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_findmax.py b/scripts/benchmark/test_findmax.py index 83620b5a..8e5c2a2e 100644 --- a/scripts/benchmark/test_findmax.py +++ b/scripts/benchmark/test_findmax.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_findmax_sigs.py b/scripts/benchmark/test_findmax_sigs.py index 53d29d31..c73d7bad 100644 --- a/scripts/benchmark/test_findmax_sigs.py +++ b/scripts/benchmark/test_findmax_sigs.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_lfsr24.py b/scripts/benchmark/test_lfsr24.py index fc8e1d52..aee0fe89 100644 --- a/scripts/benchmark/test_lfsr24.py +++ b/scripts/benchmark/test_lfsr24.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv.py b/scripts/benchmark/test_longdiv.py index e8daf4bb..d2fa130e 100644 --- a/scripts/benchmark/test_longdiv.py +++ b/scripts/benchmark/test_longdiv.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_10.py b/scripts/benchmark/test_longdiv_10.py index 357ae8cb..02e98ffe 100644 --- a/scripts/benchmark/test_longdiv_10.py +++ b/scripts/benchmark/test_longdiv_10.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_11.py b/scripts/benchmark/test_longdiv_11.py index 610ed27d..8526e4e6 100644 --- a/scripts/benchmark/test_longdiv_11.py +++ b/scripts/benchmark/test_longdiv_11.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_12.py b/scripts/benchmark/test_longdiv_12.py index 3a8fe913..f9e48372 100644 --- a/scripts/benchmark/test_longdiv_12.py +++ b/scripts/benchmark/test_longdiv_12.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_13.py b/scripts/benchmark/test_longdiv_13.py index 64005b56..5ca110f0 100644 --- a/scripts/benchmark/test_longdiv_13.py +++ b/scripts/benchmark/test_longdiv_13.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_14.py b/scripts/benchmark/test_longdiv_14.py index 97b909b0..6a6c8853 100644 --- a/scripts/benchmark/test_longdiv_14.py +++ b/scripts/benchmark/test_longdiv_14.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_15.py b/scripts/benchmark/test_longdiv_15.py index 805f6b34..ca558e6f 100644 --- a/scripts/benchmark/test_longdiv_15.py +++ b/scripts/benchmark/test_longdiv_15.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_16.py b/scripts/benchmark/test_longdiv_16.py index 8795cf93..beac645b 100644 --- a/scripts/benchmark/test_longdiv_16.py +++ b/scripts/benchmark/test_longdiv_16.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_17.py b/scripts/benchmark/test_longdiv_17.py index 1848d6b9..7c32c894 100644 --- a/scripts/benchmark/test_longdiv_17.py +++ b/scripts/benchmark/test_longdiv_17.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_18.py b/scripts/benchmark/test_longdiv_18.py index 26834725..b1d13c41 100644 --- a/scripts/benchmark/test_longdiv_18.py +++ b/scripts/benchmark/test_longdiv_18.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_longdiv_9.py b/scripts/benchmark/test_longdiv_9.py index eaf92cd4..e8d92541 100644 --- a/scripts/benchmark/test_longdiv_9.py +++ b/scripts/benchmark/test_longdiv_9.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_randgen.py b/scripts/benchmark/test_randgen.py index 735d95a3..fcd6c8c3 100644 --- a/scripts/benchmark/test_randgen.py +++ b/scripts/benchmark/test_randgen.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_timer.py b/scripts/benchmark/test_timer.py index 4eb140bb..26a68c24 100644 --- a/scripts/benchmark/test_timer.py +++ b/scripts/benchmark/test_timer.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/test_timer_array.py b/scripts/benchmark/test_timer_array.py index eb9cbe68..ddeca6ec 100644 --- a/scripts/benchmark/test_timer_array.py +++ b/scripts/benchmark/test_timer_array.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import * diff --git a/scripts/benchmark/timer.py b/scripts/benchmark/timer.py index 519645c5..61edaa57 100644 --- a/scripts/benchmark/timer.py +++ b/scripts/benchmark/timer.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import myhdl from myhdl import *