dev: Add a new RegisterBank which helps handle device registers.
authorGabe Black <gabe.black@gmail.com>
Wed, 21 Oct 2020 03:03:13 +0000 (20:03 -0700)
committerGabe Black <gabe.black@gmail.com>
Sun, 1 Nov 2020 13:08:26 +0000 (13:08 +0000)
commit5c548ad30e60eb0ba46da305e5ec18d193fec881
tree03bc60c8bcb15ca995f1077828ca617817929ab0
parentd05a0a4ea121aa69715e5049997a64fa24cd94f4
dev: Add a new RegisterBank which helps handle device registers.

This change includes both the RegisterBank class and register classes,
and a unit test which exercises them.

Change-Id: I28ef0c0b9192ad786625ac83f096f69d8e5af00f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35856
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/SConscript
src/dev/reg_bank.hh [new file with mode: 0644]
src/dev/reg_bank.test.cc [new file with mode: 0644]