From 6b74d326d42063dc1b68f8276c5892bf90099b26 Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 13 Jun 2018 17:07:42 +0200 Subject: experiment: Simple heuristic-based placer Signed-off-by: David Shah --- common/design_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/design_utils.h') diff --git a/common/design_utils.h b/common/design_utils.h index daf6e050..8d231d4c 100644 --- a/common/design_utils.h +++ b/common/design_utils.h @@ -72,7 +72,7 @@ CellInfo *net_only_drives(NetInfo *net, F1 cell_pred, IdString port, // If a net is driven by a given port of a cell matching a predicate, return // that cell, otherwise nullptr template -CellInfo *net_driven_by(NetInfo *net, F1 cell_pred, IdString port) +CellInfo *net_driven_by(const NetInfo *net, F1 cell_pred, IdString port) { if (net == nullptr) return nullptr; -- cgit v1.2.3