3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-19 23:36:30 +00:00

fix compile bug

This commit is contained in:
treelin611 2026-05-20 15:12:40 +08:00
parent 3c5ba1337e
commit 4973d135a2

View file

@ -368,7 +368,7 @@ match ff
filter GetSize(port(ff, \Q)) >= offset + GetSize(argQ)
filter port(ff, \Q).extract(offset, GetSize(argQ)) == argQ
filter clock == SigBit() || port(ff, \CLK) == clock
filter clock == SigBit() || port(ff, \CLK)[0] == clock
endmatch
code argQ
@ -406,7 +406,7 @@ match ff
filter GetSize(port(ff, \D)) >= offset + GetSize(argD)
filter port(ff, \D).extract(offset, GetSize(argD)) == argD
filter clock == SigBit() || port(ff, \CLK) == clock
filter clock == SigBit() || port(ff, \CLK)[0] == clock
endmatch
code argQ