aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/cells.cc
diff options
context:
space:
mode:
authorPepijn de Vos <pepijndevos@gmail.com>2022-07-02 13:29:44 +0200
committerPepijn de Vos <pepijndevos@gmail.com>2022-07-02 13:29:44 +0200
commit0641ff47d9c437c02d77363d568b106c4ceae155 (patch)
tree0c2fb9f751004c7dcad0c7c618d3d6dd6b2cf0e3 /gowin/cells.cc
parentb7992ec7724000f813ab053ac6042326f3795471 (diff)
parentb4337d99fde46abe85cab8bdf98a681eefe1f3e1 (diff)
downloadnextpnr-0641ff47d9c437c02d77363d568b106c4ceae155.tar.gz
nextpnr-0641ff47d9c437c02d77363d568b106c4ceae155.tar.bz2
nextpnr-0641ff47d9c437c02d77363d568b106c4ceae155.zip
Merge branch 'master' into shadowram
Diffstat (limited to 'gowin/cells.cc')
-rw-r--r--gowin/cells.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gowin/cells.cc b/gowin/cells.cc
index 0dc0ce06..d83b07c8 100644
--- a/gowin/cells.cc
+++ b/gowin/cells.cc
@@ -77,6 +77,9 @@ std::unique_ptr<CellInfo> create_generic_cell(Context *ctx, IdString type, std::
new_cell->addOutput(id_G);
} else if (type == id_VCC) {
new_cell->addOutput(id_V);
+ } else if (type == id_BUFS) {
+ new_cell->addInput(id_I);
+ new_cell->addOutput(id_O);
} else {
log_error("unable to create generic cell of type %s\n", type.c_str(ctx));
}