#include "Behavioural/include/SPR_access_mode.h"

namespace morpheo {
namespace behavioural {

  spr_access_mode_t SPR_access_mode::get_mode (spr_address_t address)
  {
    return get_mode(address._group, address._register);
  }
  
  spr_access_mode_t SPR_access_mode::get_mode (uint32_t num_group, uint32_t num_reg)
  {
    return _spr_generic [num_group][num_reg];
  }

}; // end namespace behavioural
}; // end namespace morpheo              

