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_LIB_BASE_HARDENED_ASM_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_HARDENED_ASM_H_ /** * Values for a hardened boolean type....
opentitan/sw/device/lib/base/hardened_asm.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
1,266
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Generic differential receiver for USB. Note that this is meant for emulation purposes only, and // the pull-up, calibration and pok signals are ...
opentitan/hw/ip/prim_generic/rtl/prim_usb_diff_rx.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.167
false
false
1,733
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class aes_alert_reset_test extends aes_base_test; `uvm_component_utils(aes_alert_reset_test) `uvm_component_new virtual function void build_...
opentitan/hw/ip/aes/dv/tests/aes_alert_reset_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.095
false
false
1,701
-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/json/spi_passthru.h" #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/d...
opentitan/sw/device/tests/spi_passthru_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.115
false
false
12,298
-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_intr_test extends edn_base_test; `uvm_component_utils(edn_intr_test) `uvm_component_new function void configure_env(); super.co...
opentitan/hw/ip/edn/dv/tests/edn_intr_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
541
-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 causes the rstmgr's por_n_i to be asserted, both due to AON power glitches and to the // chip's POR_N input. These resets are sent at ra...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_full_aon_reset_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.205
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 // module tb; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import otp_ctrl_env_pkg::*; import otp_ctrl_test_pkg::*; import o...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/dv/tb.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.205
false
false
10,600
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class csrng_monitor extends dv_reactive_monitor #( .ITEM_T (csrng_item), .CFG_T (csrng_agent_cfg), .COV_T (csrng_agent_cov) ); `uvm...
opentitan/hw/dv/sv/csrng_agent/csrng_monitor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.175
false
false
5,962
-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_USB_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_USB_H_ #include <stdbool.h> #...
opentitan/sw/device/silicon_creator/lib/drivers/usb.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.729
false
false
5,836
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Starting from 2 busword (4byte), increases by 2 words each round // To avoid program window violation, word size never exceeds 16. class flash_ctr...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_write_word_sweep_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.194
false
false
1,133
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // General Purpose Input/Output module `include "prim_assert.sv" module gpio import gpio_pkg::*; import gpio_reg_pkg::*; #( parameter logic...
opentitan/hw/top_earlgrey/ip_autogen/gpio/rtl/gpio.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.041
false
false
57,754
-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 "sram_ctrl_sleep_sram_ret_contents_impl.h" #include "sw/device/lib/testing/test_framework/ottf_main.h" OTTF_DEFINE_TEST_CONFIG(); bool tes...
opentitan/sw/device/tests/sram_ctrl_sleep_sram_ret_contents_no_scramble_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.556
false
false
401
-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_usb_ast_clk_calib_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_usb_ast_clk_calib_vseq) `uvm_object_new int sof_per...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_usb_ast_clk_calib_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.239
false
false
2,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_HW_IP_OTBN_DV_MEMUTIL_OTBN_MEMUTIL_H_ #define OPENTITAN_HW_IP_OTBN_DV_MEMUTIL_OTBN_MEMUTIL_H_ #include <map> #include <svdpi.h> #in...
opentitan/hw/ip/otbn/dv/memutil/otbn_memutil.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.676
false
false
5,351
-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_base.h" #include "sw/device/lib/dif/dif_clkmgr.h" #include "sw/device/lib/testing/test_framework/check.h" #include "s...
opentitan/sw/device/silicon_creator/rom/e2e/clkmgr/jitter_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.577
false
false
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 // // Padring substitute for the Darjeeling Verilator simulation top. // // This module models the (otherwise absent) padring for the Verilator // sim...
opentitan/hw/top_darjeeling/rtl/padring_verilator.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.456
false
false
3,866
-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_ctrl_fetch_code Test // Pseudo Code // Initialise (All) // Loop { 32 .. 64 // Randomize (Read Cycle, Data Partition, Exec Key, Instructio...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_fetch_code_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.212
false
false
12,732
-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/base/util.h" uint32_t util_round_up_to(uint32_t input, uint32_t align_bits) { uint32_t mask = (1 << align_...
opentitan/sw/device/silicon_creator/lib/base/util.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.135
false
false
1,382
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/base/csr.h" #include "sw/device/lib/dif/dif_lc_ctrl.h" #include "sw/device/lib/runt...
opentitan/sw/device/silicon_creator/rom/e2e/epmp_init/epmp_init_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.259
false
false
2,165
-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 the software reset functionality: using `sw_rst_regen` and `sw_rst_ctrl_n` CSRs it causes // resets for each of the bits randomly. It also t...
opentitan/hw/ip_templates/rstmgr/dv/env/seq_lib/rstmgr_sw_rst_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.311
false
false
2,457
-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/ibex_fi.h" #include "sw/device/lib/arch/boot_stage.h" #include "sw/device/lib/base/abs_mmio.h...
opentitan/sw/device/tests/penetrationtests/firmware/fi/ibex_fi.c#p0
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.218
false
false
149,995
-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_HMAC_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_HMAC_H_ #include <stddef.h> #...
opentitan/sw/device/silicon_creator/lib/drivers/hmac.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.782
false
false
6,645
-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/macros.h" #include "sw/device/lib/base/memory.h" #include "sw/device/sil...
opentitan/sw/device/silicon_creator/rom_ext/sival/sival_owner.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.319
false
false
6,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 rstmgr_scoreboard extends cip_base_scoreboard #( .CFG_T(rstmgr_env_cfg), .RAL_T(rstmgr_reg_block), .COV_T(rstmgr_env_cov) ); `uvm_compo...
opentitan/hw/ip_templates/rstmgr/dv/env/rstmgr_scoreboard.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.17
false
false
11,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 // Configurable USB streaming test that sends OUT packets to a set of endpoints, // according to their configuration, and then retrieves those packet...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_max_usb_traffic_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.298
false
false
21,577
-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 cheriot_mem_sys_bind; bind cheriot_mem_sys tlul_assert #( .EndpointType("Device") ) tlul_assert_device_regs ( .clk_i, .rst_ni...
opentitan/hw/ip/cheriot_mem_sys/dv/sva/cheriot_mem_sys_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.07
false
false
1,094
-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_uart.h" #include <assert.h> #include <stddef.h> #include "dif_base.h" #include "sw/device/lib/base/bitfield.h" #inc...
opentitan/sw/device/lib/dif/dif_uart.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.133
false
false
14,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 #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/bas...
opentitan/sw/device/silicon_creator/lib/drivers/keymgr_dpe_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.265
false
false
12,616
-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/silicon_creator/manuf/data/ast/calibration_values.h" #include "sw/device/silicon_creator/manuf/lib/nvm_info_...
opentitan/sw/device/silicon_creator/manuf/data/ast/fake_calibration_values.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.163
false
false
1,417
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // mubi_enc_err_vseq class sram_ctrl_mubi_enc_err_vseq extends sram_ctrl_base_vseq; `uvm_object_utils(sram_ctrl_mubi_enc_err_vseq) `uvm_object_n...
opentitan/hw/ip/sram_ctrl/dv/env/seq_lib/sram_ctrl_mubi_enc_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.258
false
false
5,716
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/dif/dif_rram_ctrl.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib...
opentitan/sw/device/lib/dif/dif_rram_ctrl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.074
false
false
34,637
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdalign.h> #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/hardened.h" #in...
opentitan/sw/device/silicon_creator/rom_ext/e2e/handoff/fault_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.543
false
false
3,465
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_HMAC_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_HMAC_H_ #include <stddef.h> #include <stdint.h>...
opentitan/sw/device/lib/crypto/drivers/hmac.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.761
false
false
16,176
-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 #(type CFG_T = cip_base_env_cfg, type VIRTUAL_SEQUENCER_T = cip_base_virtual_sequencer, ...
opentitan/hw/dv/sv/cip_lib/cip_base_env.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.146
false
false
8,368
-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 "gpio_base_vseq.sv" `include "gpio_smoke_vseq.sv" `include "gpio_inp_prd_cnt_vseq.sv" `include "gpio_common_vseq.sv" `include "gpio_random_d...
opentitan/hw/top_darjeeling/ip_autogen/gpio/dv/env/seq_lib/gpio_vseq_list.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.176
false
false
724
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Derived from code in the SPHINCS+ reference implementation (CC0 license): // https://github.com/sphincs/sphincsplus/blob/ed15dd78658f63288c7492c...
opentitan/sw/device/silicon_creator/lib/sigverify/sphincsplus/hash.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.825
false
false
2,674
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_RUNTIME_EPMP_H_ #define OPENTITAN_SW_DEVICE_LIB_RUNTIME_EPMP_H_ #include <stdint.h> /** * Enhanced Physical Memory...
opentitan/sw/device/lib/runtime/epmp.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.819
false
false
16,868
-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_alert_handler.h" #include <assert.h> #include <limits.h> #include "sw/device/lib/base/bitfield.h" #include "hw/top...
opentitan/sw/device/lib/dif/dif_alert_handler.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.145
false
false
35,886
-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 alert_handler_common_vseq extends alert_handler_base_vseq; `uvm_object_utils(alert_handler_common_vseq) constraint num_trans_c { num_t...
opentitan/hw/top_darjeeling/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_common_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.221
false
false
8,095
-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_phy_config_eop_single_bit_handling_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_phy_config_eop_single_bit_handling_vseq) ...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_phy_config_eop_single_bit_handling_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.294
false
false
863
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "hw/top/dt/adc_ctrl.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_aon_timer.h" #include "sw/device/lib/dif/dif_fla...
opentitan/sw/device/tests/flash_ctrl_idle_low_power_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.237
false
false
8,898
-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 prim_esc_rxtx_bind_fpv; bind prim_esc_rxtx_tb prim_esc_rxtx_assert_fpv #(.TimeoutCntDw(6)) prim_esc_rxtx_assert_fpv ( .clk...
opentitan/hw/ip/prim/fpv/tb/prim_esc_rxtx_bind_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.19
false
false
580
-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_PRINT_H_ #define OPENTITAN_SW_DEVICE_LIB_RUNTIME_PRINT_H_ #include <stdarg.h> #include <stddef.h> /** * @f...
opentitan/sw/device/lib/runtime/print.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.906
false
false
10,417
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class usbdev_base_test extends cip_base_test #( .ENV_T(usbdev_env), .CFG_T(usbdev_env_cfg) ); `uvm_component_utils(usbdev_base_test) `uvm_co...
opentitan/hw/ip/usbdev/dv/tests/usbdev_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.533
false
false
623
-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 : gpio_intr_rand_pgm_vseq // This gpio random test sequence performs random no. of iteration such that // each iteration will do either of t...
opentitan/hw/top_earlgrey/ip_autogen/gpio/dv/env/seq_lib/gpio_intr_rand_pgm_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.275
false
false
3,319
-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 use 'host_stretch_test_mode' in i2c_driver. // Under host_stretch_test_mode, i2c_driver stretch scl at 'target ack' cycle. // stretc...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_host_stretch_timeout_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.345
false
false
4,168
-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 i3c_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import dv_base_agent_pkg::*; import dv...
opentitan/hw/ip/i3c/dv/env/i3c_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.217
false
false
2,915
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // SPIDPI -- act as a simple host for SPI device // Bits in LOG_LEVEL sets what is output on info socket // 0x01 -- monitor packets // 0x08 -- bit l...
opentitan/hw/dv/dpi/spidpi/spidpi.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.191
false
false
1,462
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Wrapper module for computing enable / disable status on family of clocks module clkmgr_clk_status #( parameter int NumClocks = 1, parameter...
opentitan/hw/top_darjeeling/ip_autogen/clkmgr/rtl/clkmgr_clk_status.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.2
false
false
1,439
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A forever running sequence that responds to a TL request. // // This sequence supports in-order and out-of-order responses. It maintains a // memo...
opentitan/hw/dv/sv/tl_agent/seq_lib/tl_device_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
6,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 // // AES Masked Canright SBox without Mask Re-Use // // For details, see the following paper: // Canright, "A very compact 'perfectly masked' S-box f...
opentitan/hw/ip/aes/rtl/aes_sbox_canright_masked_noreuse.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.355
false
false
17,427
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class aes_wake_up_test extends aes_base_test; `uvm_component_utils(aes_wake_up_test) `uvm_component_new virtual function void build_phase(uv...
opentitan/hw/ip/aes/dv/tests/aes_wake_up_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
722
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Pinmux toplevel. // `include "prim_assert.sv" module pinmux import pinmux_pkg::*; import pinmux_reg_pkg::*; import prim_pad_wrapper_pkg:...
opentitan/hw/top_englishbreakfast/ip_autogen/pinmux/rtl/pinmux.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.272
false
false
28,318
-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 alert_handler_test_pkg; // dep packages import uvm_pkg::*; import cip_base_pkg::*; import alert_handler_env_pkg::*; // macro inclu...
opentitan/hw/top_earlgrey/ip_autogen/alert_handler/dv/tests/alert_handler_test_pkg.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
487
-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_alert_handler_escalation_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_alert_handler_escalation_vseq) `uvm_object_new ...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_alert_handler_escalation_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.288
false
false
2,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 // smoke test vseq class clkmgr_smoke_vseq extends clkmgr_base_vseq; `uvm_object_utils(clkmgr_smoke_vseq) `uvm_object_new constraint io_ip_cl...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/dv/env/seq_lib/clkmgr_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.192
false
false
4,709
-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/crypto/cryptotest/firmware/hkdf.h" #include "sw/device/lib/base/math.h" #include "sw/device/lib/base/memory.h" #include "s...
opentitan/sw/device/tests/crypto/cryptotest/firmware/hkdf.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.13
false
false
4,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 // combine all hmac seqs (except below seqs) in one seq to run sequentially // 1. csr seq, which requires scb to be disabled class hmac_stress_all_vs...
opentitan/hw/ip/hmac/dv/env/seq_lib/hmac_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.176
false
false
1,977
-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_ctrl_hw_rma Test class flash_ctrl_hw_rma_err_vseq extends flash_ctrl_hw_rma_vseq; `uvm_object_utils(flash_ctrl_hw_rma_err_vseq) `uvm_o...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_hw_rma_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.266
false
false
4,800
-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_test_status_pkg; // Prints the test status signature & banner. // // This function takes a boolean arg indicating whether the test ...
opentitan/hw/dv/sv/dv_utils/dv_test_status_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.257
false
false
1,770
-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_OWNERSHIP_KEY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_OWNERSHIP_KEY_H_...
opentitan/sw/device/silicon_creator/lib/ownership/ownership_key.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.767
false
false
4,033
-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/util.c
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.652
false
false
805
-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/status.h" #include "sw/device/lib/testing/entropy_testutils.h" #include "sw/device/lib/testing/test...
opentitan/sw/device/tests/penetrationtests/firmware/firmware_fi_otbn.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.415
false
false
1,620
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Construction and reporting of Asynchronous Events on the Target side. // // - CCC traffic // - transmission outcomes // - suspended transmission /...
opentitan/hw/ip/i3c/rtl/i3c_targ_async_events.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.193
false
false
14,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 // Flash Physical Controller Arbitration between host reads and controller operations // 1.Scenario tests on the different banks arbitration // 2.Sce...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_phy_arb_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.144
false
false
12,150
-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 "edn_base_vseq.sv" `include "edn_common_vseq.sv" `include "edn_smoke_vseq.sv" `include "edn_genbits_vseq.sv" `include "edn_stress_all_vseq.s...
opentitan/hw/ip/edn/dv/env/seq_lib/edn_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
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 // Escalation sender driver class esc_sender_driver extends dv_base_driver#(esc_seq_item, esc_agent_cfg); `uvm_component_utils(esc_sender_driver) ...
opentitan/hw/dv/sv/esc_agent/esc_sender_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.304
false
false
1,012
-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) PC.CTRL_FLOW.REDUN. class otbn_pc_ctrl_flow_redun_vseq extends otbn_single_vseq; `uvm_object_utils(o...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_pc_ctrl_flow_redun_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.203
false
false
2,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 // This has a number of assertions to check security countermeasures. They are // individually described in their comments. module pwrmgr_sec_cm_chec...
opentitan/hw/top_darjeeling/ip_autogen/pwrmgr/dv/sva/pwrmgr_sec_cm_checker_assert.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.305
false
false
8,949
-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_fifo_async_simple #( parameter int unsigned Width = 16, parameter bit EnRstChks = 1'b0, // En...
opentitan/hw/ip/prim/rtl/prim_fifo_async_simple.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.281
false
false
3,855
-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 logical core of the AON (always on) timer IP block. module aon_timer_core import aon_timer_reg_pkg::*; ( input logic ...
opentitan/hw/ip/aon_timer/rtl/aon_timer_core.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.282
false
false
3,178
-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 csrng_driver extends dv_base_driver #(.ITEM_T(csrng_item), .CFG_T (csrng_agent_cfg)); `uvm_compon...
opentitan/hw/dv/sv/csrng_agent/csrng_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.375
false
false
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 // smoke test with maximum threshold - helps close FCOV corner cases class aon_timer_smoke_max_thold_vseq extends aon_timer_smoke_vseq; `uvm_object...
opentitan/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_smoke_max_thold_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.235
false
false
774
-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: Logic module indicate ongoing activity of after disablement of entropy_src_core // // The entropy_src has a great deal of internal ...
opentitan/hw/ip/entropy_src/rtl/entropy_src_enable_delay.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
4,893
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //wrapper module to avoid having to know/write out the path from tb to bind module fi_ghash_wrapper import uvm_pkg::*; import aes_env_pkg::*; ...
opentitan/hw/ip/aes/dv/err_injection_if/fi_ghash_wrapper.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
650
-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 prim_clock_buf #( parameter bit NoFpgaBuf = 1'b0, parameter bit RegionSel = 1'b0 // serves no function in Ultrascale ) ( input clk_i, ...
opentitan/hw/ip/prim_xilinx_ultrascale/rtl/prim_clock_buf.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
519
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `define RAND_AND_WR_CLASS_PHASES_CYCLE(i) \ `DV_CHECK_RANDOMIZE_WITH_FATAL(ral.class``i``_phase0_cyc_shadowed, ...
opentitan/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_base_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.093
false
false
15,662
-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 that the `CFG_REGWEN` lock prevents the configuration registers from // being modified whilst the DUT is performing a transfer...
opentitan/hw/ip/dma/dv/env/seq_lib/dma_config_lock_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.321
false
false
7,471
-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_SYM_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_CRYPTOL...
opentitan/sw/device/tests/penetrationtests/json/cryptolib_sca_sym_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.249
false
false
7,249
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // package jtag_pkg; typedef struct packed { logic tck; logic tms; logic trst_n; logic tdi; } jtag_req_t; parameter jtag_req_...
opentitan/hw/ip/rv_dm/rtl/jtag_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
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 // // Scratch verification testbench for Trivium/Bivium stream cipher primitives module prim_trivium_tb ( input logic clk_i, input logic rst_ni...
opentitan/hw/ip/prim/pre_dv/prim_trivium/rtl/prim_trivium_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.229
false
false
16,122
-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_trans_ignored_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_setup_trans_ignored_vseq) `uvm_object_new task body(...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_setup_trans_ignored_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
1,252
-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/drivers/aes.h" #include "sw/device/lib/crypto/impl/status.h" #include "sw/devic...
opentitan/sw/device/tests/crypto/aes_sideload_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.493
false
false
8,659
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // USB Device Toggle Restore test // // This is a simple test to exercise the ability to save and restore the // Data Toggle bits within the USB de...
opentitan/sw/device/tests/usbdev_toggle_restore_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.371
false
false
7,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 // module tb; // Dep packages import uvm_pkg::*; import dv_utils_pkg::*; import soc_dbg_ctrl_env_pkg::*; import soc_dbg_ctrl_test_pkg::*; ...
opentitan/hw/ip/soc_dbg_ctrl/dv/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.242
false
false
3,182
-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 purely-combinational module to validate the Command Descriptor and extract fields/properties // that are required during command execution. //...
opentitan/hw/ip/i3c/rtl/i3c_cmd_decode.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.399
false
false
16,364
-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/drivers/otbn.h" #include "sw/device/lib/crypto/impl/status.h" #include "sw/devi...
opentitan/sw/device/tests/crypto/rsa_2048_signature_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.129
false
false
35,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 // This sequence accesses the rv_dm mem interface via JTAG and the TL-UL bus with randomly // backdoor-loaded LC state. If the LC state gates the rv_...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_rv_dm_lc_disabled_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.276
false
false
7,886
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_device_env extends cip_base_env #( .CFG_T (spi_device_env_cfg), .COV_T (spi_device_env_cov), ...
opentitan/hw/ip/spi_device/dv/env/spi_device_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.093
false
false
2,063
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/math.h" #include <stddef.h> /** * Extern declaration of inline function. */ extern size_t ceil_div(size_t a, size_t ...
opentitan/sw/device/lib/base/math.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.535
false
false
1,489
-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: sysrst_ctrl combo Module // module sysrst_ctrl_combo import sysrst_ctrl_pkg::*; import sysrst_ctrl_reg_pkg::*; ( input ...
opentitan/hw/ip/sysrst_ctrl/rtl/sysrst_ctrl_combo.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.203
false
false
6,149
-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_RSA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_RSA_COMMANDS_H_ #in...
opentitan/sw/device/tests/crypto/cryptotest/json/rsa_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.293
false
false
5,777
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Datatypes for describing FIFO exceptions in the Entropy Subsystem // package entropy_subsys_fifo_exception_pkg; typedef enum int { FIFO...
opentitan/hw/dv/sv/common_ifs/entropy_subsys_fifo_exception_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.429
false
false
431
-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 otp_ctrl_base_vseq extends cip_base_vseq #( .RAL_T (otp_ctrl_core_reg_block), .CFG_T (otp_ctrl_env_cfg), ...
opentitan/hw/top_earlgrey/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_base_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.132
false
false
28,328
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // USB device event counter // // At every rising edge within 'event_i' the counter samples the current endpoint as indicated by // 'ep_i' and incr...
opentitan/hw/ip/usbdev/rtl/usbdev_counter.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.304
false
false
3,379
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_LIB_OTP_IMG_TYPES_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_LIB_OTP_IMG_TYPES_H_ #inclu...
opentitan/sw/device/silicon_creator/manuf/lib/otp_img_types.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.691
false
false
1,732
-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_GDB_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_GDB_COMMANDS_H_ #incl...
opentitan/sw/device/tests/penetrationtests/json/gdb_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
1,129
-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 usb20_agent_cfg extends dv_reactive_agent_cfg; // interface handle used by driver, monitor & the sequencer, via cfg handle virtual usb20_b...
opentitan/hw/dv/sv/usb20_agent/usb20_agent_cfg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.653
false
false
2,923
-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 gpio_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import csr_utils_pkg::*; import dv_ba...
opentitan/hw/top_darjeeling/ip_autogen/gpio/dv/env/gpio_env_pkg.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.315
false
false
1,946
-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 PATTGEN functional coverage interface to the top level PATTGEN module. module pattgen_cov_bind; bind pattgen pattgen_cov_if u_pattgen_cov...
opentitan/hw/ip/pattgen/dv/cov/pattgen_cov_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.571
false
false
341
-1