build.{dsl,res}: allow platform-dependent attributes using callables.
authorwhitequark <whitequark@whitequark.org>
Mon, 8 Jul 2019 11:15:04 +0000 (11:15 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 8 Jul 2019 11:15:04 +0000 (11:15 +0000)
commit7b4fbf8e01f0c982d9a33e5acc063de5ddc1be35
tree286a9b9e0d45ab7d21aeabe6628652c5895ba6a8
parent0ab0a74ec1155857f4a4764c898cfdd8a33074f3
build.{dsl,res}: allow platform-dependent attributes using callables.

Fixes #132.
nmigen/back/rtlil.py
nmigen/build/dsl.py
nmigen/build/res.py
nmigen/test/test_build_dsl.py