00001 #ifndef PORT_MAPPING_H_INCLUDED_
00002 #define PORT_MAPPING_H_INCLUDED_
00003
00004 #include <list>
00005
00006 #include "rose.h"
00007
00008 #include "design.h"
00009 #include "instance.h"
00010 #include "module.h"
00011 #include "channel.h"
00012 #include "port.h"
00013 #include "instance_tree.h"
00014
00015 namespace risc {
00016
00022 std::list<InstanceTree> get_mapped_channel_instances(Port *port);
00023
00028 InstanceTree get_mapped_channel_instance(InstanceTree port);
00029
00036 SgVariableSymbol* get_mapped_symbol(
00037 SgVariableSymbol *port,
00038 Module *parent_module,
00039 SgVariableDefinition *parent_variable);
00040
00041 }
00042
00043 #endif
00044
00045