aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chains.cc
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-02-03 10:21:45 +0000
committerD. Shah <dave@ds0.me>2021-02-03 10:46:12 +0000
commita09a62bc4a03ca1c673a254d1fa4d6cb576e83c8 (patch)
tree3b93748ba92396bd418003a0466f72a59064f5b6 /ice40/chains.cc
parent9a79163eab89e6351cd06c37d5916174acdfc754 (diff)
downloadnextpnr-a09a62bc4a03ca1c673a254d1fa4d6cb576e83c8.tar.gz
nextpnr-a09a62bc4a03ca1c673a254d1fa4d6cb576e83c8.tar.bz2
nextpnr-a09a62bc4a03ca1c673a254d1fa4d6cb576e83c8.zip
ice40: Use snake case for arch-specific functions
This makes the difference clearer between the general arch API that everyone must implement; and helper functions specific to one arch. Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'ice40/chains.cc')
-rw-r--r--ice40/chains.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ice40/chains.cc b/ice40/chains.cc
index 1a042712..7eb03105 100644
--- a/ice40/chains.cc
+++ b/ice40/chains.cc
@@ -63,7 +63,7 @@ class ChainConstrainer
}
tile.push_back(cell);
chains.back().cells.push_back(cell);
- bool split_chain = (!ctx->logicCellsCompatible(tile.data(), tile.size())) ||
+ bool split_chain = (!ctx->logic_cells_compatible(tile.data(), tile.size())) ||
(int(chains.back().cells.size()) > max_length);
if (split_chain) {
CellInfo *passout = make_carry_pass_out((*(curr_cell - 1))->ports.at(ctx->id("COUT")));
@@ -84,7 +84,7 @@ class ChainConstrainer
if (!at_end) {
// See if we need to split chain anyway
tile.push_back(*(curr_cell + 1));
- bool split_chain_next = (!ctx->logicCellsCompatible(tile.data(), tile.size())) ||
+ bool split_chain_next = (!ctx->logic_cells_compatible(tile.data(), tile.size())) ||
(int(chains.back().cells.size()) > max_length);
tile.pop_back();
if (split_chain_next)