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_ROM_EXT_ROM_EXT_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_ROM_EXT_H_ #include <stdnoreturn....
opentitan/sw/device/silicon_creator/rom_ext/rom_ext.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.786
false
false
509
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // extend tl_seq_item to return a|d_user data with ECC value class cip_tl_seq_item extends tl_seq_item; `uvm_object_new tl_intg_err_e tl_...
opentitan/hw/dv/sv/cip_lib/seq_lib/cip_tl_seq_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.172
false
false
12,706
-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 "external/freertos/include/FreeRTOS.h" #include "external/freertos/include/task.h" #include "external/freertos/portable/GCC/RISC-V/portmacro...
opentitan/sw/device/lib/testing/test_framework/freertos_port.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.477
false
false
4,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 // Tests any alerts not achievable by the entropy_src_rng test // At this time this is just the es_bus_cmp_alert. // // Please see previous revisions...
opentitan/hw/ip/entropy_src/dv/env/seq_lib/entropy_src_alert_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.315
false
false
2,404
-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 is designed to be instantiated inside a rom_ctrl_compare_bound_if, which is // itself bound into a rom_ctrl_compare instance cal...
opentitan/hw/ip/rom_ctrl/dv/tb/rom_ctrl_compare_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.364
false
false
4,415
-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/sigverify/sphincsplus/wots.h" #include <stdint.h> #include "sw/device/lib/runtime/ibex.h" #include "sw/devi...
opentitan/sw/device/silicon_creator/lib/sigverify/sphincsplus/test/wots_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.315
false
false
3,105
-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 Flash Read Status handler /* */ `include "prim_assert.sv" module spid_status import spi_device_pkg::*; #( // Read Status module recogn...
opentitan/hw/ip/spi_device/rtl/spid_status.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.341
false
false
12,769
-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_sparse_fsm_flop #( parameter int Width = 1, parameter type StateEnumT = lo...
opentitan/hw/ip/prim/rtl/prim_sparse_fsm_flop.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.211
false
false
2,093
-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 cip_base_env_cfg #(type RAL_T = dv_base_reg_block) extends dv_base_env_cfg #(RAL_T); // control knobs to enable/disable covergroups // thes...
opentitan/hw/dv/sv/cip_lib/cip_base_env_cfg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.36
false
false
15,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 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_RV_CORE_IBEX_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_RV_CORE_IBEX_H_ #include <stdint.h> #include "sw/de...
opentitan/sw/device/lib/dif/dif_rv_core_ibex.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.696
false
false
12,990
-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/sensor_ctrl.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/base/hardened.h" #in...
opentitan/sw/device/silicon_creator/lib/drivers/sensor_ctrl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.373
false
false
3,020
-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/base/mmio.h" #include "sw/device/lib/dif/dif_rv_core_ibex.h" #include "sw/device/lib/t...
opentitan/sw/device/silicon_creator/rom/e2e/rstmgr/cpu_info_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.278
false
false
3,037
-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/fi/cryptolib_fi_asym_impl.h" #include "sw/device/lib/base/hardened_memory.h" #include "sw/device...
opentitan/sw/device/tests/penetrationtests/firmware/fi/cryptolib_fi_asym_impl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.087
false
false
78,572
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // JTAG DTM registers based on RISCV JTAG debug spec (see section 6.1.2): // https://github.com/riscv/riscv-debug-spec/raw/4e0bb0fc2d843473db23566237...
opentitan/hw/dv/sv/jtag_agent/jtag_dtm_reg_block.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.077
false
false
12,008
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * Covergroups that are dependent on run-time parameters that may be available * only in build_phase can be defined here * Covergroups may also...
opentitan/hw/ip/lc_ctrl/dv/env/lc_ctrl_env_cov.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
5,244
-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 i2c_env_pkg::*; import i2c_test_pkg::*; import top_racl_pk...
opentitan/hw/ip/i2c/dv/tb/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.102
false
false
4,860
-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#( parameter type KEY_T = keymgr_dpe_pkg::hw_key_req_t ) extends dv_base_agent #( .CFG_T (key_sideload_agent_cfg...
opentitan/hw/dv/sv/key_sideload_agent/key_sideload_agent.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.114
false
false
1,346
-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/sigverify/rsa_verify.h" #include "sw/device/silicon_creator/lib/drivers/otp.h" #include "sw/device/silicon_c...
opentitan/sw/device/silicon_creator/lib/sigverify/rsa_verify.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.544
false
false
8,231
-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/base/status.h" #include "sw/device/lib/crypto/impl/status.h" #include "sw/device/lib/c...
opentitan/sw/device/tests/crypto/entropy_src_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.324
false
false
1,317
-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_bkdr_util_pkg; import bus_params_pkg::BUS_AW; import dv_utils_pkg::uint32_t, dv_utils_pkg::addr_range_t; import lc_ctrl_state_...
opentitan/hw/ip/rom_ctrl/dv/env/rom_ctrl_bkdr_util_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
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 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_SELF_INTEGRITY_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_SELF_INTEGRITY_H_ #include <stddef.h...
opentitan/sw/device/lib/crypto/include/self_integrity.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.846
false
false
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 // // Counts a number of infrequent events, such as Controller Errors (CEx) and Target Errors (TEx). // // - when events occur simultaneously the coun...
opentitan/hw/ip/i3c/rtl/i3c_counters.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.369
false
false
2,656
-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_inv #( parameter int Width = 1 ) ( input logic [Width-1:0] in_i, output logic [Width-1:0] out_o ); a...
opentitan/hw/ip/prim_generic/rtl/prim_inv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
352
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Otp_ctrl_init_fail_vseq is developed to check if otp_ctrl reacts correctly if initialization // failed. // Note that scoreboard is disabled in thi...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_init_fail_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.219
false
false
11,074
-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_JSON_OTTF_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_JSON_OTTF_H_ #include "sw/device/lib/ujson/ujson_derive....
opentitan/sw/device/lib/testing/json/ottf.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.8
false
false
678
-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_OTCRYPTO_INTERFACE_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_OTCRYPTO_INTERFACE_H_ #include "sw/device/li...
opentitan/sw/device/tests/crypto/otcrypto_interface.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.071
false
false
32,545
-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 cipher core implementation // // This module contains the AES cipher core including, state register, full key and decryption key // register...
opentitan/hw/ip/aes/rtl/aes_cipher_core.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.301
false
false
39,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 #include <assert.h> #include <errno.h> #include <stdarg.h> #include <stdio.h> #include <string.h> #include "usb_utils.h" #include "usbdpi.h" // USB...
opentitan/hw/dv/dpi/usbdpi/usb_monitor.c
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.226
false
false
11,371
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Token mux error injection test class lc_ctrl_sec_token_digest_vseq extends lc_ctrl_errors_vseq; `uvm_object_utils(lc_ctrl_sec_token_digest_vseq...
opentitan/hw/ip/lc_ctrl/dv/env/seq_lib/lc_ctrl_sec_token_digest_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.241
false
false
1,028
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Based on the `sysrst_ctrl_combo_detect_ec_rst_vseq`, this sequence will configure // a pre-condition to enable the combo-detection. class sysrst_c...
opentitan/hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_combo_detect_ec_rst_with_pre_cond_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.32
false
false
1,190
-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: entropy_src Markov health test module // module entropy_src_markov_ht #( parameter int RegWidth = 16, parameter int R...
opentitan/hw/ip/entropy_src/rtl/entropy_src_markov_ht.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.164
false
false
5,349
-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_pinmux.h" #include "sw/device/lib/dif/dif_pwrmgr.h" #include "sw/device/lib/dif/dif_rv_plic.h" #include "sw/device/li...
opentitan/sw/device/tests/sleep_pin_wake_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.319
false
false
9,177
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Designated sequence to test "RO" type regwen // The sequence does write and read back check for flash_ctrl.control register. // Then it launches l...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_config_regwen_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.329
false
false
3,350
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // rom_ctrl_fsm_if is designed to be instantiated inside a rom_ctrl_fsm_bound_if (which is // responsible for comminucating with the design through u...
opentitan/hw/ip/rom_ctrl/dv/tb/rom_ctrl_fsm_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.329
false
false
7,463
-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_NVM_CTRL_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_NVM_CTRL_H_ #include <stdint.h> #includ...
opentitan/sw/device/silicon_creator/lib/nvm_ctrl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.761
false
false
25,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 #include "sw/device/lib/crypto/include/ecc_curve25519.h" #include "sw/device/lib/base/hardened_memory.h" #include "sw/device/lib/crypto/drivers/entr...
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.283
false
false
45,538
-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 ac_range_check_smoke_high_threshold_vseq extends ac_range_check_smoke_vseq; import ac_range_check_reg_pkg::*; `uvm_object_utils(ac_range_ch...
opentitan/hw/top_darjeeling/ip_autogen/ac_range_check/dv/env/seq_lib/ac_range_check_smoke_high_threshold_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.109
false
false
1,478
-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/mmio.h" #include "sw/device/lib/dif/dif_aon_timer.h" #incl...
opentitan/sw/device/tests/aon_timer_sleep_wdog_sleep_pause_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.386
false
false
4,181
-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/fi/alert_fi.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/base/memory.h" #...
opentitan/sw/device/tests/penetrationtests/firmware/fi/alert_fi.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.178
false
false
24,752
-1
// Copyright 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
opentitan/hw/ip/hmac/dv/cryptoc_dpi/hmac.c
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.206
false
false
3,582
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Provide an abstract way to access the memory rows // // Integrators can subclass this to provide a specfic way of accessing a memory row // and in...
opentitan/hw/dv/sv/mem_bkdr_util/mem_bkdr_util_row_adapter.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.511
false
false
2,159
-1
return OK_STATUS(); } status_t handle_ibex_fi_char_sram_write(ujson_t *uj) __attribute__((optnone)) { // Clear registered alerts in alert handler. pentest_registered_alerts_t reg_alerts = pentest_get_triggered_alerts(); // Clear registered local alerts in alert handler. pentest_registered_loc_alerts_t reg_lo...
opentitan/sw/device/tests/penetrationtests/firmware/fi/ibex_fi.c#p1
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.161
false
false
51,677
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Keymgr_dpe Package // package keymgr_dpe_pkg; /////////////////////////////////////// // Keymgr_dpe: parameters & typedefs // //////////...
opentitan/hw/ip/keymgr_dpe/rtl/keymgr_dpe_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.296
false
false
13,414
-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 to verify the countermeasure(s) OTBN.*_STACK.ADDR.INTEGRITY. class otbn_stack_addr_integ_chk_vseq extends otbn_single_vseq; `uvm_obj...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_stack_addr_integ_chk_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.297
false
false
8,491
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Frontdoor (indirect) access of JTAG DMI registers for use within the RAL. // // JTAG DMI registers are accessed indirectly by writing {op, addr, d...
opentitan/hw/dv/sv/jtag_dmi_agent/jtag_dmi_reg_frontdoor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.341
false
false
8,294
-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/ret_sram_testutils.h" #include <assert.h> #include <stdbool.h> #include <stdint.h> #include "hw/top/dt/sram_ctrl.h"...
opentitan/sw/device/lib/testing/ret_sram_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.308
false
false
4,300
-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 sequence will enable the auto block feature and override // the key output with their override values set in auto_block_out_ctl reg. class sy...
opentitan/hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_auto_blk_key_output_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.12
false
false
5,075
-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/lc_ctrl.h" #include "hw/top/dt/rv_plic.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_flash_ctrl.h" #inc...
opentitan/sw/device/tests/flash_ctrl_info_access_lc.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.258
false
false
11,540
-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 CFGEN // TBD This should be enhanced in the future to contain a shadow copy `include "prim_assert.sv" module keymgr_dpe_cfg_en...
opentitan/hw/ip/keymgr_dpe/rtl/keymgr_dpe_cfg_en.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.185
false
false
1,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 // Copyright Luke Valenty (TinyFPGA project, https://github.com/tinyfpga/TinyFPGA-Bootloader). module usb_fs_rx ( // A 48MHz clock is required to r...
opentitan/hw/ip/usbdev/rtl/usb_fs_rx.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.304
false
false
22,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 #ifndef OPENTITAN_HW_DV_DPI_USBDPI_USBDPI_H_ #define OPENTITAN_HW_DV_DPI_USBDPI_USBDPI_H_ #define TOOL_VERILATOR 1 #define TOOL_INCISIVE 0 #include...
opentitan/hw/dv/dpi/usbdpi/usbdpi.h
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.707
false
false
10,585
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // combine all adc_ctrl seqs (except below seqs) in one seq to run sequentially // 1. csr seq, which requires scb to be disabled // 2. adc_ctrl_rx_ov...
opentitan/hw/ip/adc_ctrl/dv/env/seq_lib/adc_ctrl_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.167
false
false
2,586
-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_OWNERSHIP_KEYS_FAKE_UNLOCK_SPX_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_KEYS_FAKE...
opentitan/sw/device/silicon_creator/lib/ownership/keys/fake/unlock_spx.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.778
false
false
615
-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/alert_handler_testutils.h" #include "hw/top/dt/alert_handler.h" // Generated #include "hw/top/dt/api.h" ...
opentitan/sw/device/lib/testing/alert_handler_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.119
false
false
12,059
-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 chip_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import ast_pkg::AstRegsNum, ast_pkg::AstLastRegOffset; import...
opentitan/hw/top_earlgrey/dv/env/chip_env_pkg.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
6,265
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Filters interrupt & wakeup together test sequence class adc_ctrl_filters_both_vseq extends adc_ctrl_filters_polled_vseq; `uvm_object_utils(adc_c...
opentitan/hw/ip/adc_ctrl/dv/env/seq_lib/adc_ctrl_filters_both_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
2,100
-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_flash_ctrl.h" #include <assert.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/macros.h" #...
opentitan/sw/device/lib/dif/dif_flash_ctrl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.068
false
false
46,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 // // Key manager top level // `include "prim_assert.sv" module keymgr_dpe_ctrl import keymgr_dpe_pkg::*; import keymgr_dpe_reg_pkg::*; // TODO(...
opentitan/hw/ip/keymgr_dpe/rtl/keymgr_dpe_ctrl.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.328
false
false
33,589
-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/kdf_ctr.h" #include "sw/device/lib/base/hardened_memory.h" #include "sw/device/lib/base/math.h" #include "sw/...
opentitan/sw/device/lib/crypto/impl/kdf_ctr.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.349
false
false
8,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 // Trigger ErrIncorrectEntropyMode error by setting incorrect entropy configuration. // This sequence will check: // - Kmac error interrupt is set vi...
opentitan/hw/ip/kmac/dv/env/seq_lib/kmac_entropy_mode_error_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.263
false
false
1,654
-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 lc_ctrl_pkg::*; import lc_ctrl_reg_pkg::*; import lc_ctrl_...
opentitan/hw/ip/lc_ctrl/dv/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.127
false
false
12,599
-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 vseq that enables scanmode and sends a very simple JTAG transaction. // // This doesn't use the normal JTAG driver, because that driver expects ...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_scanmode_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.33
false
false
4,579
-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_gpio.h" #include "hw/top/gpio_regs.h" // Generated. static_assert(kDifGpioNumPins <= 32, "This imple...
opentitan/sw/device/lib/dif/dif_gpio.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.257
false
false
10,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 // // 32-bit input wrapper for the SHA-2 engine module prim_sha2_32 import prim_sha2_pkg::*; #( parameter bit MultimodeEn = 0 // assert to enable m...
opentitan/hw/ip/prim/rtl/prim_sha2_32.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.13
false
false
11,566
-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 "sw/device/lib/base/memory.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/runtime/print.h" #include...
opentitan/sw/device/silicon_creator/rom/e2e/release/rom_e2e_self_hash_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.431
false
false
4,994
-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 soc_proxy_pkg; localparam int unsigned NumSocGpio = 16; // Keep this value in sync with pinmux and top-level configuration. localpara...
opentitan/hw/top_darjeeling/ip/soc_proxy/rtl/soc_proxy_pkg.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.444
false
false
455
-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_KEYS_FAKE_ECDSA_PROD_KEY_0_ECDSA_P256_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_KEYS_FAKE_EC...
opentitan/sw/device/silicon_creator/rom/keys/fake/ecdsa/prod_key_0_ecdsa_p256.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.583
false
false
847
-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_EMPTY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT_SVC_EMPTY_H_...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_empty.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.69
false
false
2,089
-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/status.h" #include "sw/device/lib/crypto/drivers/entropy.h" #include "sw/device/lib/dif/dif_otp_ctrl.h" #include "sw/dev...
opentitan/sw/device/silicon_creator/manuf/lib/individualize_sw_cfg_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.267
false
false
10,018
-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/lib/extclk_sca_fi.h" #include "sw/device/lib/base/multibits.h" #include "sw/device/lib/base/stat...
opentitan/sw/device/tests/penetrationtests/firmware/lib/extclk_sca_fi.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.361
false
false
2,575
-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 kmac_burst_write_vseq extends kmac_long_msg_and_output_vseq; `uvm_object_utils(kmac_burst_write_vseq) `uvm_object_new virtual task pre_...
opentitan/hw/ip/kmac/dv/env/seq_lib/kmac_burst_write_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
393
-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_base_vseq extends cip_base_vseq #( .RAL_T (entropy_src_reg_block), .CFG_T (entropy_src_env_cfg)...
opentitan/hw/ip/entropy_src/dv/env/seq_lib/entropy_src_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.193
false
false
36,208
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // long msg and output test class kmac_long_msg_and_output_vseq extends kmac_smoke_vseq; `uvm_object_utils(kmac_long_msg_and_output_vseq) `uvm_o...
opentitan/hw/ip/kmac/dv/env/seq_lib/kmac_long_msg_and_output_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.242
false
false
1,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 // This sequence tests the bijectivity of the SRAM address remapping. // // To do this, use the following stimulus: // // - Write a different value ...
opentitan/hw/ip/sram_ctrl/dv/env/seq_lib/sram_ctrl_bijection_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.421
false
false
2,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 #include "sw/device/silicon_creator/lib/drivers/flash_ctrl.h" #include <assert.h> #include "hw/top/dt/flash_ctrl.h" #include "sw/device/lib/base/ab...
opentitan/sw/device/silicon_creator/lib/drivers/flash_ctrl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.211
false
false
25,099
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // smoke test vseq class lc_ctrl_smoke_vseq extends lc_ctrl_base_vseq; `uvm_object_utils(lc_ctrl_smoke_vseq) `uvm_object_new rand bit otp_pro...
opentitan/hw/ip/lc_ctrl/dv/env/seq_lib/lc_ctrl_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.193
false
false
5,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 "sw/device/lib/base/hardened_memory.h" #include "sw/device/lib/crypto/drivers/otbn.h" #include "sw/device/lib/crypto/impl/keyblob.h" #includ...
opentitan/sw/device/tests/crypto/ed25519_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.188
false
false
24,242
-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_base_test extends cip_base_test #( .CFG_T(rom_ctrl_env_cfg), .ENV_T(rom_ctrl_env) ); `uvm_component_utils(rom_ctrl_base_t...
opentitan/hw/ip/rom_ctrl/dv/tests/rom_ctrl_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.264
false
false
2,245
-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_smoke_vseq extends mbx_base_vseq; `uvm_object_utils(mbx_smoke_vseq) // Constrain the iteration and transaction counts to produce a lo...
opentitan/hw/ip/mbx/dv/env/seq_lib/mbx_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.278
false
false
864
-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/sigverify/spx_verify.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/memory.h" #inclu...
opentitan/sw/device/silicon_creator/lib/sigverify/spx_verify.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.375
false
false
6,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 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_MULTIBITS_ASM_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_MULTIBITS_ASM_H_ /** * Multi-bit boolean values for use ...
opentitan/sw/device/lib/base/multibits_asm.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
1,390
-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 other sequences one after the other. This *always* re-loads binaries, which // is different from otbn_multi_vseq where we are...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.297
false
false
1,787
-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/boot_stage.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/...
opentitan/sw/device/tests/flash_ctrl_ops_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.254
false
false
18,743
-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/gpio.h" #include <stddef.h> #include "hw/top/dt/gpio.h" #include "sw/device/lib/base/abs_mmio.h" #i...
opentitan/sw/device/silicon_creator/lib/drivers/gpio.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.421
false
false
3,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 // This contains SVA assertions for clock gating output to alert_handler. // - cg_en corresponds to clock gating enabled, which means the clock is ga...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/dv/sva/clkmgr_cg_en_sva_if.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.308
false
false
1,072
-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/rstmgr_testutils.h" #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/base/mmio.h" #include "sw/devi...
opentitan/sw/device/lib/testing/rstmgr_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.154
false
false
4,061
-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_CERT_DICE_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_CERT_DICE_H_ #include <stdint.h> #incl...
opentitan/sw/device/silicon_creator/lib/cert/dice.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.698
false
false
5,997
-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/base/mmio.h" #include "sw/device/lib/dif/dif_kmac.h" #include "sw/device/lib/runtime/l...
opentitan/sw/device/tests/kmac_entropy_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.199
false
false
12,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 package keymgr_dpe_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import dv_lib_pkg::*; import tl...
opentitan/hw/ip/keymgr_dpe/dv/env/keymgr_dpe_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.197
false
false
5,019
-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_MBX_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_MBX_H_ /** * @file * @brief <a href="/book/hw/ip/mbx/">DOE ...
opentitan/sw/device/lib/dif/dif_mbx.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.725
false
false
3,901
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Test passthrough mode address/payload translation scenario, addr/payload_swap_en on and off class spi_device_pass_addr_payload_swap_vseq extends s...
opentitan/hw/ip/spi_device/dv/env/seq_lib/spi_device_pass_addr_payload_swap_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.286
false
false
644
-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 aon_timer_env_pkg::*; import aon_timer_test_pkg::*; import...
opentitan/hw/ip/aon_timer/dv/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.163
false
false
3,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 #ifndef OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_SHA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_SHA_COMMANDS_H_ #in...
opentitan/sw/device/tests/crypto/cryptotest/json/sha_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.486
false
false
1,367
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Test ERR_CODE fields asserted as expected, as well as the ERR_CODE_TEST register class edn_err_vseq extends edn_base_vseq; `uvm_object_utils(ed...
opentitan/hw/ip/edn/dv/env/seq_lib/edn_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.188
false
false
17,420
-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 sysrst_ctrl_if ( input logic clk_i, input logic rst_ni ); logic key0_in; logic key1_in; logic key2_in; logic pwrb_in; logic ...
opentitan/hw/ip/sysrst_ctrl/dv/env/sysrst_ctrl_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.101
false
false
2,798
-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_LOGGING_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_USB_LOGGING_H_ #include "sw/device/lib/base/status.h" ...
opentitan/sw/device/lib/testing/usb_logging.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.84
false
false
3,268
-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/drbg.h" #include "sw/device/lib/base/hardened_memory.h" #include "sw/device/lib/base/math.h" #include "sw/dev...
opentitan/sw/device/lib/crypto/impl/drbg.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.34
false
false
10,362
-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_jedec_tb; import spi_device_pkg::*; import spid_common::*; localparam time ClkPeriod = 100...
opentitan/hw/ip/spi_device/pre_dv/tb/spid_jedec_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.087
false
false
4,748
-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 adc_ctrl_env_cfg extends cip_base_env_cfg #( .RAL_T(adc_ctrl_reg_block) ); virtual clk_rst_if clk_aon_rst_vif; wakeup_vif_t wakeup_vif; ...
opentitan/hw/ip/adc_ctrl/dv/env/adc_ctrl_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.242
false
false
5,441
-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 smoke test vseq class i2c_host_rx_oversample_vseq extends i2c_rx_tx_vseq; `uvm_object_utils(i2c_host_rx_oversample_vseq) `uvm_object_new...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_host_rx_oversample_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.127
false
false
2,439
-1