diff options
author | David Shah <davey1576@gmail.com> | 2018-06-16 14:44:43 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-16 14:44:43 +0200 |
commit | ebad1fee65b21f9a9e0901bbc66a2b8e5f9f9b70 (patch) | |
tree | f9a8467373ffcfa41a4ba6eca745423873494ad1 /common/design_utils.h | |
parent | 5d343a168b98826c80482c11376b1a95b9b0bbca (diff) | |
parent | 7ff1b7e02f7436e03aae6204e4b23f106369ca6b (diff) | |
download | nextpnr-ebad1fee65b21f9a9e0901bbc66a2b8e5f9f9b70.tar.gz nextpnr-ebad1fee65b21f9a9e0901bbc66a2b8e5f9f9b70.tar.bz2 nextpnr-ebad1fee65b21f9a9e0901bbc66a2b8e5f9f9b70.zip |
Merge branch 'simann'
Diffstat (limited to 'common/design_utils.h')
-rw-r--r-- | common/design_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <typename F1> -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; |