Merge branch 'master' into develop
Conflicts: .cproject .settings/language.settings.xml CMakeLists.txt examples/simple_system/gpio.cpp examples/simple_system/plic.cpp sc-components
This commit is contained in:
@ -21,7 +21,6 @@
|
||||
*/
|
||||
|
||||
#include <scc/report.h>
|
||||
#include <scc/scv_tr_db.h>
|
||||
#include <scc/tracer.h>
|
||||
#include <boost/program_options.hpp>
|
||||
#include <scc/ordered_semaphore.h>
|
||||
@ -50,7 +49,7 @@ private:
|
||||
sem_t.set_capacity(4);
|
||||
sem_t.post();
|
||||
sem.post();
|
||||
sc_stop();
|
||||
sc_core::sc_stop();
|
||||
}
|
||||
scc::ordered_semaphore sem{"sem", 2};
|
||||
scc::ordered_semaphore_t<2> sem_t{"sem_t"};
|
||||
@ -103,8 +102,8 @@ int sc_main(int argc, char *argv[]) {
|
||||
SCCERR() << "simulation timed out";
|
||||
sc_core::sc_stop();
|
||||
}
|
||||
auto errcnt = sc_report_handler::get_count(SC_ERROR);
|
||||
auto warncnt = sc_report_handler::get_count(SC_WARNING);
|
||||
auto errcnt = sc_core::sc_report_handler::get_count(sc_core::SC_ERROR);
|
||||
auto warncnt = sc_core::sc_report_handler::get_count(sc_core::SC_WARNING);
|
||||
SCCINFO() << "Finished, there were " << errcnt << " error" << (errcnt == 1 ? "" : "s") << " and " << warncnt << " warning"
|
||||
<< (warncnt == 1 ? "" : "s, 1 warning expected");
|
||||
return errcnt + (warncnt-1);
|
||||
|
Reference in New Issue
Block a user