Skip to content

Commit

Permalink
smtr: Fix initial state mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystalDelusion committed Jul 28, 2024
1 parent 9e71932 commit 50e46af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/functional/smtlib_rosette.cc
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ struct SmtrModule {
w.open(list("define", initial));
w.open(list(state_struct.name));
for (const auto &[name, sort] : ir.state()) {
w << list("bv", ir.get_initial_state_signal(name).as_int(), sort.width());
w << list("bv", "#b" + ir.get_initial_state_signal(name).as_string(), sort.width());
}
w.pop();
}
Expand Down

0 comments on commit 50e46af

Please sign in to comment.