Deleted Added
sdiff udiff text old ( 13268:9802f3e0a6ae ) new ( 13280:3a1147706ccf )
full compact
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 18 unchanged lines hidden (view full) ---

27 * Authors: Gabe Black
28 */
29
30#include <memory>
31#include <string>
32#include <vector>
33
34#include "base/logging.hh"
35#include "systemc/core/kernel.hh"
36#include "systemc/core/module.hh"
37#include "systemc/core/process_types.hh"
38#include "systemc/core/sensitivity.hh"
39#include "systemc/ext/channel/sc_signal_in_if.hh"
40#include "systemc/ext/core/sc_module.hh"
41#include "systemc/ext/core/sc_module_name.hh"
42#include "systemc/ext/dt/bit/sc_logic.hh"
43#include "systemc/ext/utils/sc_report_handler.hh"
44

--- 745 unchanged lines hidden (view full) ---

790 auto mod = sc_gem5::pickParentModule();
791 return mod ? mod->uniqueName(seed) :
792 ::sc_gem5::nameGen.gen(seed);
793}
794
795bool
796sc_hierarchical_name_exists(const char *name)
797{
798 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
799 return false;
800}
801
802bool
803sc_start_of_simulation_invoked()
804{
805 return ::sc_gem5::kernel->startOfSimulationComplete();
806}
807

--- 15 unchanged lines hidden ---