for(risc:: PORT_TYPE \
iter_port = (*iter_hier_channel)-> VAR_NAME .begin(); \
iter_port != (*iter_hier_channel)-> VAR_NAME .end(); \
iter_port++) { \
SgVariableDefinition *port_var = (*iter_port)->get_ast_node(); \
std::list<risc::InstanceTree> ports \
= d->get_root().find_all_instances_of( \
for(std::list<risc::InstanceTree>::iterator \
port_path_iter = ports.begin(); \
port_path_iter != ports.end(); \
port_path_iter++) { \
int port_id \
= path_instance_mapper->get_id(*port_path_iter); \
if(mapping_.count(std::make_pair( \
continue; \
InstanceTree channel_path \
int channel_id \
= path_instance_mapper->get_id(channel_path); \
mapping_[std::make_pair( \
= std::pair<risc::InstanceTree, int>(channel_path, channel_id); \
} \
}
InstanceTree get_mapped_channel_instance(InstanceTree port)
This function determines to which channel this port is bound.
Definition: port_mapping.cpp:976