mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
import through package
This commit is contained in:
parent
1119554f26
commit
c68531596e
@ -28,9 +28,8 @@ import sys
|
||||
import os
|
||||
import exceptions
|
||||
|
||||
from Signal import Signal
|
||||
import _simulator
|
||||
from myhdl import intbv
|
||||
from myhdl import intbv, Signal
|
||||
from myhdl import _simulator
|
||||
|
||||
_MAXLINE = 4096
|
||||
|
||||
|
@ -29,9 +29,8 @@ import inspect
|
||||
from types import FunctionType
|
||||
import compiler
|
||||
|
||||
from util import _isgeneratorfunction
|
||||
|
||||
from myhdl import Signal
|
||||
from myhdl.util import _isgeneratorfunction
|
||||
|
||||
class Error(Exception):
|
||||
"""always_comb Error"""
|
||||
|
@ -32,12 +32,13 @@ import unittest
|
||||
from unittest import TestCase
|
||||
import inspect
|
||||
|
||||
from myhdl import Signal, Simulation, instances, processes, \
|
||||
intbv, posedge, negedge, delay, StopSimulation
|
||||
|
||||
from always_comb import always_comb, _AlwaysComb
|
||||
from always_comb import ScopeError, ArgumentError, NrOfArgsError, \
|
||||
SignalAsInoutError
|
||||
|
||||
from myhdl import Signal, Simulation, instances, processes, \
|
||||
intbv, posedge, negedge, delay, StopSimulation
|
||||
|
||||
QUIET=1
|
||||
|
||||
|
@ -32,7 +32,8 @@ random.seed(1) # random, but deterministic
|
||||
import unittest
|
||||
from unittest import TestCase
|
||||
import sys
|
||||
from bin import bin
|
||||
|
||||
from myhdl import bin
|
||||
|
||||
SIZE = 100
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user