Updated to latest scc version
This commit is contained in:
		@@ -1,6 +1,8 @@
 | 
			
		||||
cmake_minimum_required(VERSION 3.3)
 | 
			
		||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_CURRENT_SOURCE_DIR}/scc/cmake)
 | 
			
		||||
 | 
			
		||||
project(RISCV-VP LANGUAGES CXX)
 | 
			
		||||
 | 
			
		||||
set(ENABLE_SCV TRUE CACHE BOOL "Enable use of SCV")
 | 
			
		||||
set(ENABLE_SHARED TRUE CACHE BOOL "Build shared libraries")
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,7 @@
 | 
			
		||||
[requires]
 | 
			
		||||
    gsl_microsoft/20180102@bincrafters/stable
 | 
			
		||||
    spdlog/0.16.3@bincrafters/stable
 | 
			
		||||
    #fmt/5.2.1@bincrafters/stable 
 | 
			
		||||
    fmt/4.1.0@bincrafters/stable 
 | 
			
		||||
    fmt/5.2.1@bincrafters/stable 
 | 
			
		||||
    #fmt/4.1.0@bincrafters/stable 
 | 
			
		||||
    Seasocks/1.3.2@minres/stable
 | 
			
		||||
    SystemC/2.3.3@minres/stable
 | 
			
		||||
    SystemCVerification/2.0.1@minres/stable
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								dbt-core
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								dbt-core
									
									
									
									
									
								
							 Submodule dbt-core updated: c1d65b863b...c81fd4c5d7
									
								
							@@ -30,8 +30,8 @@
 | 
			
		||||
 *
 | 
			
		||||
 *******************************************************************************/
 | 
			
		||||
 | 
			
		||||
#ifndef _SIFIVE_HIFIVE1_H_
 | 
			
		||||
#define _SIFIVE_HIFIVE1_H_
 | 
			
		||||
#ifndef _SYSC_TOP_HIFIVE1_H_
 | 
			
		||||
#define _SYSC_TOP_HIFIVE1_H_
 | 
			
		||||
 | 
			
		||||
#include <sysc/top/terminal.h>
 | 
			
		||||
#include <sysc/top/mcp_adc.h>
 | 
			
		||||
@@ -65,4 +65,4 @@ protected:
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif /* _SYSC_SIFIVE_HIFIVE1_H_ */
 | 
			
		||||
#endif /* _SYSC_TOP_HIFIVE1_H_ */
 | 
			
		||||
 
 | 
			
		||||
@@ -42,11 +42,6 @@ using namespace sc_core;
 | 
			
		||||
CLIParser::CLIParser(int argc, char *argv[])
 | 
			
		||||
: desc("Options")
 | 
			
		||||
, valid(false) {
 | 
			
		||||
    scc::init_logging();
 | 
			
		||||
    LOGGER(DEFAULT)::reporting_level() = logging::WARNING;
 | 
			
		||||
    LOGGER(connection)::reporting_level() = logging::WARNING;
 | 
			
		||||
    LOGGER(SystemC)::reporting_level() = logging::WARNING;
 | 
			
		||||
 | 
			
		||||
    build();
 | 
			
		||||
    try {
 | 
			
		||||
        // Variant 1: no non-options
 | 
			
		||||
@@ -90,21 +85,7 @@ CLIParser::CLIParser(int argc, char *argv[])
 | 
			
		||||
                                              SC_FULL,   // logging::TRACE
 | 
			
		||||
                                              SC_DEBUG}; // logging::TRACE+1
 | 
			
		||||
        auto log_level = vm_["verbose"].as<int>();
 | 
			
		||||
        auto l = logging::as_log_level(log_level > 6 ? 6 : log_level);
 | 
			
		||||
        LOGGER(DEFAULT)::reporting_level() = l;
 | 
			
		||||
        LOGGER(DEFAULT)::print_time() = false;
 | 
			
		||||
        LOGGER(connection)::reporting_level() = l;
 | 
			
		||||
        LOGGER(connection)::print_time() = false;
 | 
			
		||||
        LOGGER(SystemC)::reporting_level() = l;
 | 
			
		||||
        LOGGER(SystemC)::print_time() = false;
 | 
			
		||||
        sc_report_handler::set_verbosity_level(verbosity[log_level]);
 | 
			
		||||
    }
 | 
			
		||||
    if (vm_.count("log-file")) {
 | 
			
		||||
        // configure the connection logger
 | 
			
		||||
        auto f = fopen(vm_["log-file"].as<std::string>().c_str(), "w");
 | 
			
		||||
        LOG_OUTPUT(DEFAULT)::stream() = f;
 | 
			
		||||
        LOG_OUTPUT(connection)::stream() = f;
 | 
			
		||||
        LOG_OUTPUT(SystemC)::stream() = f;
 | 
			
		||||
        scc::init_logging(logging::as_log_level(log_level > 6 ? 6 : log_level));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								riscv
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								riscv
									
									
									
									
									
								
							 Submodule riscv updated: d037141d98...c39460ee34
									
								
							
							
								
								
									
										2
									
								
								scc
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								scc
									
									
									
									
									
								
							 Submodule scc updated: 140a5a7067...fbe11cf926
									
								
							
		Reference in New Issue
	
	Block a user