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"
46 int num_bits,
int cluster_id = 0)
50 mach.
num = cluster_id;
53 + (1 << num_bits) * cluster_id;
MachineType machineIDToMachineType(MachineID machID)
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 Arm Limited 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