diff options
-rw-r--r-- | json/jsonparse.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/json/jsonparse.cc b/json/jsonparse.cc index 463efdd2..824ce15e 100644 --- a/json/jsonparse.cc +++ b/json/jsonparse.cc @@ -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; } |