aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/cells.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gowin/cells.cc')
-rw-r--r--gowin/cells.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gowin/cells.cc b/gowin/cells.cc
index 8e450b51..c3b21782 100644
--- a/gowin/cells.cc
+++ b/gowin/cells.cc
@@ -65,6 +65,10 @@ std::unique_ptr<CellInfo> create_generic_cell(Context *ctx, IdString type, std::
new_cell->addOutput(id_O);
} else if (type == id_GSR) {
new_cell->addInput(id_GSRI);
+ } else if (type == id_GND) {
+ new_cell->addOutput(id_G);
+ } else if (type == id_VCC) {
+ new_cell->addOutput(id_V);
} else {
log_error("unable to create generic cell of type %s\n", type.c_str(ctx));
}