Sign in
foss-fpga-tools
/
third_party
/
yosys
/
a9efd2e81cd502665ee034f64c85b11e34dfd9bb
/
.
/
passes
/
pmgen
/
ice40_wrapcarry.pmg
blob: 9e64c7467a4904ec56d88b616562d8fed2541d19 [
file
]
pattern ice40_wrapcarry
match carry
select
carry
->
type
.
in
(
\SB_CARRY
)
endmatch
match lut
select
lut
->
type
.
in
(
\SB_LUT4
)
index
<
SigSpec
>
port
(
lut
,
\I
1
)
===
port
(
carry
,
\I
0
)
index
<
SigSpec
>
port
(
lut
,
\I
2
)
===
port
(
carry
,
\I
1
)
endmatch