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 |
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); |
104} // namespace sc_core 105 106#endif //__SYSTEMC_EXT_CORE_SC_MAIN_HH__ |