formal: extract from toplevel module.
The nMigen formal language is about to get *much* larger and will keep growing faster than the rest of nMigen language, so it makes good sense to extract it. Further, this makes it easier to qualify formal keywords like `formal.AnyConst()` without directly importing hdl.ast.
This commit is contained in:
parent
198efcad31
commit
16f90d3585
|
@ -1,4 +1,4 @@
|
|||
from .hdl.ast import Value, Const, C, AnyConst, AnySeq, Mux, Cat, Repl, Array, Signal, ClockSignal, ResetSignal, Assert, Assume
|
||||
from .hdl.ast import Value, Const, C, Mux, Cat, Repl, Array, Signal, ClockSignal, ResetSignal
|
||||
from .hdl.dsl import Module
|
||||
from .hdl.cd import ClockDomain
|
||||
from .hdl.ir import Fragment, Instance
|
||||
|
|
1
nmigen/formal.py
Normal file
1
nmigen/formal.py
Normal file
|
@ -0,0 +1 @@
|
|||
from .hdl.ast import AnyConst, AnySeq, Assert, Assume
|
Loading…
Reference in a new issue