aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-21 19:36:20 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-21 19:36:20 +0200
commit2c98231f88cd145267048b32a5ce0e4deadc2716 (patch)
treef278ec44604f8679bdce48a58241de7387c1965d /ice40
parentbfae4663fcb6028e8c20f28d5ffa15fd20d8e1fa (diff)
downloadnextpnr-2c98231f88cd145267048b32a5ce0e4deadc2716.tar.gz
nextpnr-2c98231f88cd145267048b32a5ce0e4deadc2716.tar.bz2
nextpnr-2c98231f88cd145267048b32a5ce0e4deadc2716.zip
Updates from clangformat
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40')
-rw-r--r--ice40/arch.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index 7778e1c5..f3a46f5c 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -515,10 +515,7 @@ struct Arch : BaseCtx
return id(chip_info->bel_data[bel.index].name.get());
}
- uint32_t getBelChecksum(BelId bel) const
- {
- return bel.index;
- }
+ uint32_t getBelChecksum(BelId bel) const { return bel.index; }
void bindBel(BelId bel, IdString cell)
{
@@ -612,10 +609,7 @@ struct Arch : BaseCtx
return id(chip_info->wire_data[wire.index].name.get());
}
- uint32_t getWireChecksum(WireId wire) const
- {
- return wire.index;
- }
+ uint32_t getWireChecksum(WireId wire) const { return wire.index; }
void bindWire(WireId wire, IdString net)
{
@@ -656,10 +650,7 @@ struct Arch : BaseCtx
PipId getPipByName(IdString name) const;
IdString getPipName(PipId pip) const;
- uint32_t getPipChecksum(PipId pip) const
- {
- return pip.index;
- }
+ uint32_t getPipChecksum(PipId pip) const { return pip.index; }
void bindPip(PipId pip, IdString net)
{