aboutsummaryrefslogtreecommitdiffstats
path: root/common/exclusive_state_groups.impl.h
diff options
context:
space:
mode:
authorMaciej Dudek <mdudek@antmicro.com>2021-08-30 11:12:49 +0200
committerMaciej Dudek <mdudek@antmicro.com>2021-09-23 15:43:23 +0200
commitfdcfe8cd8188b6c4ea2450843bd22d822856a091 (patch)
treed23b1e69f725e9cd3cda0f45162014b75eb36840 /common/exclusive_state_groups.impl.h
parentd9a71083e1a081f89e1aa4c357bc3b828eea6709 (diff)
downloadnextpnr-fdcfe8cd8188b6c4ea2450843bd22d822856a091.tar.gz
nextpnr-fdcfe8cd8188b6c4ea2450843bd22d822856a091.tar.bz2
nextpnr-fdcfe8cd8188b6c4ea2450843bd22d822856a091.zip
Adding support for MacroCells
Diffstat (limited to 'common/exclusive_state_groups.impl.h')
-rw-r--r--common/exclusive_state_groups.impl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/exclusive_state_groups.impl.h b/common/exclusive_state_groups.impl.h
index 53e4e83c..4a5b1228 100644
--- a/common/exclusive_state_groups.impl.h
+++ b/common/exclusive_state_groups.impl.h
@@ -74,10 +74,11 @@ void ExclusiveStateGroup<StateCount, StateType, CountType>::explain_requires(con
log_info("Placing cell %s at bel %s does not violate %s.%s\n", cell.c_str(ctx), ctx->nameOfBel(bel),
object.c_str(ctx), definition.prefix.c_str(ctx));
} else {
+ log_info("%d\n", state);
log_info("Placing cell %s at bel %s does violates %s.%s, because current state is %s, constraint requires one "
"of:\n",
- cell.c_str(ctx), ctx->nameOfBel(bel), object.c_str(ctx), definition.prefix.c_str(ctx),
- definition.states.at(state).c_str(ctx));
+ cell.c_str(ctx), ctx->nameOfBel(bel), object.c_str(ctx), definition.prefix.c_str(ctx), "-1");
+// definition.states.at(state).c_str(ctx));
for (const auto required_state : state_range) {
log_info(" - %s\n", definition.states.at(required_state).c_str(ctx));