diff options
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)); } |