All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
static_path_instance_mapper.h
Go to the documentation of this file.
1 #ifndef STATIC_PATH_INSTANCE_MAPPER_H_INCLUDED_
2 #define STATIC_PATH_INSTANCE_MAPPER_H_INCLUDED_
3 
4 #include<vector>
5 #include<utility>
6 
7 #include "instance_tree.h"
8 #include "path_instance_mapper.h"
9 
10 namespace risc {
11 
12 class Design;
13 
20 
21 public:
22 
29 
41 
47  virtual int get_id(InstanceTree tree);
48 
55  get_instance_tree(int id, std::list<InstanceTree> potential_instances);
56 
62  virtual bool perform_dynamic_analysis();
63 };
64 
65 }; // end of namespace risc
66 
67 
68 #endif /* STATIC_PATH_INSTANCE_MAPPER_H_INCLUDED_ */
69 
70 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
Definition: instance_tree.h:15
void determine_lookup_table(InstanceTree root)
This function traverses the design and pushes all modules and hierarchical channel instances into the...
Definition: static_path_instance_mapper.cpp:18
This class can be used as a lookup table between an instance id of a module or hierarchical channel a...
Definition: path_instance_mapper.h:13
InstanceTree get_instance_tree(int id, std::list< InstanceTree > potential_instances)
This function returns for a given id and potential mapping candidates the corresponding instance tree...
Definition: static_path_instance_mapper.cpp:133
StaticPathInstanceMapper(InstanceTree root)
This is the default constructor and need a design and a segment graph. The lookup table will be autom...
Definition: static_path_instance_mapper.cpp:12
virtual int get_id(InstanceTree tree)
This function returns for a given tree the corresponding instance id.
Definition: static_path_instance_mapper.cpp:103
virtual bool perform_dynamic_analysis()
This functions returns true if the path instance mapper should perform a dynamic analysis.
Definition: static_path_instance_mapper.cpp:162
Definition: static_path_instance_mapper.h:19