mem-ruby: expose transition info to actions
authorTiago Mück <tiago.muck@arm.com>
Thu, 16 Jul 2020 16:14:40 +0000 (11:14 -0500)
committerTiago Mück <tiago.muck@arm.com>
Mon, 12 Oct 2020 14:09:55 +0000 (14:09 +0000)
commit60df5a4d4438d9b1859a0cd9c5f121d86ce01897
treea8fcd530b29b729f8251882fcf9985ba547f84a0
parent64a3e28852fa0287f463cb3cef20be8f8a0af565
mem-ruby: expose transition info to actions

SLICC compiler generates the curTransitionEvent and
curTransitionNextState functions, which allows actions to check which
event triggered the current transition and what's the next state.

Change-Id: I79c8c4f2839633b7fb3b23cbbdbb32f25db90eab
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31420
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/slicc/symbols/StateMachine.py