We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f6ca5a commit 8fde7edCopy full SHA for 8fde7ed
amaranth/vendor/_xilinx.py
@@ -1240,9 +1240,9 @@ def get_ff_sync(self, ff_sync):
1240
for index in range(ff_sync._stages)]
1241
if self.toolchain == "Vivado":
1242
if ff_sync._max_input_delay is None:
1243
- flops[0].attrs["amaranth.vivado.false_path"] = "TRUE"
+ Value.cast(flops[0]).attrs["amaranth.vivado.false_path"] = "TRUE"
1244
else:
1245
- 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)
1246
elif ff_sync._max_input_delay is not None:
1247
raise NotImplementedError("Platform '{}' does not support constraining input delay "
1248
"for FFSynchronizer"
0 commit comments