diff options
author | gatecat <gatecat@ds0.me> | 2022-08-04 10:55:19 +0200 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-08-04 10:55:19 +0200 |
commit | 37f0886cb9e949cb49250f973a852c816b5ab892 (patch) | |
tree | 95604b304192f63c6d2f3753e21568ba4596f7d1 /generic/arch.h | |
parent | 1b54fa2a1c1fae82315916f3b92f6282f376c861 (diff) | |
download | nextpnr-37f0886cb9e949cb49250f973a852c816b5ab892.tar.gz nextpnr-37f0886cb9e949cb49250f973a852c816b5ab892.tar.bz2 nextpnr-37f0886cb9e949cb49250f973a852c816b5ab892.zip |
generic: addBelPin with direction as an arg
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'generic/arch.h')
-rw-r--r-- | generic/arch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/arch.h b/generic/arch.h index 157ff8af..688392da 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -200,6 +200,7 @@ struct Arch : BaseArch<ArchRanges> void addBelInput(BelId bel, IdString name, WireId wire); void addBelOutput(BelId bel, IdString name, WireId wire); void addBelInout(BelId bel, IdString name, WireId wire); + void addBelPin(BelId bel, IdString name, WireId wire, PortType type); WireId addWireAsBelInput(BelId bel, IdString name); WireId addWireAsBelOutput(BelId bel, IdString name); |