-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New directed test for debug single-step on different HW loops scenarii. #2159
New directed test for debug single-step on different HW loops scenarii. #2159
Conversation
Signed-off-by: Pascal Gouedo <pascal.gouedo@dolphin.fr>
Signed-off-by: Pascal Gouedo <pascal.gouedo@dolphin.fr>
In order to compile this test-program I needed to do two things:
Please update the TOOLCHAIN markdown file to let users know of this requirement. The testcase compiles and run, but fails:
Is this expected? Perhaps I am using the wrong toolchain. |
Hi @MikeOpenHWGroup I don't know how to express that configuration restriction in test.yaml file of the test. |
Ah. that helped. I ran this command:
With the above, the compilation of the test-program used the MARCH value of
Yes, this is a known problem. We could add a "default_cfg" option to the |
I didn't say to use any cluster configuration 😏. In fact cluster configuration is making wfi act as a nop. The core is going to sleep mode using another instruction (cv.elw) together with pulp_clock_en_i input. By the way this new test is called pulp_hardware_loop_debug_test. make test SIMULATOR=vcs USE_ISS=NO CFG=pulp_fpu_zfinx TEST=pulp_hardware_loop_debug_test |
This also compiles and runs, but does not terminate. Of course, that does not affect any CI test is from my end it is OK to merge if you would like. So I have approved this PR, let me know if you want me to keep working on it. |
Strange. It stops correctly with questasim. |
For whatever reason, test is ok with vsim and xrun but not with vcs. |
Signed-off-by: Pascal Gouedo <pascal.gouedo@dolphin.fr>
Signed-off-by: Pascal Gouedo <pascal.gouedo@dolphin.fr>
Found the root cause! |
Wow, great catch @pascalgouedo. I should have caught the problem with |
No description provided.