17 #ifndef _SCC_EXT_ATTRIBUTE_H_
18 #define _SCC_EXT_ATTRIBUTE_H_
20 #include "configurer.h"
21 #include "utilities.h"
39 template <
typename T>
class ext_attribute :
public sc_core::sc_attribute<T> {
41 using base_type = sc_core::sc_attribute<T>;
51 owner->add_attribute(*
this);
62 : base_type(name_, value_)
64 owner->add_attribute(*
this);
80 const sc_core::sc_module*
owner;
ext_attribute(const ext_attribute< T > &a)=delete
ext_attribute(const std::string &name_, const T &value_, sc_core::sc_module *owner)
ext_attribute(const std::string &name_, sc_core::sc_module *owner)
const sc_core::sc_module * owner