You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The return value of qflex_step is wrong and also not ever used by flexus. The raised variable in the commit function (in CoreImpl.cpp) is always 0.
Steps to Reproduce
Run the timing model with any workload.
Expected Behavior
THe simulation proceeds normally.
Actual Behavior
QEMU cannot inform flexus about any exception it encounters.
Fix
When QEMU experiences an exception or an interrupt, the qflex_step function should return the correct exception code to flexus without further trying to execute any instruction, complying with the flow of flexus. Otherwise, qflex_step should return no exception. The return value should then be used to compare against the exception code calculated by flexus.
Flexus fix commit: 9f80df88, QEMU fix commit: 5a0e88ff.
The text was updated successfully, but these errors were encountered:
Description
The return value of
qflex_step
is wrong and also not ever used by flexus. Theraised
variable in thecommit
function (inCoreImpl.cpp
) is always 0.Steps to Reproduce
Run the timing model with any workload.
Expected Behavior
THe simulation proceeds normally.
Actual Behavior
QEMU cannot inform flexus about any exception it encounters.
Fix
When QEMU experiences an exception or an interrupt, the
qflex_step
function should return the correct exception code to flexus without further trying to execute any instruction, complying with the flow of flexus. Otherwise,qflex_step
should return no exception. The return value should then be used to compare against the exception code calculated by flexus.Flexus fix commit: 9f80df88, QEMU fix commit: 5a0e88ff.
The text was updated successfully, but these errors were encountered: