diff options
author | David Shah <dave@ds0.me> | 2019-05-10 21:09:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-10 21:09:43 +0100 |
commit | 643d7dec4c3d0695c46d27371c43d592d68d4f90 (patch) | |
tree | 84f1d7cd502055f28df4a8f055bf79538ec05a89 /common/design_utils.h | |
parent | 5344bc3b65f4e06f983db781e9a82d30b3f1512b (diff) | |
parent | 12f375a239a8695f027c80c8c01d5fb1dff6568d (diff) | |
download | nextpnr-643d7dec4c3d0695c46d27371c43d592d68d4f90.tar.gz nextpnr-643d7dec4c3d0695c46d27371c43d592d68d4f90.tar.bz2 nextpnr-643d7dec4c3d0695c46d27371c43d592d68d4f90.zip |
Merge pull request #273 from YosysHQ/ecp5_mclk
ecp5: Fix USRMCLK primitive
Diffstat (limited to 'common/design_utils.h')
-rw-r--r-- | common/design_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/design_utils.h b/common/design_utils.h index 8a42d21f..3eb9024f 100644 --- a/common/design_utils.h +++ b/common/design_utils.h @@ -91,6 +91,9 @@ void disconnect_port(const Context *ctx, CellInfo *cell, IdString port_name); // Connect two ports together void connect_ports(Context *ctx, CellInfo *cell1, IdString port1_name, CellInfo *cell2, IdString port2_name); +// Rename a port if it exists on a cell +void rename_port(Context *ctx, CellInfo *cell, IdString old_name, IdString new_name); + void print_utilisation(const Context *ctx); NEXTPNR_NAMESPACE_END |