add cells to a cells collection

This commit is contained in:
Miodrag Milanovic 2018-06-25 16:16:02 +02:00
parent 6de8b4ef7d
commit 069d78ab80

View File

@ -236,6 +236,7 @@ NetInfo *ground_net(Context *ctx, NetInfo *net)
cell->ports[port_info.name] = port_info; cell->ports[port_info.name] = port_info;
ctx->cells[cell->name] = cell;
return net; return net;
} }
@ -259,6 +260,7 @@ NetInfo *vcc_net(Context *ctx, NetInfo *net)
cell->ports[port_info.name] = port_info; cell->ports[port_info.name] = port_info;
ctx->cells[cell->name] = cell;
return net; return net;
} }