text
stringlengths
183
150k
path
stringlengths
15
112
bucket
stringclasses
4 values
source
stringclasses
14 values
group
stringclasses
121 values
spdx
stringclasses
11 values
repo_license
stringclasses
11 values
commit
stringclasses
13 values
lang
stringclasses
4 values
def_heavy
bool
1 class
comment_ratio
float64
0
1
restricted
bool
2 classes
fresh
bool
1 class
n_bytes
int64
183
150k
n_tokens
int64
-1
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_BASE_PERSO_TLV_DATA_V0_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_BASE_PERSO_TLV_DATA_V0_...
opentitan/sw/device/silicon_creator/manuf/base/perso_tlv_data_v0.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.375
false
false
2,985
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/boot_svc/boot_svc_min_bl0_sec_ver.h" #include "sw/device/silicon_creator/lib/error.h" void boot_svc_min_bl0...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_min_bl0_sec_ver.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.238
false
false
1,087
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_KMAC_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_KMAC_H_ /** * @file * @brief <a href="/book/hw/ip/kmac/">K...
opentitan/sw/device/lib/dif/dif_kmac.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.771
false
false
28,442
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package rv_timer_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import csr_utils_pkg::*; import t...
opentitan/hw/ip/rv_timer/dv/env/rv_timer_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.279
false
false
1,831
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/drivers/ast.h" #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/...
opentitan/sw/device/silicon_creator/lib/drivers/ast.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.295
false
false
3,288
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_BOOT_MEASUREMENTS_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_BOOT_MEASUREMENTS_H_ ...
opentitan/sw/device/silicon_creator/lib/base/boot_measurements.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.744
false
false
1,477
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_CSR_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_CSR_H_ #include <assert.h> #include <stdbool.h> #include <stdint.h>...
opentitan/sw/device/lib/base/csr.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.673
false
false
5,721
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Will generate a few messages to process // will clear the read data and make sure read data // is no longer present. // scoreboard is disabled fo...
opentitan/hw/ip/aes/dv/env/seq_lib/aes_deinit_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.2
false
false
3,462
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/tests/penetrationtests/firmware/sca/cryptolib_sca_asym.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/st...
opentitan/sw/device/tests/penetrationtests/firmware/sca/cryptolib_sca_asym.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.172
false
false
32,608
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/dif/dif_kmac.h" #include <assert.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/macros.h" #includ...
opentitan/sw/device/lib/dif/dif_kmac.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.186
false
false
35,195
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT_SVC_ENTER_RESCUE_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT_SVC_E...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_enter_rescue.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.639
false
false
2,521
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package hmac_test_pkg; // dep packages import uvm_pkg::*; import cip_base_pkg::*; import hmac_env_pkg::*; // macro includes `include "uv...
opentitan/hw/ip/hmac/dv/tests/hmac_test_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
459
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_base_seq extends dv_base_seq #( .REQ (spi_item), .CFG_T (spi_agent_cfg), .SEQUENCER_T (spi_sequencer) ); `uvm...
opentitan/hw/dv/sv/spi_agent/seq_lib/spi_base_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
481
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Run chip csr_rw sequence via JTAG RV_DM interface. class chip_jtag_csr_rw_vseq extends chip_common_vseq; `uvm_object_utils(chip_jtag_csr_rw_vseq...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_jtag_csr_rw_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.245
false
false
2,554
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 module rram_ctrl_bind; bind rram_ctrl tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( .clk_i, .rst_ni, .h2d (core...
opentitan/hw/ip/rram_ctrl/dv/sva/rram_ctrl_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
529
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_CRYPTOLIB_SCA_SYM_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_...
opentitan/sw/device/tests/penetrationtests/firmware/sca/cryptolib_sca_sym.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.921
false
false
8,230
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_HW_IP_AES_DV_AES_MODEL_DPI_AES_MODEL_DPI_H_ #define OPENTITAN_HW_IP_AES_DV_AES_MODEL_DPI_AES_MODEL_DPI_H_ #include "svdpi.h" #ifd...
opentitan/hw/ip/aes/dv/aes_model_dpi/aes_model_dpi.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.804
false
false
6,919
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This test runs a number of different virtual sequences back-to-back to cover a wider // gamut of stimulus. // class i2c_target_stress_all_vseq ext...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_target_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.287
false
false
4,282
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_ENTROPY_SRC_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_ENTROPY_SRC_H_ #include "datatypes.h" ...
opentitan/sw/device/lib/crypto/include/entropy_src.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.877
false
false
2,635
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Derived from code in the SPHINCS+ reference implementation (CC0 license): // https://github.com/sphincs/sphincsplus/blob/7ec789ace6874d875f4bb84...
opentitan/sw/device/silicon_creator/lib/sigverify/sphincsplus/sha2.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.78
false
false
1,896
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <assert.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/memory.h" #include "sw...
opentitan/sw/device/tests/pmod/i2c_host_hdc1080_humidity_temp_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.252
false
false
4,594
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/macros.h" #include "sw/device/lib/crypto/include/config.h" #include "sw/device/lib/crypto/include/cryptolib_build_info.h...
opentitan/sw/device/tests/crypto/aes_kwp_sideload_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.366
false
false
5,791
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // sha3_pkg package sha3_pkg; // StateW represents the width of Keccak state variable. // As Sha3 assume the state value as 1600, this should...
opentitan/hw/ip/kmac/rtl/sha3_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.563
false
false
10,418
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BOARDS_TEACUP_V1_3_0_LEDS_H_ #define OPENTITAN_SW_DEVICE_LIB_BOARDS_TEACUP_V1_3_0_LEDS_H_ #include "sw/device/lib/ba...
opentitan/sw/device/lib/boards/teacup_v1_3_0/leds.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.567
false
false
3,137
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Used to track instruction counts `include "prim_assert.sv" interface otbn_insn_cnt_if ( input clk_i, input rst_n...
opentitan/hw/ip/otbn/dv/uvm/env/otbn_insn_cnt_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
1,720
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module prim_flop_en #( parameter int Width = 1, parameter bit EnSecBuf = 0, param...
opentitan/hw/ip/prim_asap7/rtl/prim_flop_en.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.082
false
false
1,476
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // module tb; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import pattgen_env_pkg::*; import pattgen_test_pkg::*; import pat...
opentitan/hw/ip/pattgen/dv/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.164
false
false
2,716
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_HW_DV_DPI_COMMON_TCP_SERVER_TCP_SERVER_H_ #define OPENTITAN_HW_DV_DPI_COMMON_TCP_SERVER_TCP_SERVER_H_ /** * Functions to create a...
opentitan/hw/dv/dpi/common/tcp_server/tcp_server.h
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.85
false
false
1,936
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module rom_ctrl import rom_ctrl_reg_pkg::NumAlerts; import prim_rom_pkg::rom_cfg_req_t; import prim_rom_pkg::rom_cfg...
opentitan/hw/ip/rom_ctrl/rtl/rom_ctrl.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.251
false
false
27,472
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // USB device test // // This test is a stripped down version of the hello_usbdev example application. // It requires interaction with the USB DPI ...
opentitan/sw/device/tests/usbdev_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.451
false
false
5,354
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package jtag_agent_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import dv_base_agent_pkg::*; import dv_lib_pkg::*; imp...
opentitan/hw/dv/sv/jtag_agent/jtag_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.159
false
false
2,322
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/cert/dice_chain.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/lib/base/macros.h" #include ...
opentitan/sw/device/silicon_creator/lib/cert/dice_chain.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.359
false
false
24,527
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/rescue/rescue.h" #include "hw/top/dt/aon_timer.h" #include "hw/top/dt/api.h" #include "hw/top/dt/rstmgr.h" #...
opentitan/sw/device/silicon_creator/lib/rescue/rescue.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.198
false
false
17,999
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class pattgen_base_test extends cip_base_test #(.CFG_T(pattgen_env_cfg), .ENV_T(pattgen_env)); `uvm...
opentitan/hw/ip/pattgen/dv/tests/pattgen_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.444
false
false
852
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Derived from code in the SPHINCS+ reference implementation (CC0 license): // https://github.com/sphincs/sphincsplus/blob/ed15dd78658f63288c7492c...
opentitan/sw/device/silicon_creator/lib/sigverify/sphincsplus/wots.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.882
false
false
1,454
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "lc_ctrl_base_vseq.sv" `include "lc_ctrl_smoke_vseq.sv" `include "lc_ctrl_common_vseq.sv" `include "lc_ctrl_errors_vseq.sv" `include "lc_ctr...
opentitan/hw/ip/lc_ctrl/dv/env/seq_lib/lc_ctrl_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
892
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/rom/rom_epmp.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/csr.h" #include "sw/device...
opentitan/sw/device/silicon_creator/rom/rom_epmp.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.304
false
false
8,479
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/dif/dif_flash_ctrl.h" #include "sw/device/lib/d...
opentitan/sw/device/tests/flash_ctrl_rma_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.222
false
false
4,959
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_OTP_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_OTP_H_ #include <stddef.h> #i...
opentitan/sw/device/silicon_creator/lib/drivers/otp.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.863
false
false
4,521
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/runtime/hart.h" #include <stdbool.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/math.h" #include "...
opentitan/sw/device/lib/runtime/hart.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.435
false
false
783
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class aes_clear_test extends aes_base_test; `uvm_component_utils(aes_clear_test) `uvm_component_new virtual function void build_phase(uvm_ph...
opentitan/hw/ip/aes/dv/tests/aes_clear_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.1
false
false
1,528
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/tests/penetrationtests/firmware/sca/hkdf_otbn_sca.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/status....
opentitan/sw/device/tests/penetrationtests/firmware/sca/hkdf_otbn_sca.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.055
false
false
13,981
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/math.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/crypto/impl/sha2/sha256.h" #include "sw/device/li...
opentitan/sw/device/tests/crypto/cryptotest/firmware/hash_otbn.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.147
false
false
8,417
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/rom_ext/e2e/boot_svc/boot_svc_test_lib.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/...
opentitan/sw/device/silicon_creator/rom_ext/e2e/boot_svc/boot_svc_test_lib.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.265
false
false
1,607
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This interface enables hardening tests that expect to use the external clock by sampling an ast // external clock enable signal. interface ast_ext...
opentitan/hw/top_earlgrey/dv/env/ast_ext_clk_if.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.393
false
false
1,674
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // csr reset and read/write test vseq class usbdev_csr_test_vseq extends usbdev_common_vseq; `uvm_object_utils(usbdev_csr_test_vseq) `uvm_object...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_csr_test_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.364
false
false
458
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_BOOT_POLICY_PTRS_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_BOOT_POLICY_PTRS_H_ #include "sw...
opentitan/sw/device/silicon_creator/rom/boot_policy_ptrs.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.689
false
false
1,600
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Implements functional coverage for spi_host interface spi_host_cov_if ( input logic clk_i ); import uvm_pkg::*; import spi_host_pk...
opentitan/hw/ip/spi_host/dv/cov/spi_host_cov_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.421
false
false
584
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class pwm_monitor extends dv_base_monitor #( .ITEM_T (pwm_item), .CFG_T (pwm_monitor_cfg) ); `uvm_component_utils(pwm_monitor) // All...
opentitan/hw/dv/sv/pwm_monitor/pwm_monitor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.369
false
false
9,439
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Testbench module for spid_jedec module spid_upload_tb; import spi_device_pkg::*; import spid_common::*; localparam time ClkPeriod = 10...
opentitan/hw/ip/spi_device/pre_dv/tb/spid_upload_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.121
false
false
19,916
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rv_dm_abstractcmd_status_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_abstractcmd_status_vseq) `uvm_object_new // The expected ...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_abstractcmd_status_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.261
false
false
1,153
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_aon_timer.h" #include "sw/device/lib/dif/dif_gpio.h" #include "sw/device/lib/dif...
opentitan/sw/device/tests/spi_device_sleep_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.154
false
false
9,756
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Backdoor interface that can be bound into an OTBN register file and exports a function to peek at // the memory contents. `ifndef SYNTHESIS inter...
opentitan/hw/ip/otbn/dv/model/otbn_rf_snooper_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.237
false
false
1,668
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_RSA_VERIFY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_RSA_VERIFY_H_ #inc...
opentitan/sw/device/silicon_creator/lib/sigverify/rsa_verify.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.727
false
false
2,152
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // basic error_intr test vseq // - start sending transaction and concurrently check the occurrence of error irqs // such as sda_interference, scl_i...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_host_error_intr_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.244
false
false
3,267
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class entropy_src_xht_device_driver extends dv_base_driver #( .ITEM_T(entropy_src_xht_item), .CFG_T (entropy_src_xht_agent_cfg) ); `uvm_co...
opentitan/hw/dv/sv/entropy_src_xht_agent/entropy_src_xht_device_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.1
false
false
1,035
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Pseudo driver to access CSR via JTAG TAP class jtag_riscv_driver extends dv_base_driver #(jtag_riscv_item, jtag_riscv_agent_cfg); protected bit ...
opentitan/hw/dv/sv/jtag_riscv_agent/jtag_riscv_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.183
false
false
8,766
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module mbx import tlul_pkg::*; import mbx_reg_pkg::*; #( parameter logic [NumAlerts-1:0] AlertAsyncOn ...
opentitan/hw/ip/mbx/rtl/mbx.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
22,607
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/macros.h" #include "sw/device/lib/crypto/impl/keyblob.h" #include "sw/device/lib/crypto/include/aes.h" #include "sw/devi...
opentitan/sw/device/tests/crypto/aes_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.235
false
false
16,581
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_CRYPTO_AES_GCM_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_AES_GCM_TESTUTILS_H_ #include <stdbool.h> #i...
opentitan/sw/device/tests/crypto/aes_gcm_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.737
false
false
2,413
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This module encodes a single bit signal to a differentially encoded signal. // // In case the differential pair crosses an asynchronous boundary...
opentitan/hw/ip/prim/rtl/prim_diff_encode.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
1,434
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_CRYPTOLIB_BUILD_INFO_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_CRYPTOLIB_BUILD_INFO_H_ #inclu...
opentitan/sw/device/lib/crypto/drivers/cryptolib_build_info.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.75
false
false
1,637
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A sequence that injects different types of errors into the internal handshake on secure wipes // between the controller and the start-stop control...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_sec_wipe_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.268
false
false
6,063
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_PROFILE_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_PROFILE_H_ #include <stdint.h> #ifdef __cplusplus extern...
opentitan/sw/device/lib/testing/profile.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.898
false
false
1,609
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package pattgen_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import csr_utils_pkg::*; import dv...
opentitan/hw/ip/pattgen/dv/env/pattgen_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.192
false
false
1,628
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class push_pull_monitor #(parameter int HostDataWidth = 32, parameter int DeviceDataWidth = HostDataWidth) extends dv_rea...
opentitan/hw/dv/sv/push_pull_agent/push_pull_monitor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.236
false
false
5,922
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This is essentially the same as cip_lc_tx_cov_if, except that it allows a bundle of lc_tx values // in a single port and instantiates a copy of ci...
opentitan/hw/ip/lc_ctrl/dv/cov/lc_tx_cov_array_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
603
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Assertions that can be bound in to an instance of the prim_diff_decode module module prim_diff_decode_assert_fpv #( parameter bit AsyncOn = 1...
opentitan/hw/ip/prim/fpv/vip/prim_diff_decode_assert_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
884
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Hardened AND operation for life cycle values. To be used instead of lc_tx_and_*() if the output // signal must always be rectified (i.e. either ...
opentitan/hw/ip/prim/rtl/prim_lc_and_hardened.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.316
false
false
2,069
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class edn_disable_auto_req_mode_test extends edn_base_test; `uvm_component_utils(edn_disable_auto_req_mode_test) `uvm_component_new function ...
opentitan/hw/ip/edn/dv/tests/edn_disable_auto_req_mode_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
781
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This #if define ... ensures backwards compatibility with darjeeling. Either // both tops will get their own testutils or this define guard can be ...
opentitan/sw/device/lib/testing/keymgr_dpe_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.25
false
false
19,140
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class edn_genbits_vseq extends edn_base_vseq; `uvm_object_utils(edn_genbits_vseq) `uvm_object_new push_pull_host_seq#(edn_pkg::FIPS_ENDPOINT_B...
opentitan/hw/ip/edn/dv/env/seq_lib/edn_genbits_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.144
false
false
10,347
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_base.h" #include "sw/device/lib/dif/dif_p...
opentitan/sw/device/tests/spi_device_tpm_tx_rx_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.218
false
false
8,870
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module prim_rom import prim_rom_pkg::*; #( parameter int Width = 32, parameter int Depth = 2048, // 8kB ...
opentitan/hw/ip/prim_xilinx/rtl/prim_rom.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.138
false
false
2,106
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/crypto/include/ecc_p384.h" #include "sw/device/lib/base/hardened_memory.h" #include "sw/device/lib/crypto/drivers/hmac.h" #i...
opentitan/sw/device/lib/crypto/impl/ecc_p384.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.252
false
false
49,246
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // We are enclosing covergroups inside class so that we can // take avoid tool limitation of not allowing arrays of covergroup // Refer to Issue#375 ...
opentitan/hw/ip/rv_timer/dv/env/rv_timer_env_cov.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.202
false
false
4,533
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Keccak state read and write `include "prim_assert.sv" module kmac_staterdwr import kmac_pkg::*; #( // TL-UL Address Width. Should be bigge...
opentitan/hw/ip/kmac/rtl/kmac_staterdwr.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.205
false
false
4,738
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class edn_base_test extends cip_base_test #( .CFG_T(edn_env_cfg), .ENV_T(edn_env) ); `uvm_component_utils(edn_base_test) `uvm_componen...
opentitan/hw/ip/edn/dv/tests/edn_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
1,380
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_KEYBLOB_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_KEYBLOB_H_ #include "sw/device/lib/crypto/drivers...
opentitan/sw/device/lib/crypto/impl/keyblob.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.803
false
false
8,710
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 module uartdpi #( parameter integer BAUD = 'x, parameter integer FREQ = 'x, parameter string NAME = "uart0", parameter ...
opentitan/hw/dv/dpi/uartdpi/uartdpi.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.075
false
false
4,155
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_HKDF_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_HKDF_H_ #include "datatypes.h" /** * @file ...
opentitan/sw/device/lib/crypto/include/hkdf.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.874
false
false
4,639
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // SPI Device Flash Read command SRAM request/rsp /* spid_readsram module is a submodule of the read command process block. Its main purpose i...
opentitan/hw/ip/spi_device/rtl/spid_readsram.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.272
false
false
10,744
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rv_dm_jtag_dmi_dm_inactive_vseq extends rv_dm_common_vseq; `uvm_object_utils(rv_dm_jtag_dmi_dm_inactive_vseq) `uvm_object_new // Write r...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_jtag_dmi_dm_inactive_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
1,750
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_USB_TESTUTILS_CONTROLEP_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_USB_TESTUTILS_CONTROLEP_H_ #include <stdd...
opentitan/sw/device/lib/testing/usb_testutils_controlep.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.437
false
false
8,705
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" // Tile-Link UL to register interface adapter // // This module acts as a device, addressed through the TL-UL bus. It rece...
opentitan/hw/ip/tlul/rtl/tlul_adapter_reg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.404
false
false
11,606
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class i2c_base_test extends cip_base_test #(.ENV_T(i2c_env), .CFG_T(i2c_env_cfg)); `uvm_component_utils...
opentitan/hw/ip/i2c/dv/tests/i2c_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.308
false
false
1,325
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // readback_err_vseq class sram_ctrl_readback_err_vseq extends sram_ctrl_base_vseq; `uvm_object_utils(sram_ctrl_readback_err_vseq) // A tuple th...
opentitan/hw/ip/sram_ctrl/dv/env/seq_lib/sram_ctrl_readback_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.304
false
false
8,156
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Base class providing common methods required for DMA testing class dma_base_vseq extends cip_base_vseq #( .RAL_T (dma_reg_block), ...
opentitan/hw/ip/dma/dv/env/seq_lib/dma_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.187
false
false
39,327
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_STATUS_REPORT_UNITTEST_C_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_STATUS_REPORT_UNITTEST_C_H_ #include "sw/devic...
opentitan/sw/device/lib/base/status_report_unittest_c.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.824
false
false
583
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 interface rv_dm_if(input logic clk, input logic rst_n); import rv_dm_env_pkg::*; // Most of the signals in the interface are designed to be con...
opentitan/hw/ip/rv_dm/dv/env/rv_dm_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.426
false
false
2,373
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STDALIGN_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STDALIGN_H_ /** * @file * @brief C...
opentitan/sw/device/lib/base/freestanding/stdalign.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
684
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class pwm_item extends uvm_sequence_item; int monitor_id = 0; // for debugging purpose only int period = 0; // clks in a pulse cycle ...
opentitan/hw/dv/sv/pwm_monitor/pwm_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.186
false
false
2,146
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rng_driver extends dv_base_driver #(.ITEM_T(rng_item), .CFG_T (rng_agent_cfg)); `uvm_component_util...
opentitan/hw/dv/sv/rng_agent/rng_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.235
false
false
1,226
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/testing/test_framework/ottf_main.h" #include <assert.h> #include <stddef.h> #include "external/freertos/include/FreeRTOS.h"...
opentitan/sw/device/lib/testing/test_framework/ottf_main.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.455
false
false
8,276
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/runti...
opentitan/sw/device/silicon_creator/lib/drivers/retention_sram_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.403
false
false
2,863
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rv_timer_base_test extends cip_base_test #(.ENV_T(rv_timer_env), .CFG_T(rv_timer_env_cfg)); `uvm_component_utils(rv_timer_base_test) `uvm_c...
opentitan/hw/ip/rv_timer/dv/tests/rv_timer_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
520
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" /** * Tile-Link UL adapter with RACL support * * - It allows filtering TLUL requests based on their range using an allo...
opentitan/hw/ip/tlul/rtl/tlul_adapter_racl.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.21
false
false
5,096
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Basic test of AON/Wake module functionality. class usbdev_aon_wake_vseq extends usbdev_link_suspend_vseq; `uvm_object_utils(usbdev_aon_wake_vseq...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_aon_wake_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.399
false
false
7,718
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rv_dm_cmderr_busy_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_cmderr_busy_vseq) `uvm_object_new // Check that the busy field i...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_cmderr_busy_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.358
false
false
2,593
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class sysrst_ctrl_env_cfg extends cip_base_env_cfg #(.RAL_T(sysrst_ctrl_reg_block)); // ext component cfgs virtual sysrst_ctrl_if vif; virtual...
opentitan/hw/ip/sysrst_ctrl/dv/env/sysrst_ctrl_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.316
false
false
801
-1