lib.cdc: specify maximum input delay in seconds.
authorwhitequark <whitequark@whitequark.org>
Tue, 24 Sep 2019 12:30:02 +0000 (12:30 +0000)
committerwhitequark <whitequark@whitequark.org>
Tue, 24 Sep 2019 12:30:10 +0000 (12:30 +0000)
commit0858b8bf6c7dd8c9d7fc3f4841bb182f4cee6b2a
tree7d315d3b6047730dfc0d3123fe7357899743dced
parentb43d2d36e8cc966cb75768e4b51af82d343fe6ee
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