#include <static_path_instance_mapper.h>


Public Types | |
| typedef std::pair < InstanceTree, int >  | PathWithID | 
Public Member Functions | |
| StaticPathInstanceMapper (InstanceTree root) | |
| This is the default constructor and need a design and a segment graph. The lookup table will be automatically created.  More... | |
| void | determine_lookup_table (InstanceTree root) | 
| This function traverses the design and pushes all modules and hierarchical channel instances into the path_to_id_mapping_ lookup table. The traversing is dependent on the declaration order of the member variables. Also, it follows depth first search. CAUTION: The function Design::reset_instance_counter() must be used first! Otherwise wrong intance id's a generated!  More... | |
| virtual int | get_id (InstanceTree tree) | 
| This function returns for a given tree the corresponding instance id.  More... | |
| 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.  More... | |
| virtual bool | perform_dynamic_analysis () | 
| This functions returns true if the path instance mapper should perform a dynamic analysis.  More... | |
| void | print_mapping () | 
| The function prints the lookup table in the terminal.  More... | |
| virtual DynamicModule * | get_dynamic_tree_root () | 
| This function returns the root node of the dynamic analysis CAUTION: This function is only for the DynamicPathInstanceMapper.  More... | |
| virtual int * | get_global_variable_address (std::string variable_name) | 
| This functions returns the address of the global variable with the name 'variable_name' CAUTION: This function is only for the DynamicPathInstanceMapper.  More... | |
| virtual std::string | get_global_variable_name (int *variable_address) | 
| This functions translates the address of a global variable into the associated variable name CAUTION: This function is only for the DynamicPathInstanceMapper.  More... | |
Public Attributes | |
| std::vector< PathWithID > | path_to_id_mapping_ | 
| This is the lookup table from path to instance id.  More... | |
| int | max_instances_ | 
| This variable counts what is the max of instances.  More... | |
      
  | 
  inherited | 
| risc::StaticPathInstanceMapper::StaticPathInstanceMapper | ( | InstanceTree | root | ) | 
This is the default constructor and need a design and a segment graph. The lookup table will be automatically created.
| risc::StaticPathInstanceMapper::determine_lookup_table | ( | InstanceTree | root | ) | 
This function traverses the design and pushes all modules and hierarchical channel instances into the path_to_id_mapping_ lookup table. The traversing is dependent on the declaration order of the member variables. Also, it follows depth first search. CAUTION: The function Design::reset_instance_counter() must be used first! Otherwise wrong intance id's a generated!
      
  | 
  virtualinherited | 
This function returns the root node of the dynamic analysis CAUTION: This function is only for the DynamicPathInstanceMapper.
Reimplemented in risc::DynamicPathInstanceMapper.
      
  | 
  virtualinherited | 
This functions returns the address of the global variable with the name 'variable_name' CAUTION: This function is only for the DynamicPathInstanceMapper.
Reimplemented in risc::DynamicPathInstanceMapper.
      
  | 
  virtualinherited | 
This functions translates the address of a global variable into the associated variable name CAUTION: This function is only for the DynamicPathInstanceMapper.
Reimplemented in risc::DynamicPathInstanceMapper.
      
  | 
  virtual | 
This function returns for a given tree the corresponding instance id.
Reimplemented from risc::PathInstanceMapper.
      
  | 
  virtual | 
This function returns for a given id and potential mapping candidates the corresponding instance tree.
Reimplemented from risc::PathInstanceMapper.
      
  | 
  virtual | 
This functions returns true if the path instance mapper should perform a dynamic analysis.
Implements risc::PathInstanceMapper.
      
  | 
  inherited | 
The function prints the lookup table in the terminal.
      
  | 
  inherited | 
This variable counts what is the max of instances.
      
  | 
  inherited | 
This is the lookup table from path to instance id.
 1.8.5