aboutsummaryrefslogtreecommitdiffstats
path: root/common/kernel/basectx.h
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2022-07-08 15:03:07 +0200
committerGitHub <noreply@github.com>2022-07-08 15:03:07 +0200
commit664cec54b92844745e21a4e86dcf8e3cca09d781 (patch)
tree004f2b14ed5a3b0584c4998d9f0a5598cc52ab28 /common/kernel/basectx.h
parent86396c41d64d2583ec1dffca4298e83d927f0762 (diff)
parent09e388f453d9cf998391495349c88e5478b62e34 (diff)
downloadnextpnr-664cec54b92844745e21a4e86dcf8e3cca09d781.tar.gz
nextpnr-664cec54b92844745e21a4e86dcf8e3cca09d781.tar.bz2
nextpnr-664cec54b92844745e21a4e86dcf8e3cca09d781.zip
Merge pull request #999 from YosysHQ/gatecat/pseudocell-api
netlist: Add PseudoCell API
Diffstat (limited to 'common/kernel/basectx.h')
-rw-r--r--common/kernel/basectx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/kernel/basectx.h b/common/kernel/basectx.h
index 21d6d63a..5775e47f 100644
--- a/common/kernel/basectx.h
+++ b/common/kernel/basectx.h
@@ -220,6 +220,10 @@ struct BaseCtx
void addBelToRegion(IdString name, BelId bel);
void constrainCellToRegion(IdString cell, IdString region_name);
+ // Helper functions for the partial reconfiguration plug API using PseudoCells
+ void createRegionPlug(IdString name, IdString type, Loc approx_loc);
+ void addPlugPin(IdString plug, IdString pin, PortType dir, WireId wire);
+
// Helper functions for Python bindings
NetInfo *createNet(IdString name);
void connectPort(IdString net, IdString cell, IdString port);