mem-ruby: add wakeup_port statement
authorTiago Mück <tiago.muck@arm.com>
Fri, 28 Aug 2020 01:05:48 +0000 (20:05 -0500)
committerTiago Mück <tiago.muck@arm.com>
Fri, 12 Feb 2021 20:31:38 +0000 (20:31 +0000)
commitfc3832dfaaca3f4d830ff9a18dbeb0856fcacaf9
treec9b653e87febfc65cd0b70dd089e6721de54c86a
parentd789b75a98a9c84775cdb4bf8319045c0338104b
mem-ruby: add wakeup_port statement

While the wakeUpBuffers/wakeUpAllBuffers check all message buffers,
wakeup_port wakes up only the messages stalled on the specified port
and address. Usage is the same as the stall_and_wait statement, e.g.:

wakeup_port(reqInPort, addr);

Change-Id: I57dc77d574c0016ca55786ce16a73061a1d37f2e
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41155
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/ruby/slicc_interface/AbstractController.cc
src/mem/ruby/slicc_interface/AbstractController.hh
src/mem/slicc/ast/WakeupPortStatementAST.py [new file with mode: 0644]
src/mem/slicc/ast/__init__.py
src/mem/slicc/parser.py