-
Notifications
You must be signed in to change notification settings - Fork 781
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SiVal, pwm] Add testplan with pwm_smoketest
Signed-off-by: Douglas Reis <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: [] | ||
} | ||
] | ||
} |