lib.cdc: specify maximum input delay in seconds.
authorwhitequark <cz@m-labs.hk>
Tue, 24 Sep 2019 12:30:02 +0000 (12:30 +0000)
committerwhitequark <cz@m-labs.hk>
Tue, 24 Sep 2019 12:30:10 +0000 (12:30 +0000)
commit9bf45ab0f8dc5236fd3a33ca18288957b6316515
tree7d315d3b6047730dfc0d3123fe7357899743dced
parent9d2d38ee20c7a7769866473dc31758c88e9245d1
lib.cdc: specify maximum input delay in seconds.

Since we use hertz elsewhere, this provides for easy conversions.

Also, cast the delay to string before applying it in xilinx_7series,
to avoid stripping the fractional digits.

Closes #234.
nmigen/lib/cdc.py
nmigen/vendor/xilinx_7series.py