diff options
Diffstat (limited to 'src/systemc/ext/core/sc_port.hh')
-rw-r--r-- | src/systemc/ext/core/sc_port.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/systemc/ext/core/sc_port.hh b/src/systemc/ext/core/sc_port.hh index c9d436ec3..3586fec73 100644 --- a/src/systemc/ext/core/sc_port.hh +++ b/src/systemc/ext/core/sc_port.hh @@ -47,6 +47,22 @@ namespace sc_core { class sc_interface; +class sc_trace_file; + +// Nonstandard +// Despite having a warning "FOR INTERNAL USE ONLY!" in all caps above this +// class definition in the Accellera implementation, it appears in their +// examples and test programs, and so we need to have it here as well. +struct sc_trace_params +{ + sc_trace_file *tf; + std::string name; + + sc_trace_params(sc_trace_file *tf, const std::string &name) : + tf(tf), name(name) + {} +}; +typedef std::vector<sc_trace_params *> sc_trace_params_vec; enum sc_port_policy { |