sc_fifo.hh (13327:2b5b3da7a732) sc_fifo.hh (13407:7915c998957c)
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

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

191 if (_readsHappened) {
192 _readsHappened = false;
193 _dataReadEvent.notify(SC_ZERO_TIME);
194 }
195 }
196
197 private:
198 // Disabled
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

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

191 if (_readsHappened) {
192 _readsHappened = false;
193 _dataReadEvent.notify(SC_ZERO_TIME);
194 }
195 }
196
197 private:
198 // Disabled
199 sc_fifo(const sc_fifo &) :
200 sc_fifo_in_if<T>(), sc_fifo_in_if<T>(), sc_prim_channel()
199 sc_fifo(const sc_fifo<T> &) : sc_fifo_in_if<T>(), sc_prim_channel()
201 {}
202 sc_fifo &operator = (const sc_fifo<T> &) { return *this; }
203
204 sc_gem5::InternalScEvent _dataReadEvent;
205 sc_gem5::InternalScEvent _dataWriteEvent;
206
207 sc_port_base *_reader;
208 sc_port_base *_writer;

--- 20 unchanged lines hidden ---
200 {}
201 sc_fifo &operator = (const sc_fifo<T> &) { return *this; }
202
203 sc_gem5::InternalScEvent _dataReadEvent;
204 sc_gem5::InternalScEvent _dataWriteEvent;
205
206 sc_port_base *_reader;
207 sc_port_base *_writer;

--- 20 unchanged lines hidden ---