amaranth/nmigen/test
whitequark 13316053e3 build.plat, hdl.ir: coordinate missing domain creation.
Platform.prepare() was completely broken after addition of local
clock domains, and only really worked before by a series of
accidents because there was a circular dependency between creation
of missing domains, fragment preparation, and insertion of pin
subfragments.

This commit untangles the dependency by adding a separate public
method Fragment.create_missing_domains(), used in build.plat.

It also makes DomainCollector consider both used and defined domains,
such that it will work on fragments before domain propagation, since
create_missing_domains() can be called by user code before prepare().

The fragment driving missing clock domain is not flattened anymore,
because flattening does not work well combined with local domains.
2019-08-19 22:52:01 +00:00
..
compat compat: suppress deprecation warnings that are internal or during test. 2019-01-26 15:43:00 +00:00
__init__.py hdl.ir: detect elaboratables that are created but not used. 2019-04-21 08:52:57 +00:00
test_build_dsl.py build.dsl: add conn argument to Connector. 2019-08-18 19:56:25 +00:00
test_build_res.py build.dsl: add conn argument to Connector. 2019-08-18 19:56:25 +00:00
test_compat.py compat.fhdl.module: CompatModule should be elaboratable. 2019-06-04 11:11:31 +00:00
test_examples.py hdl.xfrm: CEInserter→EnableInserter. 2019-08-12 13:39:26 +00:00
test_hdl_ast.py hdl.ast: implement Initial. 2019-08-15 02:53:07 +00:00
test_hdl_cd.py hdl.cd: implement local clock domains. 2019-08-19 21:44:33 +00:00
test_hdl_dsl.py hdl.dsl: reword m.If(~True) warning to be more clear. 2019-08-03 18:52:24 +00:00
test_hdl_ir.py build.plat, hdl.ir: coordinate missing domain creation. 2019-08-19 22:52:01 +00:00
test_hdl_mem.py hdl.mem: use read_port(domain="comb") for asynchronous read ports. 2019-07-01 19:56:49 +00:00
test_hdl_rec.py hdl.rec: respect modifications to signals in Record.like(). 2019-07-08 10:59:15 +00:00
test_hdl_xfrm.py hdl.xfrm: lower resets in DomainLowerer as well. 2019-08-19 21:44:30 +00:00
test_lib_cdc.py Clean up imports. 2019-06-04 08:18:50 +00:00
test_lib_coding.py formal→asserts 2019-08-19 20:23:24 +00:00
test_lib_fifo.py formal→asserts 2019-08-19 20:23:24 +00:00
test_lib_io.py Clean up imports. 2019-06-04 08:18:50 +00:00
test_sim.py build.plat, hdl.ir: coordinate missing domain creation. 2019-08-19 22:52:01 +00:00
tools.py hdl.xfrm: handle mem.{Read,Write}Port in CEInserter. 2019-07-31 05:20:05 +00:00