mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
The future is now
This commit is contained in:
parent
81c76f3a52
commit
fc89694a11
@ -1,6 +1,3 @@
|
|||||||
from __future__ import generators
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
from myhdl import Signal, Simulation, Cosimulation
|
from myhdl import Signal, Simulation, Cosimulation
|
||||||
from myhdl import delay, intbv, now
|
from myhdl import delay, intbv, now
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import generators
|
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import generators
|
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
import random
|
import random
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import generators
|
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
import random
|
import random
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import generators
|
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import generators
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module that provides the Cosimulation class """
|
""" Module that provides the Cosimulation class """
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
#import shlex
|
#import shlex
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
|
|
||||||
|
@ -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
|
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 copy import copy, deepcopy
|
||||||
|
|
||||||
from myhdl import _simulator as sim
|
from myhdl import _simulator as sim
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module that provides the Simulation class """
|
""" Module that provides the Simulation class """
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
from types import GeneratorType
|
from types import GeneratorType
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module that provides the _Waiter class """
|
""" Module that provides the _Waiter class """
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
from types import GeneratorType
|
from types import GeneratorType
|
||||||
|
|
||||||
import ast
|
import ast
|
||||||
|
@ -49,9 +49,6 @@ traceSignals -- function that enables signal tracing in a VCD file
|
|||||||
toVerilog -- function that converts a design to Verilog
|
toVerilog -- function that converts a design to Verilog
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
__version__ = "0.10"
|
__version__ = "0.10"
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module with the always function. """
|
""" Module with the always function. """
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
from types import FunctionType
|
from types import FunctionType
|
||||||
|
|
||||||
from myhdl import AlwaysError
|
from myhdl import AlwaysError
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module with the always_comb function. """
|
""" Module with the always_comb function. """
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
from types import FunctionType
|
from types import FunctionType
|
||||||
|
|
||||||
from myhdl import AlwaysCombError
|
from myhdl import AlwaysCombError
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module with the always_seq decorator. """
|
""" Module with the always_seq decorator. """
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
from types import FunctionType
|
from types import FunctionType
|
||||||
|
|
||||||
from myhdl import AlwaysError, intbv
|
from myhdl import AlwaysError, intbv
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Block with the @block decorator function. """
|
""" Block with the @block decorator function. """
|
||||||
from __future__ import absolute_import, print_function
|
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
|
|
||||||
#from functools import wraps
|
#from functools import wraps
|
||||||
|
@ -22,8 +22,6 @@
|
|||||||
""" module with the concat function.
|
""" module with the concat function.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
from myhdl._intbv import intbv
|
from myhdl._intbv import intbv
|
||||||
from myhdl._Signal import _Signal
|
from myhdl._Signal import _Signal
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module that provides the delay class."""
|
""" Module that provides the delay class."""
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
_errmsg = "arg of delay constructor should be a natural integeer"
|
_errmsg = "arg of delay constructor should be a natural integeer"
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
""" Module that implements enum.
|
""" Module that implements enum.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
from myhdl._bin import bin
|
from myhdl._bin import bin
|
||||||
from myhdl._Signal import _Signal
|
from myhdl._Signal import _Signal
|
||||||
# from myhdl.conversion._VHDLNameValidation import _nameValid
|
# from myhdl.conversion._VHDLNameValidation import _nameValid
|
||||||
|
@ -20,9 +20,6 @@
|
|||||||
""" myhdl _extractHierarchy module.
|
""" myhdl _extractHierarchy module.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import inspect
|
import inspect
|
||||||
import string
|
import string
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
from myhdl._extractHierarchy import _Instance
|
from myhdl._extractHierarchy import _Instance
|
||||||
from myhdl._block import _Block
|
from myhdl._block import _Block
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import ast
|
import ast
|
||||||
|
|
||||||
from myhdl._util import _flatten
|
from myhdl._util import _flatten
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module with the always function. """
|
""" Module with the always function. """
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
from types import FunctionType
|
from types import FunctionType
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module with the intbv class """
|
""" Module with the intbv class """
|
||||||
from __future__ import absolute_import, division
|
|
||||||
|
|
||||||
import builtins
|
import builtins
|
||||||
|
|
||||||
from myhdl._bin import bin
|
from myhdl._bin import bin
|
||||||
|
@ -24,9 +24,6 @@ instances -- function that returns instances in a generator function
|
|||||||
downrange -- function that returns a downward range
|
downrange -- function that returns a downward range
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
|
|
||||||
from myhdl._Cosimulation import Cosimulation
|
from myhdl._Cosimulation import Cosimulation
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Module with the modbv class """
|
""" Module with the modbv class """
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
from ._intbv import intbv
|
from ._intbv import intbv
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import ast
|
import ast
|
||||||
import itertools
|
import itertools
|
||||||
from types import FunctionType
|
from types import FunctionType
|
||||||
|
@ -20,10 +20,6 @@
|
|||||||
""" myhdl traceSignals block.
|
""" myhdl traceSignals block.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import os
|
import os
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
from myhdl._Signal import _Signal, _DelayedSignal
|
from myhdl._Signal import _Signal, _DelayedSignal
|
||||||
|
@ -20,9 +20,6 @@
|
|||||||
""" Module with utilility objects for MyHDL.
|
""" Module with utilility objects for MyHDL.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import __future__
|
import __future__
|
||||||
import ast
|
import ast
|
||||||
import sys
|
import sys
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
from ._verify import verify, analyze, registerSimulator
|
from ._verify import verify, analyze, registerSimulator
|
||||||
from ._toVerilog import toVerilog
|
from ._toVerilog import toVerilog
|
||||||
from ._toVHDL import toVHDL
|
from ._toVHDL import toVHDL
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
""" MyHDL conversion analysis module.
|
""" MyHDL conversion analysis module.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import, print_function
|
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
# import compiler
|
# import compiler
|
||||||
# from compiler import ast as astNode
|
# from compiler import ast as astNode
|
||||||
|
@ -20,9 +20,6 @@
|
|||||||
""" myhdl toVerilog package.
|
""" myhdl toVerilog package.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
import ast
|
import ast
|
||||||
|
|
||||||
from myhdl import ConversionError
|
from myhdl import ConversionError
|
||||||
|
@ -20,9 +20,6 @@
|
|||||||
""" myhdl toVHDL conversion module.
|
""" myhdl toVHDL conversion module.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import math
|
import math
|
||||||
import os
|
import os
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
# This file is part of the myhdl library, a Python package for using
|
# This file is part of the myhdl library, a Python package for using
|
||||||
# Python as a Hardware Description Language.
|
# Python as a Hardware Description Language.
|
||||||
#
|
#
|
||||||
|
@ -20,10 +20,6 @@
|
|||||||
""" myhdl toVerilog conversion module.
|
""" myhdl toVerilog conversion module.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import math
|
import math
|
||||||
import os
|
import os
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import platform
|
import platform
|
||||||
|
|
||||||
from . import __version__
|
from . import __version__
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl import ConversionError
|
from myhdl import ConversionError
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import analyze
|
from myhdl.conversion import analyze
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import verify
|
from myhdl.conversion import verify
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import verify
|
from myhdl.conversion import verify
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
#!/usr/bin/python2.7-32
|
#!/usr/bin/python2.7-32
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import print_function
|
|
||||||
import pytest
|
import pytest
|
||||||
from myhdl import Simulation, delay, SimulationError, instance, now
|
from myhdl import Simulation, delay, SimulationError, instance, now
|
||||||
from myhdl._Simulation import _error
|
from myhdl._Simulation import _error
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""Failed VHDL code example
|
"""Failed VHDL code example
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import verify
|
from myhdl.conversion import verify
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import analyze
|
from myhdl.conversion import analyze
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import verify
|
from myhdl.conversion import verify
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
# http://www.myhdl.org/examples/bitonic/
|
# http://www.myhdl.org/examples/bitonic/
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import analyze
|
from myhdl.conversion import analyze
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import verify
|
from myhdl.conversion import verify
|
||||||
|
@ -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
|
can get renamed to the name of the argument. When the
|
||||||
function is called multiple times, this causes name collisions """
|
function is called multiple times, this causes name collisions """
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import pytest
|
import pytest
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
# http://www.myhdl.org/examples/bitonic/
|
# http://www.myhdl.org/examples/bitonic/
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import analyze
|
from myhdl.conversion import analyze
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl.conversion import analyze
|
from myhdl.conversion import analyze
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
import random
|
import random
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl import ConversionError
|
from myhdl import ConversionError
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
""" Run the intbv.signed() unit tests. """
|
""" Run the intbv.signed() unit tests. """
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
from myhdl import (block, Signal, ResetSignal, intbv, always_seq,
|
from myhdl import (block, Signal, ResetSignal, intbv, always_seq,
|
||||||
instance, delay, StopSimulation, )
|
instance, delay, StopSimulation, )
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl import ConversionError
|
from myhdl import ConversionError
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
|
||||||
import myhdl
|
import myhdl
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl import ConversionError
|
from myhdl import ConversionError
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -4,8 +4,6 @@ Created on 23 aug. 2018
|
|||||||
@author: josy
|
@author: josy
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
from myhdl import Signal, intbv, block, always_comb, always_seq, ResetSignal, instance, \
|
from myhdl import Signal, intbv, block, always_comb, always_seq, ResetSignal, instance, \
|
||||||
delay, StopSimulation
|
delay, StopSimulation
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import myhdl
|
import myhdl
|
||||||
from myhdl import *
|
from myhdl import *
|
||||||
from myhdl import ToVHDLWarning
|
from myhdl import ToVHDLWarning
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
from random import randrange
|
from random import randrange
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
path = os.path
|
path = os.path
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user