sc_main.hh (12926:2b4c3973269f) sc_main.hh (13043:3d8585dabc3e)
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

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

25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_EXT_CORE_SC_MAIN_HH__
31#define __SYSTEMC_EXT_CORE_SC_MAIN_HH__
32
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

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

25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_EXT_CORE_SC_MAIN_HH__
31#define __SYSTEMC_EXT_CORE_SC_MAIN_HH__
32
33#include <iostream>
34
33#include "../dt/int/sc_nbdefs.hh"
34#include "sc_time.hh"
35
36extern "C" int sc_main(int argc, char *argv[]);
37
38namespace sc_core
39{
40 extern "C" int sc_argc();

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

92 // Nonstandard
93 SC_END_OF_INITIALIZATION = 0x100,
94 SC_END_OF_UPDATE = 0x400,
95 SC_BEFORE_TIMESTEP = 0x800,
96 SC_STATUS_ANY = 0xdff
97 };
98
99 sc_status sc_get_status();
35#include "../dt/int/sc_nbdefs.hh"
36#include "sc_time.hh"
37
38extern "C" int sc_main(int argc, char *argv[]);
39
40namespace sc_core
41{
42 extern "C" int sc_argc();

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

94 // Nonstandard
95 SC_END_OF_INITIALIZATION = 0x100,
96 SC_END_OF_UPDATE = 0x400,
97 SC_BEFORE_TIMESTEP = 0x800,
98 SC_STATUS_ANY = 0xdff
99 };
100
101 sc_status sc_get_status();
102
103 std::ostream &operator << (std::ostream &os, sc_status s);
100} // namespace sc_core
101
102#endif //__SYSTEMC_EXT_CORE_SC_MAIN_HH__
104} // namespace sc_core
105
106#endif //__SYSTEMC_EXT_CORE_SC_MAIN_HH__