amaranth/nmigen/test
whitequark 7df70059d1 back.pysim: redesign the simulator.
The redesign introduces no fundamental incompatibilities, but it does
involve minor breaking changes:
  * The simulator commands were moved from hdl.ast to back.pysim
    (instead of only being reexported from back.pysim).
  * back.pysim.DeadlineError was removed.

Summary of changes:
  * The new simulator compiles HDL to Python code and is >6x faster.
    (The old one compiled HDL to lots of Python lambdas.)
  * The new simulator is a straightforward, rigorous implementation
    of the Synchronous Reactive Programming paradigm, instead of
    a pile of ad-hoc code with no particular design driving it.
  * The new simulator never raises DeadlineError, and there is no
    limit on the amount of delta cycles.
  * The new simulator robustly handles multiclock designs.
  * The new simulator can be reset, such that the compiled design
    can be reused, which can save significant runtime with large
    designs.
  * Generators can no longer be added as processes, since that would
    break reset(); only generator functions may be. If necessary,
    they may be added by wrapping them into a generator function;
    a deprecated fallback does just that. This workaround will raise
    an exception if the simulator is reset and restarted.
  * The new simulator does not depend on Python extensions.
    (The old one required bitarray, which did not provide wheels.)

Fixes #28.
Fixes #34.
Fixes #160.
Fixes #161.
Fixes #215.
Fixes #242.
Fixes #262.
2019-11-28 21:05:34 +00:00
..
compat test: use #nmigen: magic comment instead of monkey patch. 2019-10-26 06:37:08 +00:00
__init__.py test: use #nmigen: magic comment instead of monkey patch. 2019-10-26 06:37:08 +00:00
test_build_dsl.py {,_}tools→{,_}utils 2019-10-13 18:53:38 +00:00
test_build_plat.py build.plat: in Platform.add_file(), allow adding exact duplicates. 2019-11-15 23:40:44 +00:00
test_build_res.py test: use #nmigen: magic comment instead of monkey patch. 2019-10-26 06:37:08 +00:00
test_compat.py {,_}tools→{,_}utils 2019-10-13 18:53:38 +00:00
test_examples.py {,_}tools→{,_}utils 2019-10-13 18:53:38 +00:00
test_hdl_ast.py hdl.ast: simplify {bit,word}_select with constant offset. 2019-10-26 00:09:53 +00:00
test_hdl_cd.py {,_}tools→{,_}utils 2019-10-13 18:53:38 +00:00
test_hdl_dsl.py test: use #nmigen: magic comment instead of monkey patch. 2019-10-26 06:37:08 +00:00
test_hdl_ir.py hdl.ir: for instance ports, prioritize defs over uses. 2019-11-26 21:19:03 +00:00
test_hdl_mem.py test: use #nmigen: magic comment instead of monkey patch. 2019-10-26 06:37:08 +00:00
test_hdl_rec.py {,_}tools→{,_}utils 2019-10-13 18:53:38 +00:00
test_hdl_xfrm.py test: use #nmigen: magic comment instead of monkey patch. 2019-10-26 06:37:08 +00:00
test_lib_cdc.py back.pysim: redesign the simulator. 2019-11-28 21:05:34 +00:00
test_lib_coding.py back.pysim: redesign the simulator. 2019-11-28 21:05:34 +00:00
test_lib_fifo.py test: use #nmigen: magic comment instead of monkey patch. 2019-10-26 06:37:08 +00:00
test_lib_io.py {,_}tools→{,_}utils 2019-10-13 18:53:38 +00:00
test_sim.py back.pysim: redesign the simulator. 2019-11-28 21:05:34 +00:00
utils.py {,_}tools→{,_}utils 2019-10-13 18:53:38 +00:00