sc_port.hh (13202:2bce0d678b2f) sc_port.hh (13206:c944ef4abb48)
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

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

36#include "sc_module.hh" // for sc_gen_unique_name
37#include "sc_object.hh"
38
39namespace sc_gem5
40{
41
42class BindInfo;
43class Module;
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

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

36#include "sc_module.hh" // for sc_gen_unique_name
37#include "sc_object.hh"
38
39namespace sc_gem5
40{
41
42class BindInfo;
43class Module;
44class PendingSensitivityPort;
45class PendingSensitivityFinder;
44class StaticSensitivityPort;
45class StaticSensitivityFinder;
46
47};
48
49namespace sc_core
50{
51
52class sc_interface;
53

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

82 virtual int vbind(sc_port_base &) = 0;
83
84 virtual void before_end_of_elaboration() = 0;
85 virtual void end_of_elaboration() = 0;
86 virtual void start_of_simulation() = 0;
87 virtual void end_of_simulation() = 0;
88
89 private:
46
47};
48
49namespace sc_core
50{
51
52class sc_interface;
53

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

82 virtual int vbind(sc_port_base &) = 0;
83
84 virtual void before_end_of_elaboration() = 0;
85 virtual void end_of_elaboration() = 0;
86 virtual void start_of_simulation() = 0;
87 virtual void end_of_simulation() = 0;
88
89 private:
90 friend class ::sc_gem5::PendingSensitivityPort;
91 friend class ::sc_gem5::PendingSensitivityFinder;
90 friend class ::sc_gem5::StaticSensitivityPort;
91 friend class ::sc_gem5::StaticSensitivityFinder;
92 friend class ::sc_gem5::Kernel;
93
94 void _gem5Finalize();
95
96 virtual sc_interface *_gem5Interface(int n) const = 0;
97 virtual void _gem5AddInterface(sc_interface *i) = 0;
98
99 std::vector<::sc_gem5::BindInfo *> _gem5BindInfo;

--- 170 unchanged lines hidden ---
92 friend class ::sc_gem5::Kernel;
93
94 void _gem5Finalize();
95
96 virtual sc_interface *_gem5Interface(int n) const = 0;
97 virtual void _gem5AddInterface(sc_interface *i) = 0;
98
99 std::vector<::sc_gem5::BindInfo *> _gem5BindInfo;

--- 170 unchanged lines hidden ---