Implement a decode/issue FSM between fetch and execute
authorCesar Strauss <cestrauss@gmail.com>
Fri, 26 Feb 2021 10:47:03 +0000 (07:47 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Fri, 26 Feb 2021 11:05:35 +0000 (08:05 -0300)
commit3f2ed63ccdeefdaa601ecedea9c663a7e446f607
tree5df8a919cc5aedbd0085fa4a0be9b8f03b918df5
parenta7e139ffa709995dc16dd7eccc7ca4b9c0f2ef11
Implement a decode/issue FSM between fetch and execute

The idea is for it to:
* keep looping "fetch" while VL==0 on a vector instruction.
* keep looping "execute" while SRCSTEP != VL-1.
* unless PC/SVSTATE was modified by "execute", in that case do go back
to "fetch".
* update PC and SRCSTEP accordingly.
src/soc/simple/issuer.py