Bug 743 - TestIssuer does not terminate in svp64 mode test_issuer_svp64.py
Summary: TestIssuer does not terminate in svp64 mode test_issuer_svp64.py
Status: CONFIRMED
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- enhancement
Assignee: Luke Kenneth Casson Leighton
URL:
Depends on:
Blocks:
 
Reported: 2021-11-08 11:30 GMT by Luke Kenneth Casson Leighton
Modified: 2021-11-08 11:31 GMT (History)
2 users (show)

See Also:
NLnet milestone: ---
total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0
parent task for budget allocation:
child tasks for budget allocation:
The table of payments (in EUR) for this task; TOML format:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Kenneth Casson Leighton 2021-11-08 11:30:46 GMT
in commit f25faf58a3ed81 the test runner was converted to a new API
which, instead of running single-step concurrently HDL-Simulator instruction 1,
HDL-Simulator instruction 2, .... it is now HDL instruction 1, HDL instruction 2
... followed separately by Simulator instruction 1, Simulator instruction 2 ...

HDL in SVP64 is not correctly detecting a terminating condition, instead
entering a permanent loop.  test_runner.py:

            terminated = yield self.issuer.dbg.terminated_o

this is never being set (in svp64 mode) and therefore the HDL simulation
never terminates.