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"
57 int num_bits,
int cluster_id = 0)
61 mach.
num = cluster_id;
64 + (1 << num_bits) * cluster_id;
83 return MachineType_base_count(machType);
void add(MachineID newElement)
MachineType machineIDToMachineType(MachineID machID)
int machineCount(MachineType machType)
NetDest broadcast(MachineType type)
MachineID MachineTypeAndNodeIDToMachineID(MachineType type, NodeID node)
Addr bitSelect(Addr addr, unsigned int small, unsigned int big)
MachineID createMachineID(MachineType type, NodeID id)
MachineID mapAddressToRange(Addr addr, MachineType type, int low_bit, int num_bits, int cluster_id=0)
NodeID machineIDToNodeID(MachineID machID)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
NodeID num
range: 0 ... number of this machine's components in system - 1