sc_prim.hh (12954:8ea3a185354c) sc_prim.hh (13059:4be5f408e128)
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

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

86 void wait(double, sc_time_unit);
87 void wait(const sc_time &, const sc_event &);
88 void wait(double, sc_time_unit, const sc_event &);
89 void wait(const sc_time &, const sc_event_or_list &);
90 void wait(double, sc_time_unit, const sc_event_or_list &);
91 void wait(const sc_time &, const sc_event_and_list &);
92 void wait(double, sc_time_unit, const sc_event_and_list &);
93
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

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

86 void wait(double, sc_time_unit);
87 void wait(const sc_time &, const sc_event &);
88 void wait(double, sc_time_unit, const sc_event &);
89 void wait(const sc_time &, const sc_event_or_list &);
90 void wait(double, sc_time_unit, const sc_event_or_list &);
91 void wait(const sc_time &, const sc_event_and_list &);
92 void wait(double, sc_time_unit, const sc_event_and_list &);
93
94 friend class sc_gem5::Kernel;
95
94 virtual void before_end_of_elaboration() {}
95 virtual void end_of_elaboration() {}
96 virtual void start_of_simulation() {}
97 virtual void end_of_simulation() {}
98
99 private:
100 // Disabled
101 sc_prim_channel(const sc_prim_channel &);
102 sc_prim_channel &operator = (const sc_prim_channel &);
103
104 friend class sc_gem5::Channel;
105 sc_gem5::Channel *_gem5_channel;
106};
107
108} // namespace sc_core
109
110#endif //__SYSTEMC_EXT_CORE_SC_PRIM_HH__
96 virtual void before_end_of_elaboration() {}
97 virtual void end_of_elaboration() {}
98 virtual void start_of_simulation() {}
99 virtual void end_of_simulation() {}
100
101 private:
102 // Disabled
103 sc_prim_channel(const sc_prim_channel &);
104 sc_prim_channel &operator = (const sc_prim_channel &);
105
106 friend class sc_gem5::Channel;
107 sc_gem5::Channel *_gem5_channel;
108};
109
110} // namespace sc_core
111
112#endif //__SYSTEMC_EXT_CORE_SC_PRIM_HH__