Skip to content

Commit

Permalink
turned HAL user study mode to default ON
Browse files Browse the repository at this point in the history
  • Loading branch information
nils1603 committed Jan 29, 2021
1 parent 1e99e0e commit b7dc704
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,15 @@ endif()
configure_file(${CMAKE_SOURCE_DIR}/include/hal_core/hal_version.h.in ${CMAKE_BINARY_DIR}/hal_version.h @ONLY)

# Declare Study Config in hal_config.h
option(HAL_STUDY "Enable Study Config" OFF)
option(HAL_STUDY "Enable Study Config" ON)
configure_file(${CMAKE_SOURCE_DIR}/include/hal_core/hal_config.h.in ${CMAKE_BINARY_DIR}/hal_config.h @ONLY)
if(HAL_STUDY)
message(STATUS "HAL_STUDY mode turned ON!")
else()
message(STATUS "HAL_STUDY mode turned OFF!")
endif()



##################################
##### Include Code Directories
Expand Down
4 changes: 2 additions & 2 deletions src/netlist/event_system/event_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ namespace hal
{
LogManager::get_instance().add_channel("event", {LogManager::create_stdout_sink(), LogManager::create_file_sink(), LogManager::create_gui_sink()}, "info");

/*

gate_event_handler::register_callback("event_log", &handle_gate_event);
net_event_handler::register_callback("event_log", &handle_net_event);
netlist_event_handler::register_callback("event_log", &handle_netlist_event);
module_event_handler::register_callback("event_log", &handle_submodule_event);
*/


}
} // namespace event_log
Expand Down

0 comments on commit b7dc704

Please sign in to comment.