sc_fifo_out.hh (12841:22aa7ba47bf9) sc_fifo_out.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

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

45{
46 public:
47 sc_fifo_out() : sc_port<sc_fifo_out_if<T>, 0>() {}
48 explicit sc_fifo_out(const char *name) :
49 sc_port<sc_fifo_out_if<T>, 0>(name)
50 {}
51 virtual ~sc_fifo_out() {}
52
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

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

45{
46 public:
47 sc_fifo_out() : sc_port<sc_fifo_out_if<T>, 0>() {}
48 explicit sc_fifo_out(const char *name) :
49 sc_port<sc_fifo_out_if<T>, 0>(name)
50 {}
51 virtual ~sc_fifo_out() {}
52
53 // Deprecated binding constructors.
54 explicit sc_fifo_out(const sc_fifo_out_if<T> &interface) :
55 sc_port<sc_fifo_out_if<T>, 0>(interface)
56 {}
57 sc_fifo_out(const char *name, const sc_fifo_out_if<T> &interface) :
58 sc_port<sc_fifo_out_if<T>, 0>(name, interface)
59 {}
60 explicit sc_fifo_out(sc_port_b<sc_fifo_out_if<T> > &parent) :
61 sc_port<sc_fifo_out_if<T>, 0>(parent)
62 {}
63 sc_fifo_out(const char *name, sc_port_b<sc_fifo_out_if<T> > &parent) :
64 sc_port<sc_fifo_out_if<T>, 0>(name, parent)
65 {}
66 explicit sc_fifo_out(sc_port<sc_fifo_out_if<T>, 0> &parent) :
67 sc_port<sc_fifo_out_if<T>, 0>(parent)
68 {}
69 sc_fifo_out(const char *name, sc_port<sc_fifo_out_if<T>, 0> &parent) :
70 sc_port<sc_fifo_out_if<T>, 0>(name, parent)
71 {}
72
53 void
54 write(const T &)
55 {
56 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
57 }
58 bool
59 nb_write(const T &)
60 {

--- 32 unchanged lines hidden ---
73 void
74 write(const T &)
75 {
76 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
77 }
78 bool
79 nb_write(const T &)
80 {

--- 32 unchanged lines hidden ---