Move star imports to make from nmigen import * usable.

This commit is contained in:
whitequark 2018-12-15 14:20:10 +00:00
parent ad3c88852f
commit b5a1efa0c8
9 changed files with 14 additions and 13 deletions

View file

@ -1,4 +1,4 @@
from nmigen.fhdl import *
from nmigen import *
from nmigen.back import rtlil, verilog

View file

@ -1,4 +1,4 @@
from nmigen.fhdl import *
from nmigen import *
from nmigen.back import rtlil, verilog

View file

@ -1,4 +1,4 @@
from nmigen.fhdl import *
from nmigen import *
from nmigen.back import rtlil, verilog

View file

@ -1,6 +1,5 @@
from nmigen.fhdl import *
from nmigen import *
from nmigen.back import rtlil, verilog
from nmigen.genlib.cdc import *
i, o = Signal(name="i"), Signal(name="o")

View file

@ -1,4 +1,4 @@
from nmigen.fhdl import *
from nmigen import *
from nmigen.back import rtlil, verilog, pysim

View file

@ -1,4 +1,4 @@
from nmigen.fhdl import *
from nmigen import *
from nmigen.back import rtlil, verilog, pysim

View file

@ -1,4 +1,4 @@
from nmigen.fhdl import *
from nmigen import *
from nmigen.back import rtlil, verilog

View file

@ -0,0 +1,7 @@
from .fhdl.ast import Value, Const, Mux, Cat, Repl, Signal, ClockSignal, ResetSignal
from .fhdl.dsl import Module
from .fhdl.cd import ClockDomain
from .fhdl.ir import Fragment
from .fhdl.xfrm import ResetInserter, CEInserter
from .genlib.cdc import MultiReg

View file

@ -1,5 +0,0 @@
from .cd import ClockDomain
from .ast import Value, Const, Mux, Cat, Repl, Signal, ClockSignal, ResetSignal
from .ir import Fragment
from .dsl import Module
from .xfrm import ResetInserter, CEInserter