diff options
author | David Shah <dave@ds0.me> | 2019-02-11 17:56:19 +0000 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2019-02-24 10:28:25 +0100 |
commit | 63e1f02c65d07325447772f0351631152969e919 (patch) | |
tree | 9d9ea7fc494fbf3ebbcdc131814ae28ba678f7ba /ecp5/cells.cc | |
parent | db1666fc3d22c33f49237096428da4be3d760632 (diff) | |
download | nextpnr-63e1f02c65d07325447772f0351631152969e919.tar.gz nextpnr-63e1f02c65d07325447772f0351631152969e919.tar.bz2 nextpnr-63e1f02c65d07325447772f0351631152969e919.zip |
ecp5: Helper functions for DQS and ECLK
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5/cells.cc')
-rw-r--r-- | ecp5/cells.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/cells.cc b/ecp5/cells.cc index a8e92083..38bcc17c 100644 --- a/ecp5/cells.cc +++ b/ecp5/cells.cc @@ -201,6 +201,9 @@ std::unique_ptr<CellInfo> create_ecp5_cell(Context *ctx, IdString type, std::str } // Just copy ports from the Bel copy_bel_ports(); + } else if (type == id_TRELLIS_ECLKBUF) { + add_port(ctx, new_cell.get(), "ECLKI", PORT_IN); + add_port(ctx, new_cell.get(), "ECLKO", PORT_OUT); } else { log_error("unable to create ECP5 cell of type %s", type.c_str(ctx)); } |