1 #ifndef PREDICTION_EVENT_NOTIFICATION_TABLE_H_INCLUDED_ 
    2 #define PREDICTION_EVENT_NOTIFICATION_TABLE_H_INCLUDED_ 
  146       vd(vd), t(t), inst(inst)
 
std::pair< int, int > index_to_segment_and_instance_id(int index)
This function translates a given index from the conflict table into the corresponding segment id and ...
Definition: prediction_event_notification_table.cpp:700
 
VertexDescriptor vd
Definition: prediction_event_notification_table.h:141
 
int get_max_instances(int segment_id)
This functions returns how many instances of a given segment exist. 
Definition: prediction_event_notification_table.cpp:722
 
PathInstanceMapper * path_instance_mapper_
Definition: prediction_event_notification_table.h:86
 
int inst
Definition: prediction_event_notification_table.h:143
 
boost::graph_traits< Graph >::vertex_descriptor VertexDescriptor
Definition: segment_graph.h:34
 
int size_of_conflict_table_
This variable defines the size of the conflict table. The size is quadratic. 
Definition: prediction_event_notification_table.h:113
 
Node(VertexDescriptor vd, Time t, int inst)
Definition: prediction_event_notification_table.h:145
 
int ** instance_id_to_index_lookup_
This table should be used a lookup table: (segment id, instance id) -> index of conflict table...
Definition: prediction_event_notification_table.h:119
 
void print_notification_table()
This function prints the prediction event notification table in the terminal. 
Definition: prediction_event_notification_table.cpp:311
 
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
 
PredictionEventNotificationTable(risc::sg::EventConflictTable &ect, PathInstanceMapper *path_instance_mapper, bool t=true)
Creates the combined data conflict table. The maximum number of steps will be calculated automaticall...
Definition: prediction_event_notification_table.cpp:22
 
The conflicts are stored in the base class variable conflict_table_. The columns represent wait state...
Definition: event_conflict_table.h:32
 
void compute_combined_table()
This function computes the combined table for 'prediction_steps_' prediction steps. 
Definition: prediction_event_notification_table.cpp:501
 
Node(const Node &ohs)
Definition: prediction_event_notification_table.h:149
 
This class represents timing in discrete event simulation. 
Definition: time.h:14
 
std::pair< VertexDescriptor, Time > SegmentTimeTuple
Definition: prediction_event_notification_table.h:154
 
void print_instance_id_to_index_lookup_table()
This function prints the table instance_id_to_index_lookup_ table in the terminal. 
Definition: prediction_event_notification_table.cpp:746
 
risc::sg::EventConflictTable & ect_
Refers to the real event conflict table. 
Definition: prediction_event_notification_table.h:129
 
Time t
Definition: prediction_event_notification_table.h:142
 
Definition: prediction_event_notification_table.h:140
 
int number_of_segments_
This variable defines how many segments exist in the segment graph. Also, this is the number of colum...
Definition: prediction_event_notification_table.h:107
 
int segment_and_instance_id_to_index(int segment_id, int instance_id)
This function translates a given segment id and instance id to a index of the conflict table...
Definition: prediction_event_notification_table.cpp:679
 
Time ** combined_table_
The prediction event notification table. 
Definition: prediction_event_notification_table.h:124
 
Definition: prediction_event_notification_table.h:18
 
int max_instances_
This variable represents the max number of module instances in the design. Also, this is the number o...
Definition: prediction_event_notification_table.h:100
 
bool consider_indirect_
Whether or not the predicition considers indirect notification: seg1 notifies seg2, seg2 then notifies seg3. If false, this not considered in prediction. Default is true. 
Definition: prediction_event_notification_table.h:137
 
void bfs(VertexDescriptor start, int instance)
Definition: prediction_event_notification_table.cpp:389
 
VertexDescriptor * vertex_lookup_
This lookup table translates segment ids into vertex descriptors. At position i is the segment with t...
Definition: prediction_event_notification_table.h:93