PI before CI

This commit is contained in:
Eddie Hung 2019-04-12 10:36:05 -07:00
parent 8228b593ef
commit ca8ef92a82
1 changed files with 2 additions and 2 deletions

View File

@ -295,12 +295,12 @@ struct XAigerWriter
aig_map[State::S0] = 0; aig_map[State::S0] = 0;
aig_map[State::S1] = 1; aig_map[State::S1] = 1;
for (auto bit : ci_bits) { for (auto bit : input_bits) {
aig_m++, aig_i++; aig_m++, aig_i++;
aig_map[bit] = 2*aig_m; aig_map[bit] = 2*aig_m;
} }
for (auto bit : input_bits) { for (auto bit : ci_bits) {
aig_m++, aig_i++; aig_m++, aig_i++;
aig_map[bit] = 2*aig_m; aig_map[bit] = 2*aig_m;
} }