00001 #ifndef PORT_MAPPING_H_INCLUDED_
00002 #define PORT_MAPPING_H_INCLUDED_
00003
00004 #include <list>
00005
00006 #include "rose.h"
00007
00008 #include "instance_tree.h"
00009
00010 namespace risc {
00011
00012 class Port;
00013 class Module;
00014
00020 std::list<InstanceTree> get_mapped_channel_instances(Port *port);
00021
00026 InstanceTree get_mapped_channel_instance(InstanceTree port);
00027
00034 SgVariableSymbol* get_mapped_symbol(
00035 SgVariableSymbol *port,
00036 Module *parent_module,
00037 SgVariableDefinition *parent_variable);
00038
00039 }
00040
00041 #endif
00042
00043