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
--- 130 unchanged lines hidden (view full) ---
139 portBase(port_base), finalized(false), _maxSize(max), _size(0)
140 {
141 allPorts.push_front(this);
142 }
143
144 void
145 bind(::sc_core::sc_interface *interface)
146 {
147 bindings.push_back(new Binding(interface));
148 }
149
150 void
151 bind(::sc_core::sc_port_base *port)
152 {
153 bindings.push_back(new Binding(port));
154 }
155
--- 13 unchanged lines hidden ---
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
--- 130 unchanged lines hidden (view full) ---
139 portBase(port_base), finalized(false), _maxSize(max), _size(0)
140 {
141 allPorts.push_front(this);
142 }
143
144 void
145 bind(::sc_core::sc_interface *interface)
146 {
147 bindings.push_back(new Binding(interface));
148 }
149
150 void
151 bind(::sc_core::sc_port_base *port)
152 {
153 bindings.push_back(new Binding(port));
154 }
155
--- 13 unchanged lines hidden ---