mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-01 07:40:42 +00:00
Merge upstream
This commit is contained in:
parent
12137c7ac4
commit
881080a827
43 changed files with 510 additions and 94 deletions
15
techlibs/ice40/ice40_wrapcarry.pmg
Normal file
15
techlibs/ice40/ice40_wrapcarry.pmg
Normal file
|
@ -0,0 +1,15 @@
|
|||
pattern ice40_wrapcarry
|
||||
|
||||
match carry
|
||||
select carry->type.in(\SB_CARRY)
|
||||
endmatch
|
||||
|
||||
match lut
|
||||
select lut->type.in(\SB_LUT4)
|
||||
index <SigSpec> port(lut, \I1) === port(carry, \I0)
|
||||
index <SigSpec> port(lut, \I2) === port(carry, \I1)
|
||||
endmatch
|
||||
|
||||
code
|
||||
accept;
|
||||
endcode
|
Loading…
Add table
Add a link
Reference in a new issue