Skip to content

Commit

Permalink
[SiVal, pwm] Add testplan with pwm_smoketest
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Reis <[email protected]>
  • Loading branch information
engdoreis committed Nov 25, 2024
1 parent 6e03389 commit ab18b53
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions hw/top_earlgrey/data/ip/chip_pwm_testplan.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright lowRISC contributors (OpenTitan project).
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
{
name: pwm
testpoints: [
{
name: chip_sw_pwm_smoketest
desc: '''Verify that the PWM outputs correct wave.

- Program the PWM to output waves of 1kHz, 5kHz and 10kHz.
- Program the duty cycle to 0%, 20%, 50%, 90%, and 100%.
- The test harness should check that the frequency and duty cicle is correct.
'''
features:["PWM.DUTYCYCLE", "PWM.CLOCKDIVIDER"]
stage: V3
si_stage: SV3
lc_states: ["PROD"]
tests: []
bazel: []
}
]
}

0 comments on commit ab18b53

Please sign in to comment.