blob: 7ecbe27eaf3446caee7be3912c370dcca0397025 [file] [log] [blame]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Random number generator.
sw_lib_testing_rand_testutils = declare_dependency(
link_with: static_library(
'sw_lib_testing_rand_testutils',
sources: ['rand_testutils.c'],
)
)
# hardware entropy complex (entropy_src, csrng, edn) test utilities.
sw_lib_testing_entropy_testutils = declare_dependency(
link_with: static_library(
'sw_lib_testing_entropy_testutils',
sources: [
hw_ip_edn_reg_h,
'entropy_testutils.c'
],
dependencies: [
sw_lib_mmio,
sw_lib_dif_entropy_src,
sw_lib_dif_csrng,
top_earlgrey,
],
),
)
sw_lib_testing_rv_plic_testutils = declare_dependency(
link_with: static_library(
'sw_lib_testing_rv_plic_testutils',
sources: [
hw_ip_edn_reg_h,
'rv_plic_testutils.c'
],
dependencies: [
sw_lib_dif_rv_plic,
sw_lib_runtime_log,
sw_lib_testing_rand_testutils,
],
),
)
subdir('test_framework')