@@ -13,12 +13,12 @@ Author: Daniel Kroening, kroening@kroening.com
1313#include < util/help_formatter.h>
1414#include < util/string2int.h>
1515
16+ #include < trans-netlist/compute_ct.h>
1617#include < trans-netlist/ldg.h>
1718#include < trans-netlist/smv_netlist.h>
1819
1920#include " build_transition_system.h"
2021#include " diatest.h"
21- #include " ebmc_base.h"
2222#include " ebmc_error.h"
2323#include " ebmc_language.h"
2424#include " ebmc_version.h"
@@ -331,10 +331,21 @@ int ebmc_parse_optionst::doit()
331331
332332 if (cmdline.isset (" compute-ct" ))
333333 {
334- ebmc_baset ebmc_base (cmdline, ui_message_handler);
335- ebmc_base.transition_system = std::move (transition_system);
336- ebmc_base.properties = std::move (properties);
337- return ebmc_base.do_compute_ct ();
334+ auto netlist =
335+ make_netlist (transition_system, properties, ui_message_handler);
336+
337+ messaget message{ui_message_handler};
338+
339+ message.status () << " Latches: " << netlist.var_map .latches .size ()
340+ << " , nodes: " << netlist.number_of_nodes ()
341+ << messaget::eom;
342+
343+ message.status () << " Making LDG" << messaget::eom;
344+
345+ ldgt ldg;
346+ ldg.compute (netlist);
347+ std::cout << " CT = " << compute_ct (ldg) << ' \n ' ;
348+ return 0 ;
338349 }
339350
340351 auto checker_result = property_checker (
0 commit comments