Please, help us to better know about our user community by answering the following short survey: https://forms.gle/wpyrxWi18ox9Z5ae9
ClusterBusRequest.h
Go to the documentation of this file.
1 
5  /* @author János Végh (jvegh)
6  * @bug No known bugs.
7  */
8 
9 /*
10  The origin of this development file is available as SystemC example
11  The name changes are because multiple such buses are present in the development
12  simple_bus_request.h : The bus interface request form.
13  Original Author: Ric Hilderink, Synopsys, Inc., 2001-10-11
14 */
15 
16 
17 #ifndef cluster_bus_request_h
18 #define cluster_bus_request_h
19 
24 #include "ClusterBusTypes.h"
25 //#include "scIGPMessage.h"
26 class scIGPMessage;
27 
28 enum ClusterBus_lock_status { CLUSTER_BUS_LOCK_NO = 0
29  , CLUSTER_BUS_LOCK_SET
30  , CLUSTER_BUS_LOCK_GRANTED
31 };
38 {
39  // parameters
40  unsigned int priority;
41 
42  // request parameters
43  bool do_write;
44 /* unsigned int address;
45  unsigned int end_address;
46  int *data;*/
47  scIGPMessage* M;
48  ClusterBus_lock_status lock;
49 
50  // request status
51  sc_event transfer_done;
52  ClusterBusStatus status;
53 
54  // default constructor
56 };
57 
58 inline ClusterBusRequest::ClusterBusRequest()
59  : priority(0)
60  , do_write(false)
61  , M((scIGPMessage*)0)
62  , lock(CLUSTER_BUS_LOCK_NO)
63  , status(CLUSTER_BUS_OK)
64 {}
66 #endif // cluster_bus_request_h
ClusterBusTypes.h
The description of the inter-cluster states.
scIGPMessage
The scIGPMessage class.
Definition: scIGPMessage.h:97
ClusterBusRequest
A GridPoint can be addressed also by its cluster address of type ClusterAddress_t.
Definition: ClusterBusRequest.h:37