diff --git a/src/forsyde.hpp b/src/forsyde.hpp index f28d39e..7b79381 100644 --- a/src/forsyde.hpp +++ b/src/forsyde.hpp @@ -69,8 +69,10 @@ // include the main SystemC library #include +// include type libraries +#include "forsyde/type_helpers.hpp" #ifdef FORSYDE_INTROSPECTION -#include "forsyde/types.hpp" +#include "forsyde/type_introspect.hpp" #endif // include the abstract semantics diff --git a/src/forsyde/abssemantics.hpp b/src/forsyde/abssemantics.hpp index cc881b5..7e61982 100644 --- a/src/forsyde/abssemantics.hpp +++ b/src/forsyde/abssemantics.hpp @@ -14,6 +14,8 @@ #ifndef ABSSEMANTICS_HPP #define ABSSEMANTICS_HPP +#include "type_introspect.hpp" + /*! \file abssemantics.hpp * \brief The common abstract semantics for all MoCs. * @@ -89,7 +91,7 @@ class signal: public sc_fifo //! Returns the name of the token type virtual const char* token_type() const { - return get_type_name(); + return IntrospectiveType::traverse(); } virtual std::string moc() const = 0; @@ -149,7 +151,7 @@ class in_port: public sc_fifo_in //! Returns the plain name of the token type virtual const char* token_type() const { - return get_type_name(); + return IntrospectiveType::traverse(); } #endif }; @@ -189,7 +191,7 @@ class out_port: public sc_fifo_out //! Returns the name of the actual type (not abst_ext version) virtual const char* token_type() const { - return get_type_name(); + return IntrospectiveType::traverse(); } #endif }; diff --git a/src/forsyde/sdf_helpers.hpp b/src/forsyde/sdf_helpers.hpp index bc90791..f2aa01e 100644 --- a/src/forsyde/sdf_helpers.hpp +++ b/src/forsyde/sdf_helpers.hpp @@ -345,7 +345,7 @@ template class I1If, inline zip* make_zip(std::string pName, unsigned int i1toks, unsigned int i2toks, - OIf,std::vector>>& outS, + OIf>& outS, I1If& inp1S, I2If& inp2S ) @@ -370,7 +370,7 @@ template