sc_fifo_out_if.hh (12841:22aa7ba47bf9) | sc_fifo_out_if.hh (12853:e23d6f09069a) |
---|---|
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 --- 27 unchanged lines hidden (view full) --- 36{ 37 38class sc_event; 39 40template <class T> 41class sc_fifo_nonblocking_out_if : virtual public sc_interface 42{ 43 public: | 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 --- 27 unchanged lines hidden (view full) --- 36{ 37 38class sc_event; 39 40template <class T> 41class sc_fifo_nonblocking_out_if : virtual public sc_interface 42{ 43 public: |
44 virtual bool ab_write(const T &) = 0; | 44 virtual bool nb_write(const T &) = 0; |
45 virtual const sc_event &data_read_event() const = 0; 46}; 47 48template <class T> 49class sc_fifo_blocking_out_if : virtual public sc_interface 50{ 51 public: 52 virtual void write(const T &) = 0; --- 24 unchanged lines hidden --- | 45 virtual const sc_event &data_read_event() const = 0; 46}; 47 48template <class T> 49class sc_fifo_blocking_out_if : virtual public sc_interface 50{ 51 public: 52 virtual void write(const T &) = 0; --- 24 unchanged lines hidden --- |