Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions amaranth/vendor/_xilinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -1240,9 +1240,9 @@ def get_ff_sync(self, ff_sync):
for index in range(ff_sync._stages)]
if self.toolchain == "Vivado":
if ff_sync._max_input_delay is None:
flops[0].attrs["amaranth.vivado.false_path"] = "TRUE"
Value.cast(flops[0]).attrs["amaranth.vivado.false_path"] = "TRUE"
else:
flops[0].attrs["amaranth.vivado.max_delay"] = str(ff_sync._max_input_delay * 1e9)
Value.cast(flops[0]).attrs["amaranth.vivado.max_delay"] = str(ff_sync._max_input_delay * 1e9)
elif ff_sync._max_input_delay is not None:
raise NotImplementedError("Platform '{}' does not support constraining input delay "
"for FFSynchronizer"
Expand Down
Loading