1
0
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:
Hugo 2019-03-12 18:34:14 +02:00
parent 81c76f3a52
commit fc89694a11
167 changed files with 0 additions and 247 deletions

View File

@ -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

View File

@ -1,5 +1,3 @@
from __future__ import generators
import unittest
from unittest import TestCase

View File

@ -1,5 +1,3 @@
from __future__ import generators
import unittest
from unittest import TestCase
import random

View File

@ -1,5 +1,3 @@
from __future__ import generators
import unittest
from unittest import TestCase
import random

View File

@ -1,5 +1,3 @@
from __future__ import generators
import myhdl
from myhdl import *

View File

@ -1,5 +1,3 @@
from __future__ import generators
import sys
from random import randrange

View File

@ -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

View File

@ -21,8 +21,6 @@
"""
from __future__ import absolute_import
import warnings
from copy import deepcopy

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -22,8 +22,6 @@
""" module with the concat function.
"""
from __future__ import absolute_import
from myhdl._intbv import intbv
from myhdl._Signal import _Signal

View File

@ -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"

View File

@ -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

View File

@ -20,9 +20,6 @@
""" myhdl _extractHierarchy module.
"""
from __future__ import absolute_import
import sys
import inspect
import string

View File

@ -21,8 +21,6 @@
"""
from __future__ import absolute_import
from myhdl._extractHierarchy import _Instance
from myhdl._block import _Block

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import ast
from myhdl._util import _flatten

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import ast
import itertools
from types import FunctionType

View File

@ -20,10 +20,6 @@
""" myhdl traceSignals block.
"""
from __future__ import absolute_import
from __future__ import print_function
import sys
import time
import os

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import warnings
from myhdl._Signal import _Signal, _DelayedSignal

View File

@ -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

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from ._verify import verify, analyze, registerSimulator
from ._toVerilog import toVerilog
from ._toVHDL import toVHDL

View File

@ -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

View File

@ -20,9 +20,6 @@
""" myhdl toVerilog package.
"""
from __future__ import absolute_import
import ast
from myhdl import ConversionError

View File

@ -20,9 +20,6 @@
""" myhdl toVHDL conversion module.
"""
from __future__ import absolute_import
from __future__ import print_function
import sys
import math
import os

View File

@ -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.
#

View File

@ -20,10 +20,6 @@
""" myhdl toVerilog conversion module.
"""
from __future__ import absolute_import
from __future__ import print_function
import sys
import math
import os

View File

@ -1,5 +1,3 @@
from __future__ import absolute_import
from __future__ import print_function
import sys
import os
import tempfile

View File

@ -1,6 +1,3 @@
from __future__ import absolute_import
from __future__ import print_function
import platform
from . import __version__

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import sys
import os
path = os.path

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import sys
import os
path = os.path

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import sys
import os
path = os.path

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl import ConversionError

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import analyze

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import verify

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
#! /usr/bin/env python
import myhdl

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
#! /usr/bin/env python
import myhdl

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
#! /usr/bin/env python
import myhdl

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import verify

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
#!/usr/bin/python2.7-32
# -*- coding: utf-8 -*-

View File

@ -1,4 +1,3 @@
from __future__ import print_function
import pytest
from myhdl import Simulation, delay, SimulationError, instance, now
from myhdl._Simulation import _error

View File

@ -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

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import analyze

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import verify

View File

@ -2,8 +2,6 @@
# http://www.myhdl.org/examples/bitonic/
from __future__ import absolute_import
import unittest
from random import randrange

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import analyze

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import verify

View File

@ -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 *

View File

@ -2,8 +2,6 @@
# http://www.myhdl.org/examples/bitonic/
from __future__ import absolute_import
import unittest
from random import randrange

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import analyze

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
#! /usr/bin/env python
import myhdl

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl.conversion import analyze

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path
import random

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl import ConversionError

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path
from random import randrange

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import sys
import os
path = os.path

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from random import randrange
from myhdl import *

View File

@ -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 *

View File

@ -1,5 +1,3 @@
from __future__ import absolute_import
from myhdl import (block, Signal, ResetSignal, intbv, always_seq,
instance, delay, StopSimulation, )

View File

@ -1,5 +1,3 @@
from __future__ import absolute_import
import sys
import myhdl

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl import ConversionError

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path
from random import randrange

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import sys
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from random import randrange
import myhdl

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl import ConversionError

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path
import unittest

View File

@ -1,5 +1,3 @@
from __future__ import absolute_import
import os
path = os.path
import unittest

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path
from random import randrange

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path
import unittest

View File

@ -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

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import sys
import myhdl
from myhdl import *

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from random import randrange

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import myhdl
from myhdl import *
from myhdl import ToVHDLWarning

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path
from random import randrange

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import os
path = os.path

Some files were not shown because too many files have changed in this diff Show More