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 #include "sw/device/lib/base/hardened_memory.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/crypto/include/cryptolib_build_info.h"...
opentitan/sw/device/tests/crypto/cryptotest/firmware/x25519.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.146
false
false
10,363
-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_vseq extends cip_base_vseq #( .RAL_T (edn_reg_block), .CFG_T (edn_env_cfg), .COV_T ...
opentitan/hw/ip/edn/dv/env/seq_lib/edn_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.081
false
false
13,931
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // I3C PHY model. module i3c_phy #( parameter int unsigned NumSDALanes = 1 ) ( // Pull-up enables. // // Note: The pull-up resistances nee...
opentitan/hw/ip/i3c/rtl/i3c_phy.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.388
false
false
1,822
-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 enables the external clock running at slow speed. It checks // the expected frequencies via the clock count measurement feature. #inc...
opentitan/sw/device/tests/clkmgr_external_clk_src_for_sw_slow_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.643
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 module rom_ctrl_bind; bind rom_ctrl tlul_assert #( .EndpointType("Device") ) rom_tlul_assert_device ( .clk_i, .rst_ni, .h2d (ro...
opentitan/hw/ip/rom_ctrl/dv/sva/rom_ctrl_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.111
false
false
683
-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 dma_bind; // Bind assertion module to config interface bind dma tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( ....
opentitan/hw/ip/dma/dv/sva/dma_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.179
false
false
971
-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 "hw/top/dt/rv_core_ibex.h" // Generated #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/macros.h"...
opentitan/sw/device/lib/arch/device_sim_qemu.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.277
false
false
2,253
-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_cfg_regwen_test extends entropy_src_base_test; `uvm_component_utils(entropy_src_cfg_regwen_test) `uvm_component_new functio...
opentitan/hw/ip/entropy_src/dv/tests/entropy_src_cfg_regwen_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
425
-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_debug_disabled_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_jtag_dmi_debug_disabled_vseq) `uvm_object_new task a...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_jtag_dmi_debug_disabled_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.361
false
false
2,788
-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 tl_agent_pkg::*; import tl_agent_env_pkg::*; import tl_age...
opentitan/hw/dv/sv/tl_agent/dv/tb/tb.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.233
false
false
1,050
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Key manager dpe sideload key `include "prim_assert.sv" module keymgr_dpe_sideload_key import keymgr_dpe_pkg::*; #( parameter int Width = Key...
opentitan/hw/ip/keymgr_dpe/rtl/keymgr_dpe_sideload_key.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.104
false
false
1,422
-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 class is used for the test `chip_sw_csrng_lc_hw_debug_en_vseq_test. // Please refer to the testplan for more details regarding the OTP // ini...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_csrng_lc_hw_debug_en_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.224
false
false
2,846
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Multibit life cycle signal sender module. // // This module is instantiates a hand-picked flop cell // for each bit in the life cycle control si...
opentitan/hw/ip/prim/rtl/prim_lc_sender.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
2,233
-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/memory.h" #include "sw/device/lib/crypto/include/config.h" #include "sw/device/lib/crypto/include/cryptolib_build_info.h...
opentitan/sw/device/tests/crypto/rsa_3072_encryption_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.306
false
false
13,369
-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 tl_agent_base_test extends dv_base_test #(.ENV_T(tl_agent_env), .CFG_T(tl_agent_env_cfg)); `uvm_component_utils(tl_agent_base_test) `uvm_co...
opentitan/hw/dv/sv/tl_agent/dv/tests/tl_agent_base_test.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.429
false
false
363
-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 aes_idle_check import aes_reg_pkg::*; ( input logic clk_i, input logic rst_ni, inp...
opentitan/hw/ip/aes/dv/sva/aes_idle_check.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
663
-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_SPX_VERIFY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_SPX_VERIFY_H_ #inc...
opentitan/sw/device/silicon_creator/lib/sigverify/spx_verify.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.747
false
false
3,825
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // The spi_device_driver responds to bus transactions initiated by a SPI host, // and its responses depend on cfg.spi_func_mode. // // For SpiModeGen...
opentitan/hw/dv/sv/spi_agent/spi_device_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.179
false
false
6,220
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Suspend signaling (> 3ms of Idle state) is detected when Powered and when Active; exercise // both of these transitions. Bus Reset is also detecte...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_link_suspend_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.465
false
false
6,904
-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/memory.h" #include "sw/device/lib/dif/dif_sensor_ctrl.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/...
opentitan/sw/device/tests/ast_clk_outs_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.362
false
false
6,958
-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 rom_ctrl_env_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import dv_base_reg_pkg::*; import cip_base_pkg::*; ...
opentitan/hw/ip/rom_ctrl/dv/env/rom_ctrl_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.276
false
false
2,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_LIB_TESTING_ALERT_HANDLER_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_ALERT_HANDLER_TESTUTILS_H_ #include <stdb...
opentitan/sw/device/lib/testing/alert_handler_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.64
false
false
6,776
-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/memory.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_otp_ctrl.h" #include "sw/device/lib/runti...
opentitan/sw/device/tests/sim_dv/otp_ctrl_vendor_test_ecc_error_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.29
false
false
2,938
-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 dv_utils_pkg; // dep packages import uvm_pkg::*; import bus_params_pkg::*; // macro includes `include "dv_macros.svh" `ifdef UVM ...
opentitan/hw/dv/sv/dv_utils/dv_utils_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.22
false
false
13,636
-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_RRAM_CTRL_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_RRAM_CTRL_H_ #include <a...
opentitan/sw/device/silicon_creator/lib/drivers/rram_ctrl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.744
false
false
22,024
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // RRAM phy read module. rram_phy_rd consists of a three stage pipeline: // stage 1: read-buffer lookup, RRAM request // stage 2: descrambling // s...
opentitan/hw/ip/rram_ctrl/rtl/rram_phy_rd.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.28
false
false
28,376
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Directed test to check flash_ctrl.single_err_addr // Each round test insert one single bit error and capture the address from tb. // At the end of...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_serr_address_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.346
false
false
1,056
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Description: I2C finite state machine `include "prim_assert.sv" module i2c_target_fsm import i2c_pkg::*; #( parameter int unsigned AcqFifoDe...
opentitan/hw/ip/i2c/rtl/i2c_target_fsm.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.266
false
false
39,955
-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 prim_keccak. Intended to be used with a formal tool. module prim_keccak_tb #( parameter int Width = 1600 ) ( input ...
opentitan/hw/ip/prim/fpv/tb/prim_keccak_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.129
false
false
2,138
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Adapter to access JTAG DTM registers via JTAG. class jtag_dtm_reg_adapter extends uvm_reg_adapter; `uvm_object_utils(jtag_dtm_reg_adapter) //...
opentitan/hw/dv/sv/jtag_agent/jtag_dtm_reg_adapter.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.257
false
false
5,039
-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 has some assertions that check clock and main pd behavior at the top-level, // especially as it relates to the ast and pwrmgr interaction. in...
opentitan/hw/top_earlgrey/dv/sva/clk_ctrl_and_main_pd_sva_if.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.16
false
false
6,078
-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 serves as the interface to the `c_dpi` API by instantiating the function call as a // combinatorial block. The `c_dpi` output (data an...
opentitan/hw/ip/aes/pre_dv/aes_tb/rtl/aes_tb_c_dpi.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.095
false
false
5,194
-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_CLKMGR_EXTERNAL_CLK_SRC_FOR_SW_IMPL_H_ #define OPENTITAN_SW_DEVICE_TESTS_CLKMGR_EXTERNAL_CLK_SRC_FOR_SW_IMPL_H_ #i...
opentitan/sw/device/tests/clkmgr_external_clk_src_for_sw_impl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.933
false
false
757
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Environment config extended for variable filters tests class adc_ctrl_env_var_filters_cfg extends adc_ctrl_env_cfg; // If the bit is set then fi...
opentitan/hw/ip/adc_ctrl/dv/env/adc_ctrl_env_var_filter_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.356
false
false
5,238
-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_CRYPTOTEST_JSON_HASH_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_HASH_COMMANDS_H_ #...
opentitan/sw/device/tests/crypto/cryptotest/json/hash_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.468
false
false
1,947
-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 VBUS test // // Checks for the presence of VBUS from the host/DPI model, optionally checking // that VBUS is low initially when the test sta...
opentitan/sw/device/tests/usbdev_vbus_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.418
false
false
3,108
-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 checks the TX_STRETCH_CTRL feature. (CSR.CTRL.TX_STRETCH_CTRL_EN) // // This test stimulates read transfers from the Agent after filling...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_target_tx_stretch_ctrl_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.418
false
false
6,531
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Sequence for testing the 'link_out_err' interrupt. class usbdev_link_out_err_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_link_out_er...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_link_out_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.33
false
false
5,772
-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 chip_sw_rom_e2e_base_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_rom_e2e_base_vseq) `uvm_object_new virtual task connect_r...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_rom_e2e_base_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.208
false
false
2,432
-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 <limits.h> #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/base/math.h" #include ...
opentitan/sw/device/tests/sim_dv/pwrmgr_sysrst_ctrl_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.341
false
false
7,473
-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 <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/crc32.h" #include "sw/device/lib/crypto/drivers/entropy.h" #...
opentitan/sw/device/silicon_creator/manuf/base/sram_cp_provision_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.404
false
false
7,735
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Enhanced DV_ASSERT_CTRL which kills active assertions before disabling them `ifndef ADC_CTRL_DV_ASSERT_CTRL `define ADC_CTRL_DV_ASSERT_CTRL(LAB...
opentitan/hw/ip/adc_ctrl/dv/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.195
false
false
5,425
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Flash middle operation reset test. Send reset via power ready signal // in the middle of operation program, read, erase and erase suspend. class f...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_mid_op_rst_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.114
false
false
10,723
-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_OTBN_DV_TRACER_CPP_OTBN_TRACE_LISTENER_H_ #define OPENTITAN_HW_IP_OTBN_DV_TRACER_CPP_OTBN_TRACE_LISTENER_H_ #include <sstrea...
opentitan/hw/ip/otbn/dv/tracer/cpp/otbn_trace_listener.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.634
false
false
1,564
-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 triggers a TopEarlgreyAlertIdRstmgrFatalCnstyFault fault and checks // the expected behavior. The test strategy is to cause an unexpected chi...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_rstmgr_cnsty_fault_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.467
false
false
751
-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/edn_testutils.h" #include "sw/device/lib/dif/dif_csrng_shared.h" #include "sw/device/lib/dif/dif_edn.h" #include "sw...
opentitan/sw/device/lib/testing/edn_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.284
false
false
3,210
-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 PRIM_FLOP_MACROS_SV `define PRIM_FLOP_MACROS_SV ///////////////////////////////////// // Default Values for Macros below // ////////////////...
opentitan/hw/ip/prim/rtl/prim_flop_macros.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.338
false
false
3,576
-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 "csrng_base_vseq.sv" `include "csrng_smoke_vseq.sv" `include "csrng_common_vseq.sv" `include "csrng_cmds_vseq.sv" `include "csrng_stress_all...
opentitan/hw/ip/csrng/dv/env/seq_lib/csrng_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
452
-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 RV_DM jtag sequence to activate DM mode. class jtag_riscv_dm_activation_seq extends jtag_riscv_base_seq; `uvm_object_utils_begin(jtag_riscv_d...
opentitan/hw/dv/sv/jtag_riscv_agent/seq_lib/jtag_riscv_dm_activation_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.19
false
false
753
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // --------------------------------------------- // TileLink agent sequence library // --------------------------------------------- // Basic xbar T...
opentitan/hw/ip/tlul/generic_dv/env/seq_lib/xbar_tl_host_seq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.19
false
false
2,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_SILICON_CREATOR_LIB_ATTESTATION_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_ATTESTATION_H_ #include <stddef.h> #i...
opentitan/sw/device/silicon_creator/lib/attestation.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.706
false
false
1,042
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // AES main control // // This module controls the interplay of input/output registers and the AES cipher core. `include "prim_assert.sv" module ...
opentitan/hw/ip/aes/rtl/aes_control.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.122
false
false
34,117
-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 rom_ctrl_kmac_err_chk_vseq extends rom_ctrl_base_vseq; `uvm_object_utils(rom_ctrl_kmac_err_chk_vseq) `uvm_object_new extern task body(); ...
opentitan/hw/ip/rom_ctrl/dv/env/seq_lib/rom_ctrl_kmac_err_chk_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
1,084
-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 usbdev_setup_priority_over_stall_response_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_setup_priority_over_stall_response_vseq) ...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_setup_priority_over_stall_response_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.354
false
false
4,042
-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 key_sideload_agent_cov #( parameter type KEY_T = keymgr_dpe_pkg::hw_key_req_t ) extends dv_base_agent_cov #(key_sideload_agent_cfg#(KEY_T))...
opentitan/hw/dv/sv/key_sideload_agent/key_sideload_agent_cov.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.467
false
false
646
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // The scoreboard checks the jitter_an_o output, and processes CSR checks. // It also samples most functional coverage groups. class clkmgr_scoreboar...
opentitan/hw/top_darjeeling/ip_autogen/clkmgr/dv/env/clkmgr_scoreboard.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.082
false
false
9,505
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Binds csrng functional coverage interface to the top-level csrng module. module csrng_cov_bind; bind csrng csrng_cov_if u_csrng_cov_if (.*); ...
opentitan/hw/ip/csrng/dv/cov/csrng_cov_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.625
false
false
331
-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/manuf/lib/otp_fields.h" #include "sw/device/lib/base/bitfield.h" #define HW_CFG1_EN_OFFSET(m, i) ((bitfield_fie...
opentitan/sw/device/silicon_creator/manuf/lib/otp_fields.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.778
false
false
516
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Bidirectional IO buffer for Xilinx FPGAs. Implements inversion and // virtual open drain feature. `include "prim_assert.sv" module prim_pad_wr...
opentitan/hw/ip/prim_xilinx_ultrascale/rtl/prim_pad_wrapper.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.262
false
false
4,221
-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 <limits.h> #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base...
opentitan/sw/device/tests/pwrmgr_random_sleep_all_reset_reqs_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.284
false
false
4,824
-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_RUNTIME_IRQ_H_ #define OPENTITAN_SW_DEVICE_LIB_RUNTIME_IRQ_H_ #include <stdbool.h> #include <stdint.h> /** * Updat...
opentitan/sw/device/lib/runtime/irq.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.833
false
false
867
-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 runs a program multiple times and corrupts an integrity-checked signal while OTBN // is still running. class otbn_intg_err_vseq e...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_intg_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.287
false
false
5,102
-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 entropy_src_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import dv_lib_pkg::*; import t...
opentitan/hw/ip/entropy_src/dv/env/entropy_src_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.355
false
false
18,241
-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_VERILATOR_CPP_MEM_AREA_H_ #define OPENTITAN_HW_DV_VERILATOR_CPP_MEM_AREA_H_ #include <cstdint> #include <string> #include <v...
opentitan/hw/dv/verilator/cpp/mem_area.h
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.767
false
false
6,082
-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 chip_sw_ast_clk_rst_inputs_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_ast_clk_rst_inputs_vseq) `uvm_object_new localpara...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_ast_clk_rst_inputs_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.076
false
false
7,206
-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_target_stress_wr_vseq extends i2c_target_smoke_vseq; `uvm_object_utils(i2c_target_stress_wr_vseq) `uvm_object_new constraint num_tra...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_target_stress_wr_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.2
false
false
517
-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 cryptoc_dpi_pkg; // dep packages import uvm_pkg::*; // macro includes `include "uvm_macros.svh" // DPI-C imports // // Note: ...
opentitan/hw/ip/hmac/dv/cryptoc_dpi/cryptoc_dpi_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.111
false
false
5,803
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Covergroup for I2C interrupts with interrupt enable and interrupt test covergroup i2c_interrupts_cg with function sample( bit [14:0] intr_state,...
opentitan/hw/ip/i2c/dv/env/i2c_env_cov.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.165
false
false
18,692
-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/runtime/log.h" #include "sw/device/lib/testing/nv_counter_testutils.h" #include "sw/device/lib/testing/n...
opentitan/sw/device/silicon_creator/rom/e2e/rom_ext_upgrade_interrupt/rom_ext_upgrade_interrupt.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.142
false
false
4,612
-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 usbdev_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import dv_base_reg_pkg::*; import c...
opentitan/hw/ip/usbdev/dv/env/usbdev_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.22
false
false
2,666
-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 rstmgr_env_pkg::*; import rstmgr_test_pkg::*; // macro in...
opentitan/hw/top_earlgrey/ip_autogen/rstmgr/dv/tb.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.094
false
false
4,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 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_SIGVERIFY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_SIGVERIFY_H_ #inclu...
opentitan/sw/device/silicon_creator/lib/sigverify/sigverify.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.882
false
false
752
-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/otbn_randomness_impl.h" #include "sw/device/lib/dif/dif_base.h" #include "sw/device/lib/dif/dif_otbn.h" #include "sw/devic...
opentitan/sw/device/tests/otbn_randomness_impl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.219
false
false
3,022
-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_MOCK_CSR_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_MOCK_CSR_H_ #include "gmock/gm...
opentitan/sw/device/silicon_creator/lib/base/mock_csr.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.746
false
false
2,504
-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_env extends cip_base_env #( .CFG_T (rv_timer_env_cfg), .COV_T (rv_timer_env_cov), ...
opentitan/hw/ip/rv_timer/dv/env/rv_timer_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.2
false
false
588
-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 "hw/top/dt/api.h" // Generated #include "sw/device/examples/teacup_demos/data/bitmaps.h" #include "sw/device/lib/arch/device.h" #include "s...
opentitan/sw/device/examples/teacup_demos/teacup_leds_and_screen_demo.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.21
false
false
7,993
-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_AES_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_AES_TESTUTILS_H_ #include "sw/device/lib/dif/dif_ae...
opentitan/sw/device/lib/testing/aes_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.81
false
false
4,000
-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_KEYMGR_DPE_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_KEYMGR_DPE_TESTUTILS_H_ // This #if define ....
opentitan/sw/device/lib/testing/keymgr_dpe_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.681
false
false
14,518
-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_RSTMGR_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_RSTMGR_H_ #include <limits...
opentitan/sw/device/silicon_creator/lib/drivers/rstmgr.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.804
false
false
4,308
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // rv_core_ibex package // package rv_core_ibex_pkg; typedef struct packed { logic en; logic [31:0] matching_region; logic [31:0] r...
opentitan/hw/ip/rv_core_ibex/rtl/rv_core_ibex_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.321
false
false
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 // // Package partition metadata. // package otp_ctrl_part_pkg; import prim_util_pkg::vbits; import otp_ctrl_reg_pkg::*; import otp_ctrl_pkg::*...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/rtl/otp_ctrl_part_pkg.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.145
false
false
29,405
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Binds ALERT_HANDLER functional coverage interfaces to the top level ALERT_HANDLER module. module alert_handler_cov_bind; import alert_handler...
opentitan/hw/top_darjeeling/ip_autogen/alert_handler/dv/cov/alert_handler_cov_bind.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.312
false
false
636
-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 lc_ctrl_env_cfg extends cip_base_env_cfg #( .RAL_T(lc_ctrl_regs_reg_block) ); // DUT parameters lc_ctrl_parameters_cfg parameters_cfg; ...
opentitan/hw/ip/lc_ctrl/dv/env/lc_ctrl_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.221
false
false
4,392
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // i2c_fifo_reset_rx test vseq // this sequence waits for rx fifo full and resets rx fifo. // checks for fifo empty high and rx lvl is 0 class i2c...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_host_fifo_reset_rx_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.149
false
false
3,144
-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/arch/device.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/dif/d...
opentitan/sw/device/tests/spi_device_flash_smoketest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.172
false
false
5,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 class rng_agent_cov extends dv_base_agent_cov #(rng_agent_cfg); `uvm_component_utils(rng_agent_cov) // the base class provides the following han...
opentitan/hw/dv/sv/rng_agent/rng_agent_cov.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.538
false
false
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 // // An interface that should be bound into an instance of keymgr_dpe_ctrl (and can access RTL signals // through upwards hierarchical references). i...
opentitan/hw/ip/keymgr_dpe/dv/env/keymgr_dpe_ctrl_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.48
false
false
1,263
-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_MOCK_RRAM_CTRL_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_MOCK_RRAM_CTRL_H_ ...
opentitan/sw/device/silicon_creator/lib/drivers/mock_rram_ctrl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.31
false
false
4,823
-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 to the DUT's otp_ctrl scrambling-key handshake, driven by // rram_ctrl_otp_key_driver.sv (see rram_ctrl_env.sv). interface rram_ctrl_otp...
opentitan/hw/ip/rram_ctrl/dv/env/rram_ctrl_otp_key_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.387
false
false
1,296
-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_JSON_AES_SCA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_AES_SCA_COMMANDS_...
opentitan/sw/device/tests/penetrationtests/json/aes_sca_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.433
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/lib/crypto/impl/ecc/curve25519.h" #include "sw/device/lib/base/crc32.h" #include "sw/device/lib/base/hardened.h" #include "sw/de...
opentitan/sw/device/lib/crypto/impl/ecc/curve25519.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.223
false
false
22,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 class chip_base_test extends cip_base_test #( .ENV_T(chip_env), .CFG_T(chip_env_cfg) ); `uvm_component_new `uvm_component_utils(chip_ba...
opentitan/hw/top_earlgrey/dv/tests/chip_base_test.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.288
false
false
6,590
-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_EPMP_TEST_UNLOCK_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_EPMP_TEST_UNLOCK_H_ #include <st...
opentitan/sw/device/silicon_creator/lib/epmp_test_unlock.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.862
false
false
1,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/silicon_creator/lib/stack_utilization.h" #include "sw/device/silicon_creator/lib/drivers/uart.h" #ifdef STACK_UTILIZATION_CHECK...
opentitan/sw/device/silicon_creator/lib/stack_utilization.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.448
false
false
1,151
-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/memory.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_lc_ctrl.h" #include "sw/device/lib/dif/di...
opentitan/sw/device/tests/sim_dv/otp_ctrl_vendor_test_csr_access_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
1,483
-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 jtag_riscv_agent_cov extends dv_base_agent_cov #(jtag_riscv_agent_cfg); `uvm_component_utils(jtag_riscv_agent_cov) // the base class provi...
opentitan/hw/dv/sv/jtag_riscv_agent/jtag_riscv_agent_cov.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.538
false
false
549
-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 checks that the outgoing resets and the corresponding reset enable going to alert handler // are shifted by a single clock cycle. interface r...
opentitan/hw/top_earlgrey/ip_autogen/rstmgr/dv/sva/rstmgr_rst_en_track_sva_if.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.014
false
false
16,813
-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 dma_env_cfg extends cip_base_env_cfg #(.RAL_T(dma_reg_block)); // TL Port Configuration tl_agent_cfg tl_agent_dma_host_cfg; tl_agent_cfg ...
opentitan/hw/ip/dma/dv/env/dma_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.379
false
false
4,930
-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_JSON_CRYPTOLIB_SCA_ASYM_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_CRYPTO...
opentitan/sw/device/tests/penetrationtests/json/cryptolib_sca_asym_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.209
false
false
21,222
-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 mbx_stress_vseq extends mbx_base_vseq; `uvm_object_utils(mbx_stress_vseq) // Constrain the iteration and transaction counts to produce a ...
opentitan/hw/ip/mbx/dv/env/seq_lib/mbx_stress_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.197
false
false
3,174
-1