mirror of https://github.com/YosysHQ/nextpnr.git
add cells to a cells collection
This commit is contained in:
parent
6de8b4ef7d
commit
069d78ab80
|
|
@ -236,6 +236,7 @@ NetInfo *ground_net(Context *ctx, NetInfo *net)
|
|||
|
||||
cell->ports[port_info.name] = port_info;
|
||||
|
||||
ctx->cells[cell->name] = cell;
|
||||
return net;
|
||||
}
|
||||
|
||||
|
|
@ -259,6 +260,7 @@ NetInfo *vcc_net(Context *ctx, NetInfo *net)
|
|||
|
||||
cell->ports[port_info.name] = port_info;
|
||||
|
||||
ctx->cells[cell->name] = cell;
|
||||
return net;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue