Convert from log_msg to sim_debug in clk; change bogus DEBUG_SG to DEBUG_DEBUG