sc_port.hh (13207:034ca389a810) sc_port.hh (13245:c666c5d4996b)
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

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

42class Port;
43
44};
45
46namespace sc_core
47{
48
49class sc_interface;
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

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

42class Port;
43
44};
45
46namespace sc_core
47{
48
49class sc_interface;
50class sc_trace_file;
50
51
52// Nonstandard
53// Despite having a warning "FOR INTERNAL USE ONLY!" in all caps above this
54// class definition in the Accellera implementation, it appears in their
55// examples and test programs, and so we need to have it here as well.
56struct sc_trace_params
57{
58 sc_trace_file *tf;
59 std::string name;
60
61 sc_trace_params(sc_trace_file *tf, const std::string &name) :
62 tf(tf), name(name)
63 {}
64};
65typedef std::vector<sc_trace_params *> sc_trace_params_vec;
66
51enum sc_port_policy
52{
53 SC_ONE_OR_MORE_BOUND, // Default
54 SC_ZERO_OR_MORE_BOUND,
55 SC_ALL_BOUND
56};
57
58class sc_port_base : public sc_object

--- 203 unchanged lines hidden ---
67enum sc_port_policy
68{
69 SC_ONE_OR_MORE_BOUND, // Default
70 SC_ZERO_OR_MORE_BOUND,
71 SC_ALL_BOUND
72};
73
74class sc_port_base : public sc_object

--- 203 unchanged lines hidden ---