aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/cells.cc
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2023-04-12 13:42:16 +1000
committermyrtle <gatecat@ds0.me>2023-04-12 14:35:17 +0200
commitfddacb3dc1dd4c977d48bd91fc73b8177e44a632 (patch)
tree2ab54633423e38a6f1651ed59997cfd079d15a68 /gowin/cells.cc
parent7557d33dc670f0863c5a085e1d755ff693e05fbf (diff)
downloadnextpnr-fddacb3dc1dd4c977d48bd91fc73b8177e44a632.tar.gz
nextpnr-fddacb3dc1dd4c977d48bd91fc73b8177e44a632.tar.bz2
nextpnr-fddacb3dc1dd4c977d48bd91fc73b8177e44a632.zip
gowin: implement IDES16 and OSER16 primitives
These are very cumbersome primitives that take up two cells and consequently 4 IOLOGIC bels. The primitives are implemented for the chips that contain them and are supported by apicula GW1NSR-4C, GW1NR-9 and GW1NR-9C. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/cells.cc')
-rw-r--r--gowin/cells.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gowin/cells.cc b/gowin/cells.cc
index 436b4766..c2d77e22 100644
--- a/gowin/cells.cc
+++ b/gowin/cells.cc
@@ -106,6 +106,7 @@ std::unique_ptr<CellInfo> create_generic_cell(Context *ctx, IdString type, std::
new_cell->addOutput(id_CLKOUTD3);
new_cell->addOutput(id_LOCK);
} else if (type == id_IOLOGIC) {
+ new_cell->addInput(id_FCLK);
new_cell->addInput(id_PCLK);
new_cell->addInput(id_RESET);
} else if (type == id_DUMMY_CELL) {