Go to the documentation of this file.
29 #ifndef __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_COMPONENTMAPPINGS_HH__
30 #define __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_COMPONENTMAPPINGS_HH__
35 #include "mem/ruby/protocol/MachineType.hh"
51 int num_bits,
int cluster_id = 0)
55 mach.
num = cluster_id;
58 + (1 << num_bits) * cluster_id;
77 return MachineType_base_count(machType);
94 #endif // __MEM_RUBY_SLICC_INTERFACE_COMPONENTMAPPINGS_HH__
void add(MachineID newElement)
NetDest broadcast(MachineType type)
MachineID MachineTypeAndNodeIDToMachineID(MachineType type, NodeID node)
MachineID createMachineID(MachineType type, NodeID id)
MachineID mapAddressToRange(Addr addr, MachineType type, int low_bit, int num_bits, int cluster_id=0)
Addr bitSelect(Addr addr, unsigned int small, unsigned int big)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
NodeID machineIDToNodeID(MachineID machID)
MachineType machineIDToMachineType(MachineID machID)
int machineCount(MachineType machType)
NodeID num
range: 0 ... number of this machine's components in system - 1
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17