sc_fifo_in.hh (12841:22aa7ba47bf9) | sc_fifo_in.hh (12868:23162a436538) |
---|---|
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 --- 35 unchanged lines hidden (view full) --- 44class sc_fifo_in : public sc_port<sc_fifo_in_if<T>, 0> 45{ 46 public: 47 sc_fifo_in() : sc_port<sc_fifo_in_if<T>, 0>() {} 48 explicit sc_fifo_in(const char *name) : sc_port<sc_fifo_in_if<T>, 0>(name) 49 {} 50 virtual ~sc_fifo_in() {} 51 | 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 --- 35 unchanged lines hidden (view full) --- 44class sc_fifo_in : public sc_port<sc_fifo_in_if<T>, 0> 45{ 46 public: 47 sc_fifo_in() : sc_port<sc_fifo_in_if<T>, 0>() {} 48 explicit sc_fifo_in(const char *name) : sc_port<sc_fifo_in_if<T>, 0>(name) 49 {} 50 virtual ~sc_fifo_in() {} 51 |
52 // Deprecated binding constructors. 53 explicit sc_fifo_in(const sc_fifo_in_if<T> &interface) : 54 sc_port<sc_fifo_in_if<T>, 0>(interface) 55 {} 56 sc_fifo_in(const char *name, const sc_fifo_in_if<T> &interface) : 57 sc_port<sc_fifo_in_if<T>, 0>(name, interface) 58 {} 59 explicit sc_fifo_in(sc_port_b<sc_fifo_in_if<T> > &parent) : 60 sc_port<sc_fifo_in_if<T>, 0>(parent) 61 {} 62 sc_fifo_in(const char *name, sc_port_b<sc_fifo_in_if<T> > &parent) : 63 sc_port<sc_fifo_in_if<T>, 0>(name, parent) 64 {} 65 explicit sc_fifo_in(sc_port<sc_fifo_in_if<T>, 0> &parent) : 66 sc_port<sc_fifo_in_if<T>, 0>(parent) 67 {} 68 sc_fifo_in(const char *name, sc_port<sc_fifo_in_if<T>, 0> &parent) : 69 sc_port<sc_fifo_in_if<T>, 0>(name, parent) 70 {} 71 |
|
52 void 53 read(T &) 54 { 55 sc_channel_warn_unimpl(__PRETTY_FUNCTION__); 56 } 57 T 58 read() 59 { --- 38 unchanged lines hidden --- | 72 void 73 read(T &) 74 { 75 sc_channel_warn_unimpl(__PRETTY_FUNCTION__); 76 } 77 T 78 read() 79 { --- 38 unchanged lines hidden --- |