diff options
author | Maciej Dudek <mdudek@antmicro.com> | 2021-09-14 12:51:15 +0200 |
---|---|---|
committer | Maciej Dudek <mdudek@antmicro.com> | 2021-09-23 15:43:23 +0200 |
commit | 3cd459912a23b03640e3e1621dd454874ed11381 (patch) | |
tree | b68b02c43c048a527c56daa155378da33bad6bb9 /common | |
parent | fdcfe8cd8188b6c4ea2450843bd22d822856a091 (diff) | |
download | nextpnr-3cd459912a23b03640e3e1621dd454874ed11381.tar.gz nextpnr-3cd459912a23b03640e3e1621dd454874ed11381.tar.bz2 nextpnr-3cd459912a23b03640e3e1621dd454874ed11381.zip |
Adding MacroCell placement
Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/exclusive_state_groups.impl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/exclusive_state_groups.impl.h b/common/exclusive_state_groups.impl.h index 4a5b1228..f3ddb5fd 100644 --- a/common/exclusive_state_groups.impl.h +++ b/common/exclusive_state_groups.impl.h @@ -74,11 +74,10 @@ 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 " + log_info("Placing cell %s at bel %s does violate %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), "-1"); -// definition.states.at(state).c_str(ctx)); + cell.c_str(ctx), ctx->nameOfBel(bel), object.c_str(ctx), definition.prefix.c_str(ctx), + state != -1 ? definition.states.at(state).c_str(ctx) : "unset"); for (const auto required_state : state_range) { log_info(" - %s\n", definition.states.at(required_state).c_str(ctx)); |