-
Notifications
You must be signed in to change notification settings - Fork 815
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
[spi_host/rtl] Fix sd_en_o
of spi_host_fsm
#24500
Conversation
This change looks correct to me, to remove the glitch potential on
Thanks for running this full regression. I presume the results didn't raise any new breakage? |
Correct; I've updated the PR description. |
3a624f1
to
3ab7f8f
Compare
I changed this PR to no longer be an ECO but the proper / long-term fix on |
This reverts commit 7eb53da, which introduced a glitch on the `sd_en_o` output of `spi_host_fsm`. Signed-off-by: Andreas Kurth <adk@lowrisc.org>
3ab7f8f
to
661b833
Compare
Update: the ECO fix got confirmed by the PD team and the corresponding PR was merged in the release branch. I've now rebased this PR to retrigger CI and merge it afterwards. |
CHANGE AUTHORIZED: hw/ip/spi_host/rtl/spi_host_fsm.sv This is an RTL change inline with the confirmed ECO (#24501). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @andreaskurth !
I've now triggered a block-level regression and will feed back the results here.
CHANGE AUTHORIZED: hw/ip/spi_host/rtl/spi_host_fsm.sv RTL change to master which is a counterpart to the confirmed |
This reverts commit 7eb53da, which introduced a glitch on the
sd_en_o
output ofspi_host_fsm
.This is not an ECO -- the ECO on the
earlgrey_1.0.0
branch is in PR #24501. This PR makes the long-term fix tomaster
.This resolves #24631.
Regression Results
Simulator: XCELIUM
Test Results
Coverage Results
Coverage Dashboard
Failure Buckets
UVM_FATAL (csr_utils_pkg.sv:611) [csr_utils::csr_spinwait] timeout spi_host_reg_block.status.rxempty (addr=*, Comparison=CompareOpEq, exp_data=*, call_count=2)
has 6 failures:0.spi_host_upper_range_clkdiv.41767442353741875835931179648358720724892039760032609011138851629136922533015\
Line 118, in log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/0.spi_host_upper_range_clkdiv/latest/run.log
=0x0, call_count=2)
UVM_INFO @ 100001514930 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
--- UVM Report catcher Summary ---
=0x0, call_count=2)
UVM_INFO @ 100002964306 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
--- UVM Report catcher Summary ---
0x0, call_count=2)
UVM_INFO @ 10000912298 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
--- UVM Report catcher Summary ---
Job timed out after * minutes
has 1 failures:2.spi_host_upper_range_clkdiv.106191281816732251633055552225598218222312888967481446537200291588678511721240\
Log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/2.spi_host_upper_range_clkdiv/latest/run.log
UVM_FATAL (csr_utils_pkg.sv:611) [csr_utils::csr_spinwait] timeout spi_host_reg_block.status.ready (addr=*, Comparison=CompareOpEq, exp_data=*, call_count=77)
has 1 failures:8.spi_host_status_stall.7976305311779925798410167447233672542085901160009957266227934868581453759047\
Line 661, in log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/8.spi_host_status_stall/latest/run.log
1, call_count=77)
UVM_INFO @ 10390175697 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
--- UVM Report catcher Summary ---
UVM_FATAL (csr_utils_pkg.sv:611) [csr_utils::csr_spinwait] timeout spi_host_reg_block.status.rxempty (addr=*, Comparison=CompareOpEq, exp_data=*, call_count=30)
has 1 failures:10.spi_host_sw_reset.31922487595062807935629800711462886856678771030896593510817784284043776178055\
Line 235, in log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/10.spi_host_sw_reset/latest/run.log
0x0, call_count=30)
UVM_INFO @ 10031274595 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
--- UVM Report catcher Summary ---
UVM_FATAL (csr_utils_pkg.sv:611) [csr_utils::csr_spinwait] timeout spi_host_reg_block.status.ready (addr=*, Comparison=CompareOpEq, exp_data=*, call_count=97)
has 1 failures:21.spi_host_status_stall.15523319771735123301902791637390013838533250398942658694464374721772107438078
Line 769, in log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/21.spi_host_status_stall/latest/run.log
UVM_FATAL (csr_utils_pkg.sv:611) [csr_utils::csr_spinwait] timeout spi_host_reg_block.status.rxempty (addr=*, Comparison=CompareOpEq, exp_data=*, call_count=35)
has 1 failures:22.spi_host_sw_reset.12520173052350117266462733467279026315518978058988191549369662463086310717325
Line 243, in log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/22.spi_host_sw_reset/latest/run.log
UVM_FATAL (uvm_phase.svh:1521) [PH_TIMEOUT] Explicit timeout of * ps hit, indicating a probable testbench issue
has 1 failures:24.spi_host_smoke.87046963849190680649764514782609089628698015661253771763324272814076364208842
Line 757, in log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/24.spi_host_smoke/latest/run.log
UVM_FATAL (csr_utils_pkg.sv:611) [csr_utils::csr_spinwait] timeout spi_host_reg_block.status.ready (addr=*, Comparison=CompareOpEq, exp_data=*, call_count=86)
has 1 failures:40.spi_host_status_stall.51463953135159322352797777624573255486546398636443659054607011418224865465530
Line 725, in log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/40.spi_host_status_stall/latest/run.log
UVM_FATAL (csr_utils_pkg.sv:611) [csr_utils::csr_spinwait] timeout spi_host_reg_block.status.ready (addr=*, Comparison=CompareOpEq, exp_data=*, call_count=82)
has 1 failures:43.spi_host_status_stall.51928236661722000903636025797588341102625815289564250533007755451431202482383
Line 722, in log /home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium/43.spi_host_status_stall/latest/run.log
INFO: [FlowCfg] [scratch_path]: [spi_host] [/home/dev/src/scratch/spi_host_fsm-fix/spi_host-sim-xcelium]
ERROR: [dvsim] Errors were encountered in this run.
00:00:29 [ build ]: [Q: 0, D: 0, P: 2, F: 0, K: 0, T: 2] 100%
01:41:58 [ run ]: [Q: 0, D: 0, P: 826, F: 13, K: 1, T: 840] 100%
01:42:07 [ cov_merge ]: [Q: 0, D: 0, P: 1, F: 0, K: 0, T: 1] 100%
01:42:16 [ cov_report ]: [Q: 0, D: 0, P: 1, F: 0, K: 0, T: 1] 100%