All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
port_mapping.h File Reference
#include <list>
#include "rose.h"
#include "instance_tree.h"
Include dependency graph for port_mapping.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 risc
 

Functions

std::list< InstanceTree > risc::get_mapped_channel_instances (Port *port)
 This function determines to which channels this port can be bound. An instance of the given port can occur multiple times. More...
 
InstanceTree risc::get_mapped_channel_instance (InstanceTree port)
 This function determines to which channel this port is bound. More...
 
InstanceTree risc::get_mapped_channel_instance_for_psg (InstanceTree port)
 This function determines to which channel this port is bound given mapping information in a PSG file. More...
 
SgVariableSymbol * risc::port_mapping_style1 (SgFunctionCallExp *func_call, SgVariableSymbol *port, SgVariableDefinition *parent_variable)
 Determines if function call bindes in style of sub_module.port.bind(port1);. More...
 
SgVariableSymbol * risc::port_mapping_style2 (SgFunctionCallExp *func_call, SgVariableSymbol *port, SgVariableDefinition *parent_variable)
 Determines if function call bindes in style of sub_module.port(port1);. More...
 
SgVariableSymbol * risc::port_mapping_style3 (SgFunctionCallExp *func_call, SgVariableSymbol *port, Module *parent_module, SgVariableDefinition *parent_variable)
 Determines if function call bindes in style of sub_module(port1, port2, ... ,portn);. More...
 
SgVariableSymbol * risc::socket_mapping_style2 (SgFunctionCallExp *func_call, SgVariableSymbol *socket, SgVariableDefinition *parent_variable)
 Determines if function call bindes in style of sub_module1.portx(sub_module2.porty);. More...
 
SgVariableSymbol * risc::get_mapped_symbol (SgVariableSymbol *port, Module *parent_module, SgVariableDefinition *parent_variable)
 This function is only for internal use Here we determine to which object (port or channel) the given port is mapped in the parent module. More...
 
SgVariableSymbol * risc::get_mapped_symbol_style3 (SgVariableSymbol *port, Module *parent_module, SgVariableDefinition *parent_variable)
 This function is only for internal use Here we determine to which object (port or channel) the given port is mapped in the parent module. More...
 
SgVariableSymbol * risc::get_mapped_module_instance_symbol (SgVariableSymbol *socket, Module *parent_module, SgVariableDefinition *parent_variable)
 This function is only for internal use Here we determine to which module instance the given socket is mapped in the parent module. More...
 
SgVariableSymbol * risc::module_instance_mapping_style1 (SgFunctionCallExp *func_call, SgVariableSymbol *socket, SgVariableDefinition *parent_variable)
 Determines if function call bindes in style of parent_variable.socket(some_module_instance.socket_another);. More...
 
risc::InstanceTree risc::get_mapped_socket_instance_tree (InstanceTree instance_tree_1)
 This function determines to which socket this socket is bound. More...