Software APIs
sw
device
tests
sim_dv
lc_ctrl_transition_test.c
1
// Copyright lowRISC contributors (OpenTitan project).
2
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3
// SPDX-License-Identifier: Apache-2.0
4
5
#include <
stdbool.h
>
6
7
#include "
sw/device/lib/testing/test_framework/ottf_main.h
"
8
#include "sw/device/tests/sim_dv/lc_ctrl_transition_impl.h"
9
10
OTTF_DEFINE_TEST_CONFIG();
11
12
// Track the value of the external clock enable CSR written by software.
13
static
volatile
const
uint8_t kExternalClockEnable = 0x0;
14
15
bool
test_main
(
void
) {
16
return
execute_lc_ctrl_transition_test(
/*use_ext_clk=*/
kExternalClockEnable);
17
}
Return to
OpenTitan Documentation