aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/cells.cc
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2021-10-09 20:26:18 +1000
committerYRabbit <rabbit@yrabbit.cyou>2021-10-09 20:26:18 +1000
commitbfe9cd548a80adb83cb136efbe12216ebb1392d6 (patch)
tree62b805893adc257af10925e746328ee61ffc4002 /gowin/cells.cc
parentb749ef5f563fa9d099b158c2e493e8734558a327 (diff)
downloadnextpnr-bfe9cd548a80adb83cb136efbe12216ebb1392d6.tar.gz
nextpnr-bfe9cd548a80adb83cb136efbe12216ebb1392d6.tar.bz2
nextpnr-bfe9cd548a80adb83cb136efbe12216ebb1392d6.zip
gowin: Replace the zero delays with reasonable values.
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/cells.cc')
-rw-r--r--gowin/cells.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gowin/cells.cc b/gowin/cells.cc
index 58e4fddd..57f3ab9c 100644
--- a/gowin/cells.cc
+++ b/gowin/cells.cc
@@ -60,6 +60,8 @@ std::unique_ptr<CellInfo> create_generic_cell(Context *ctx, IdString type, std::
add_port(ctx, new_cell.get(), id_LSR, PORT_IN);
} else if (type == id_GW_MUX2_LUT5 || type == id_GW_MUX2_LUT6 || type == id_GW_MUX2_LUT7 ||
type == id_GW_MUX2_LUT7 || type == id_GW_MUX2_LUT8) {
+ add_port(ctx, new_cell.get(), id_I0, PORT_IN);
+ add_port(ctx, new_cell.get(), id_I1, PORT_IN);
add_port(ctx, new_cell.get(), id_SEL, PORT_IN);
add_port(ctx, new_cell.get(), id_OF, PORT_OUT);
} else if (type == id_IOB) {