Skip to content
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

Fix the gpio_stress_all with random reset #25657

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcelocarvalhoLowRisc
Copy link

New fix for the stress_all_gpio testcase with random reset. Basically included new if(reset) checks into the sequences to skip the flow when a reset comes, and replaced the wait_clks task to wait_clks_or_rst. This makes the gpio test pass with a reasonable number of seeds. It's a temporally fix until we have the reset agent on place.

@marcelocarvalhoLowRisc marcelocarvalhoLowRisc requested a review from a team as a code owner December 16, 2024 09:52
@marcelocarvalhoLowRisc marcelocarvalhoLowRisc requested review from matutem and removed request for a team December 16, 2024 09:52
@marcelocarvalhoLowRisc marcelocarvalhoLowRisc force-pushed the rnd_reset_debug branch 14 times, most recently from ada03cb to 245aab3 Compare December 16, 2024 12:07
@rswarbrick
Copy link
Contributor

Please could you squash all these commits together?

hw/ip/gpio/dv/env/seq_lib/gpio_intr_rand_pgm_vseq.sv Outdated Show resolved Hide resolved
hw/ip/gpio/dv/env/seq_lib/gpio_intr_rand_pgm_vseq.sv Outdated Show resolved Hide resolved
hw/ip/gpio/dv/env/seq_lib/gpio_intr_rand_pgm_vseq.sv Outdated Show resolved Hide resolved
hw/ip/gpio/dv/env/seq_lib/gpio_intr_rand_pgm_vseq.sv Outdated Show resolved Hide resolved
hw/ip/gpio/dv/env/seq_lib/gpio_smoke_vseq.sv Outdated Show resolved Hide resolved
hw/ip/gpio/dv/env/seq_lib/gpio_smoke_vseq.sv Outdated Show resolved Hide resolved
hw/ip/gpio/dv/env/seq_lib/gpio_smoke_vseq.sv Outdated Show resolved Hide resolved
hw/ip/gpio/dv/env/seq_lib/gpio_smoke_vseq.sv Outdated Show resolved Hide resolved
@marcelocarvalhoLowRisc
Copy link
Author

Thanks!

Updates to the sequences to replace the wait_clk to wait_clks_or_rst.
Signed-off-by: Marcelo Carvalho Faleiro de Almeida <[email protected]>

Removed new lines

Signed-off-by: Marcelo Carvalho Faleiro de Almeida <[email protected]>

Remove new lines

Just to fix the lint errors about new lines and spaces
Signed-off-by: Marcelo Carvalho Faleiro de Almeida <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants