build.{dsl,res}: allow platform-dependent attributes using callables.
authorwhitequark <cz@m-labs.hk>
Mon, 8 Jul 2019 11:15:04 +0000 (11:15 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 8 Jul 2019 11:15:04 +0000 (11:15 +0000)
commit2b5f3878d4699e330267f8f806996df649ae53c6
tree286a9b9e0d45ab7d21aeabe6628652c5895ba6a8
parent65b75a62879579c652e1ce7f707afc750117a4f4
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