From 545aee773389161b7e073145175056a089b23fbc Mon Sep 17 00:00:00 2001 From: Wanda Date: Wed, 10 Apr 2024 01:34:25 +0200 Subject: [PATCH] vendor._lattice_ecp5: fix input domain in `FFBuffer`. --- amaranth/vendor/_lattice_ecp5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amaranth/vendor/_lattice_ecp5.py b/amaranth/vendor/_lattice_ecp5.py index c78e3ea..6136490 100644 --- a/amaranth/vendor/_lattice_ecp5.py +++ b/amaranth/vendor/_lattice_ecp5.py @@ -99,7 +99,7 @@ class FFBuffer(io.FFBuffer): i_inv = Signal.like(self.i) for bit in range(len(self.port)): m.submodules[f"i_ff{bit}"] = Instance("IFS1P3DX", - i_SCLK=ClockSignal(self.o_domain), + i_SCLK=ClockSignal(self.i_domain), i_SP=Const(1), i_CD=Const(0), i_D=buf.i[bit],