Skip to content

Commit 9b8605d

Browse files
wanda-phiwhitequark
authored andcommitted
vendor._xilinx: make reset synchronizer work with ISE.
1 parent 8542252 commit 9b8605d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth/vendor/_xilinx.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ def get_async_ff_sync(self, async_ff_sync):
12551255
flops_d = Signal(async_ff_sync._stages, reset_less=True)
12561256
flops_pre = Signal(reset_less=True)
12571257
for i in range(async_ff_sync._stages):
1258-
flop = Instance("FDPE", p_INIT=1, o_Q=flops_q[i],
1258+
flop = Instance("FDPE", p_INIT=Const(1), o_Q=flops_q[i],
12591259
i_C=ClockSignal(async_ff_sync._o_domain),
12601260
i_CE=Const(1), i_PRE=flops_pre, i_D=flops_d[i],
12611261
a_ASYNC_REG="TRUE")

0 commit comments

Comments
 (0)