Last change
on this file since 40 was
1,
checked in by buchmann, 17 years ago
|
Initial import from CVS repository
|
File size:
1.3 KB
|
Line | |
---|
1 | /*------------------------------------------------------------\ |
---|
2 | | | |
---|
3 | | Tool : systemcass | |
---|
4 | | | |
---|
5 | | File : port_dependency.h | |
---|
6 | | | |
---|
7 | | Author : Buchmann Richard | |
---|
8 | | | |
---|
9 | | Date : 09_07_2004 | |
---|
10 | | | |
---|
11 | \------------------------------------------------------------*/ |
---|
12 | #ifndef PORT_DEPENDENCY_H |
---|
13 | #define PORT_DEPENDENCY_H |
---|
14 | |
---|
15 | #include "sc_fwd.h" |
---|
16 | #include <list> |
---|
17 | |
---|
18 | #include "port_dependency_ext.h" |
---|
19 | |
---|
20 | namespace sc_core { |
---|
21 | |
---|
22 | // Port Dependency Graph |
---|
23 | struct PortDependency { |
---|
24 | const method_process_t *method; |
---|
25 | const sc_port_base *source; |
---|
26 | const sc_port_base *destination; |
---|
27 | }; |
---|
28 | typedef std::list<PortDependency> PortDependencyGraph; |
---|
29 | |
---|
30 | // Accessor |
---|
31 | extern const PortDependencyGraph& get_port_dependency_graph (); |
---|
32 | |
---|
33 | // Dump to dot file |
---|
34 | extern bool PortDependencyGraph2dot (const char *name, const PortDependencyGraph& = get_port_dependency_graph()); |
---|
35 | |
---|
36 | } // end of sc_core namespace |
---|
37 | |
---|
38 | #endif |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.