sc_out.hh (12841:22aa7ba47bf9) | sc_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 --- 31 unchanged lines hidden (view full) --- 40template <class T> 41class sc_out : public sc_inout<T> 42{ 43 public: 44 sc_out() : sc_inout<T>() {} 45 explicit sc_out(const char *name) : sc_inout<T>(name) {} 46 virtual ~sc_out() {} 47 | 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 --- 31 unchanged lines hidden (view full) --- 40template <class T> 41class sc_out : public sc_inout<T> 42{ 43 public: 44 sc_out() : sc_inout<T>() {} 45 explicit sc_out(const char *name) : sc_inout<T>(name) {} 46 virtual ~sc_out() {} 47 |
48 // Deprecated binding constructors. 49 explicit sc_out(const sc_signal_inout_if<T> &interface) : 50 sc_inout<T>(interface) 51 {} 52 sc_out(const char *name, const sc_signal_inout_if<T> &interface) : 53 sc_inout<T>(name, interface) 54 {} 55 explicit sc_out(sc_port_b<sc_signal_inout_if<T> > &parent) : 56 sc_inout<T>(parent) 57 {} 58 sc_out(const char *name, sc_port_b<sc_signal_inout_if<T> > &parent) : 59 sc_inout<T>(name, parent) 60 {} 61 explicit sc_out(sc_out<T> &parent) : sc_inout<T>(parent) {} 62 sc_out(const char *name, sc_out<T> &parent) : sc_inout<T>(name, parent) {} 63 |
|
48 sc_out<T> & 49 operator = (const T &) 50 { 51 sc_channel_warn_unimpl(__PRETTY_FUNCTION__); 52 return *(sc_out<T> *)nullptr; 53 } 54 sc_out<T> & 55 operator = (const sc_signal_in_if<T> &) --- 33 unchanged lines hidden --- | 64 sc_out<T> & 65 operator = (const T &) 66 { 67 sc_channel_warn_unimpl(__PRETTY_FUNCTION__); 68 return *(sc_out<T> *)nullptr; 69 } 70 sc_out<T> & 71 operator = (const sc_signal_in_if<T> &) --- 33 unchanged lines hidden --- |