build.plat,vendor: automatically create sync domain from default_clk.
authorwhitequark <cz@m-labs.hk>
Sat, 3 Aug 2019 18:36:58 +0000 (18:36 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 3 Aug 2019 18:36:58 +0000 (18:36 +0000)
commita3b4e42b98971f8765c4e2359a6e962f76fab1b0
treea7e5dd3bdcfa2e6d4a22618a20a183a5cda156b8
parentabc094c4bb050f007c788e47651499f9177abaef
build.plat,vendor: automatically create sync domain from default_clk.

But only if it is not defined by the programmer.

Closes #57.
nmigen/build/plat.py
nmigen/vendor/lattice_ecp5.py
nmigen/vendor/lattice_ice40.py
nmigen/vendor/xilinx_7series.py
nmigen/vendor/xilinx_spartan_3_6.py