mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 03:31:24 +00:00
Add an index
This commit is contained in:
parent
1602516a8b
commit
8a94ce7aa5
2 changed files with 3 additions and 0 deletions
|
@ -189,6 +189,7 @@ match add
|
|||
index <SigBit> port(add, AB)[0] === sigH[0]
|
||||
filter GetSize(port(add, AB)) <= GetSize(sigH)
|
||||
filter port(add, AB) == sigH.extract(0, GetSize(port(add, AB)))
|
||||
filter nusers(sigH.extract_end(GetSize(port(add, AB)))) <= 1
|
||||
set addAB AB
|
||||
optional
|
||||
endmatch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue