diff options
author | Gabe Black <gabeblack@google.com> | 2018-05-22 02:21:17 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-08 10:08:12 +0000 |
commit | 5ee040a534d422ee08918ef49d55620184df7120 (patch) | |
tree | 1688e050dec6abf1a36fc92070b151e6b0682fdd /src/systemc/ext/channel/sc_fifo_in_if.hh | |
parent | 7adb1b250b712920ea5d685f146ad6df55346393 (diff) | |
download | gem5-5ee040a534d422ee08918ef49d55620184df7120.tar.xz |
Systemc: Port over all of the systemc "datatype" headers.
These are the headers originally written by Accellera with a few
modifications. Most significantly, I went through and mostly (but not
entirely) manually editted them to conform to gem5 style and to be
more self consistent. Second, I resolved some macros which optionally
select features. I removed support for deprecated functions, and
otherwise enabled everything.
The actual implementation behind these headers will also be ported
over, but in a subsequent change.
Change-Id: I203d3f6c8a3af9120b946001d01defbb0643a6b6
Reviewed-on: https://gem5-review.googlesource.com/10843
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/channel/sc_fifo_in_if.hh')
-rw-r--r-- | src/systemc/ext/channel/sc_fifo_in_if.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/ext/channel/sc_fifo_in_if.hh b/src/systemc/ext/channel/sc_fifo_in_if.hh index a6ac4f544..bee7b60fa 100644 --- a/src/systemc/ext/channel/sc_fifo_in_if.hh +++ b/src/systemc/ext/channel/sc_fifo_in_if.hh @@ -41,7 +41,7 @@ template <class T> class sc_fifo_nonblocking_in_if : virtual public sc_interface { public: - virtual bool ab_read(T &) = 0; + virtual bool nb_read(T &) = 0; virtual const sc_event &data_written_event() const = 0; }; @@ -58,7 +58,7 @@ class sc_fifo_in_if : public sc_fifo_nonblocking_in_if<T>, public sc_fifo_blocking_in_if<T> { public: - virtual int num_avaialble() const = 0; + virtual int num_available() const = 0; protected: sc_fifo_in_if() : sc_interface() {} |