mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
More use of IdString::in()
This commit is contained in:
parent
d8a2aaa463
commit
4cfefae21e
7 changed files with 38 additions and 40 deletions
|
@ -130,7 +130,7 @@ struct ShregmapTechXilinx7 : ShregmapTech
|
|||
if (cell) {
|
||||
if (cell->type == "$shiftx" && port == "\\A")
|
||||
return;
|
||||
if (cell->type == "$mux" && (port == "\\A" || port == "\\B"))
|
||||
if (cell->type == "$mux" && port.in("\\A", "\\B"))
|
||||
return;
|
||||
}
|
||||
sigbit_to_shiftx_offset.erase(it);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue