diff options
author | Pepijn de Vos <pepijndevos@gmail.com> | 2022-03-19 19:44:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-19 18:44:08 +0000 |
commit | bb923c7732dbf8c930c8af85acd6f0583115af8e (patch) | |
tree | 8b84e1934e494f424b62d3835c0cc08422085de9 /gowin/cells.cc | |
parent | 774d3944b307a7b26164f728b5910f26b7d873f6 (diff) | |
download | nextpnr-bb923c7732dbf8c930c8af85acd6f0583115af8e.tar.gz nextpnr-bb923c7732dbf8c930c8af85acd6f0583115af8e.tar.bz2 nextpnr-bb923c7732dbf8c930c8af85acd6f0583115af8e.zip |
Gowin: use global VCC and VSS nets (#956)
* use global VCC and VSS nets
* derp
* remove init parameter
Diffstat (limited to 'gowin/cells.cc')
-rw-r--r-- | gowin/cells.cc | 4 |
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)); } |