38#ifndef __MEM_RUBY_PROTOCOL_CHI_TLM_UTILS_HH__
39#define __MEM_RUBY_PROTOCOL_CHI_TLM_UTILS_HH__
41#include <ARM/TLM/arm_chi.h>
44#include "mem/ruby/protocol/CHI/CHIDataType.hh"
45#include "mem/ruby/protocol/CHI/CHIRequestType.hh"
46#include "mem/ruby/protocol/CHI/CHIResponseType.hh"
53 const ARM::CHI::Phase &phase);
57ruby::CHI::CHIRequestType
reqOpcode(ARM::CHI::ReqOpcode req);
58ruby::CHI::CHIDataType
datOpcode(ARM::CHI::DatOpcode dat, ARM::CHI::Resp resp);
59ruby::CHI::CHIResponseType
rspOpcode(ARM::CHI::RspOpcode res, ARM::CHI::Resp resp);
69ARM::CHI::Resp
datResp(ruby::CHI::CHIDataType dat);
70ARM::CHI::Resp
rspResp(ruby::CHI::CHIResponseType rsp);
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
uint8_t snpOpcode(CHIRequestType snp)
uint8_t rspOpcode(CHIResponseType rsp)
Resp rspResp(CHIResponseType rsp)
Resp datResp(CHIDataType dat)
uint8_t datOpcode(CHIDataType dat)
CHIDataType datOpcode(DatOpcode dat, Resp resp)
CHIResponseType rspOpcode(RspOpcode opc, Resp resp)
CHIRequestType reqOpcode(ReqOpcode req)
Addr transactionSize(Size sz)
std::string transactionToString(const Payload &payload, const Phase &phase)
uint8_t dataId(Addr address)
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.