Software APIs
sw
device
lib
dif
dif_rom_ctrl_unittest.cc
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 "
sw/device/lib/dif/dif_rom_ctrl.h
"
6
7
#include "gtest/gtest.h"
8
#include "
sw/device/lib/base/mmio.h
"
9
#include "sw/device/lib/base/mock_mmio.h"
10
#include "
sw/device/lib/dif/dif_test_base.h
"
11
12
extern
"C"
{
13
#include "rom_ctrl_regs.h"
// Generated.
14
}
// extern "C"
15
16
namespace
dif_rom_ctrl_test {
17
namespace
{
18
using
mock_mmio::MmioTest
;
19
using
mock_mmio::MockDevice
;
20
using
testing::Test;
21
22
// TODO: Add unit tests.
23
24
}
// namespace
25
}
// namespace dif_rom_ctrl_test
Return to
OpenTitan Documentation