mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-24 06:43:41 +00:00
Update splitnets.cc
This commit is contained in:
parent
4de90307a9
commit
707731147c
1 changed files with 3 additions and 3 deletions
|
@ -204,8 +204,8 @@ struct SplitnetsPass : public Pass {
|
||||||
for (auto &chunk : sig.chunks()) {
|
for (auto &chunk : sig.chunks()) {
|
||||||
if (chunk.wire == NULL)
|
if (chunk.wire == NULL)
|
||||||
continue;
|
continue;
|
||||||
if (flag_ports_only && (chunk.wire->port_id != 0) || !flag_ports_only && (chunk.wire->port_id == 0 || flag_ports))
|
if ((flag_ports_only && (chunk.wire->port_id != 0) ||
|
||||||
{
|
(!flag_ports_only && (chunk.wire->port_id == 0 || flag_ports))) {
|
||||||
if (chunk.offset != 0)
|
if (chunk.offset != 0)
|
||||||
split_wires_at[chunk.wire].insert(chunk.offset);
|
split_wires_at[chunk.wire].insert(chunk.offset);
|
||||||
if (chunk.offset + chunk.width < chunk.wire->width)
|
if (chunk.offset + chunk.width < chunk.wire->width)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue