Create a new signal for the Simulator to wait on
authorCesar Strauss <cestrauss@gmail.com>
Tue, 9 Mar 2021 10:49:03 +0000 (07:49 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Tue, 9 Mar 2021 10:55:36 +0000 (07:55 -0300)
commitc2ea3f4a716cd533206ade022d9227f56197fa0c
tree0ecd362b85181b7886dea5d61f1464a5d20e0ab0
parent43afbcb5eea6ca0dc177100e5a56f7afee948660
Create a new signal for the Simulator to wait on

We wait on "core busy" before simulating an instruction. Trouble is, on a
VL==0 loop, there is no issue, so busy is never toggled. As a solution,
export a new insn_done signal with is pulsed either at end of Execute, or
when going back to Fetch due to skipping a vector instruction.
src/soc/simple/issuer.py
src/soc/simple/test/test_runner.py