HeMPS  8.0
Public Attributes | List of all members
ServiceHeader Struct Reference

This structure is in charge to defines the ServiceHeader field that can be filled by the software part when need to send a packet, or that will be read when the packet is received. More...

#include <packet.h>

Public Attributes

unsigned int header
 Is the first flit of packet, keeps the target NoC router.
 
unsigned int payload_size
 Stores the number of flits that forms the remaining of packet.
 
unsigned int service
 Store the packet service code (see services.h file)
 
union {
   unsigned int   producer_task
 <Generic union
 
   unsigned int   task_ID
 
   unsigned int   app_ID
 
}; 
 
union {
   unsigned int   consumer_task
 <Generic union
 
   unsigned int   cluster_ID
 
   unsigned int   master_ID
 
   unsigned int   hops
 
   unsigned int   period
 
}; 
 
unsigned int source_PE
 Store the packet source PE address.
 
unsigned int timestamp
 Store the packet timestamp, filled automatically by send_packet function.
 
unsigned int transaction
 Unused field for while.
 
union {
   unsigned int   msg_lenght
 <Generic union
 
   unsigned int   resolution
 
   unsigned int   priority
 
   unsigned int   latency_deadline
 
   unsigned int   pkt_latency
 
   unsigned int   stack_size
 
   unsigned int   requesting_task
 
   unsigned int   released_proc
 
   unsigned int   app_task_number
 
   unsigned int   app_descriptor_size
 
   unsigned int   allocated_processor
 
   unsigned int   requesting_processor
 
}; 
 
union {
   unsigned int   pkt_size
 <Generic union
 
   unsigned int   data_size
 
}; 
 
union {
   unsigned int   code_size
 <Generic union
 
   unsigned int   max_free_procs
 
   unsigned int   execution_time
 
}; 
 
union {
   unsigned int   bss_size
 <Generic union
 
   unsigned int   cpu_slack_time
 
   unsigned int   request_size
 
}; 
 
union {
   unsigned int   initial_address
 <Generic union
 
   unsigned int   program_counter
 
   unsigned int   utilization
 
}; 
 

Detailed Description

This structure is in charge to defines the ServiceHeader field that can be filled by the software part when need to send a packet, or that will be read when the packet is received.


The documentation for this struct was generated from the following file: