mem-ruby: Add DMA support to MOESI_AMD_Base-dir.sm
authorTony Gutierrez <anthony.gutierrez@amd.com>
Thu, 7 Jun 2018 18:06:22 +0000 (14:06 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Fri, 19 Jun 2020 20:34:06 +0000 (20:34 +0000)
commitb811d3a34213787bef2758c7253e42d6b6c55f24
tree327f152641c71cf4da2fb046486c7395dcf914a3
parent18ebe62598e09771f58d555faaed6e3572cc4d14
mem-ruby: Add DMA support to MOESI_AMD_Base-dir.sm

This change adds DMA support to the MOESI_AMD_Base-dir.sm,
which is needed to support ROCm apps/GCN3 ISA in the VIPER
ptl. The DMA controller is copied from the MOESI_hammer-dma.sm
with few modifications.

Change-Id: I56141436eee1c8f62c2a0915fa3b63b83bbcbc9a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29914
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/protocol/GPU_VIPER.slicc
src/mem/ruby/protocol/MOESI_AMD_Base-dir.sm
src/mem/ruby/protocol/MOESI_AMD_Base-dma.sm [new file with mode: 0644]
src/mem/ruby/protocol/MOESI_AMD_Base-msg.sm