51 : name(port->get_id()),
52 type(port->get_typeRef()->get_name()),
53 type_size(port->get_typeRef()->vector_size != 0 ? port->get_typeRef()->vector_size : port->get_typeRef()->size),
61 const auto mod = GetPointer<module>(_mod);
62 std::vector<parameter> _ports_in(
mod->get_in_port_size(),
parameter());
63 for(
auto i = 0
U; i < _ports_in.size(); ++i)
67 std::vector<parameter> _ports_out(
mod->get_out_port_size(),
parameter());
68 for(
auto i = 0
U; i < _ports_out.size(); ++i)
72 std::vector<parameter> _ports_inout(
mod->get_in_out_port_size(),
parameter());
73 for(
auto i = 0
U; i < _ports_inout.size(); ++i)
77 InternalExec(out, _mod, function_id, op_v, language, _p, _ports_in, _ports_out, _ports_inout);
virtual void InternalExec(std::ostream &out, structural_objectRef mod, unsigned int function_id, vertex op_v, const HDLWriter_Language language, const std::vector< parameter > &_p, const std::vector< parameter > &_ports_in, const std::vector< parameter > &_ports_out, const std::vector< parameter > &_ports_inout)=0
This class describes a port associated with a component or a channel.
void Exec(std::ostream &out, structural_objectRef mod, unsigned int function_id, vertex op_v, const std::vector< parameter > &_p, const HDLWriter_Language language)
boost::graph_traits< graph >::vertex_descriptor vertex
vertex definition.
This class describes all classes used to represent a structural object.
T * GetPointerS(const refcount< U > &t)
Template function used to hide static_cast The template parameter T represents a type of an object ha...