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