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 class tl_sequencer extends dv_base_sequencer#(tl_seq_item, tl_agent_cfg); `uvm_component_utils(tl_sequencer) uvm_tlm_analysis_fifo#(tl_seq_item)...
opentitan/hw/dv/sv/tl_agent/tl_sequencer.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
542
-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 Repetition Count Symbol Test module // module entropy_src_repcnts_ht #( parameter int RegWidth = 16, parameter int...
opentitan/hw/ip/entropy_src/rtl/entropy_src_repcnts_ht.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.244
false
false
2,858
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_FI_OTP_FI_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_FI_OTP_FI_H_ #i...
opentitan/sw/device/tests/penetrationtests/firmware/fi/otp_fi.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.9
false
false
1,723
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Sampling physical interface of the flash // tb.dut.u_eflash.u_flash import flash_ctrl_top_specific_pkg::*; interface flash_ctrl_phy_cov_if ( i...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/cov/flash_ctrl_phy_cov_if.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.188
false
false
2,711
-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_common_vseq extends gpio_base_vseq; `uvm_object_utils(gpio_common_vseq) `uvm_object_new constraint num_trans_c { num_trans insi...
opentitan/hw/top_darjeeling/ip_autogen/gpio/dv/env/seq_lib/gpio_common_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.263
false
false
688
-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 aon_timer_base_vseq extends cip_base_vseq #( .RAL_T (aon_timer_reg_block), .CFG_T (aon_timer_env_cfg), ...
opentitan/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.233
false
false
11,383
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // --------------------------------------------- // Xbar environment virtual sequence // --------------------------------------------- class xbar_bas...
opentitan/hw/ip/tlul/generic_dv/env/seq_lib/xbar_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.109
false
false
4,226
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This VSEQ configures the timers and enables them long enough so the time the counter is disabled // is close to the boundary count > threshold. //...
opentitan/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_alternating_enable_on_off_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.202
false
false
4,203
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_keymgr_dpe.h" #include "sw/device/lib/dif...
opentitan/sw/device/tests/sim_dv/otp_ctrl_lc_signals_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.395
false
false
16,280
-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_cov extends dv_base_agent_cov #(usb20_agent_cfg); `uvm_component_utils(usb20_agent_cov) // the base class provides the followi...
opentitan/hw/dv/sv/usb20_agent/usb20_agent_cov.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.538
false
false
535
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Specialised version of uvm_mem for OpenTitan // // The specialised version adds the possibilities that a memory: // // - might not support partia...
opentitan/hw/dv/sv/dv_base_reg/dv_base_mem.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.301
false
false
3,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 class i3c_common_vseq extends i3c_base_vseq; `uvm_object_utils(i3c_common_vseq) constraint num_trans_c { num_trans inside {[1:2]}; } `uv...
opentitan/hw/ip/i3c/dv/env/seq_lib/i3c_common_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
652
-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/lib/crypto_test_lib.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/testing/rand_testutils.h" st...
opentitan/sw/device/tests/crypto/lib/crypto_test_lib.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.615
false
false
611
-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_dai_lock_vseq is developed to read/write lock DAI interface by partitions, and request // read/write access to check if correct status and...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_dai_lock_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.067
false
false
4,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 // // Reset synchronizer /** Conventional 2FF async assert sync de-assert reset synchronizer * */ module prim_rst_sync #( // ActiveHigh should be...
opentitan/hw/ip/prim_generic/rtl/prim_rst_sync.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.232
false
false
1,842
-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/static_dice_cdi_0.h" #include "sw/device/lib/base/macros.h" // CDI 0 cert signed by immutable ROM_EXT....
opentitan/sw/device/silicon_creator/lib/base/static_dice_cdi_0.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.833
false
false
601
-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_env_cfg extends cip_base_env_cfg #(.RAL_T(alert_handler_reg_block)); // ext component cfgs esc_en_vif esc_en_v...
opentitan/hw/top_darjeeling/ip_autogen/alert_handler/dv/env/alert_handler_env_cfg.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
1,984
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Assertions for alert sender/receiver pair. Intended to use with // a formal tool. `include "prim_assert.sv" module prim_alert_rxtx_assert_fpv ...
opentitan/hw/ip/prim/fpv/vip/prim_alert_rxtx_assert_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.185
false
false
7,516
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class dma_env extends cip_base_env #( .CFG_T (dma_env_cfg), .COV_T (dma_env_cov), .VIRTUAL_SEQUENCER_T(dma_virtual_se...
opentitan/hw/ip/dma/dv/env/dma_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.197
false
false
6,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 // Issue randomized bus-level events (Bus Resets, Suspend-Resume Signaling and/or VBUS // disconnections) during a streaming test. Note that when su...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_bus_rand_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.312
false
false
6,312
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Slicer chops the incoming bitstring into OutW granularity. // It supports fractional InW/OutW which fills 0 at the end of message. `include "pr...
opentitan/hw/ip/prim/rtl/prim_slicer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
796
-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/runtime/print.h" #include "sw/device/lib/tes...
opentitan/sw/device/silicon_creator/lib/drivers/uart_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.444
false
false
937
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/testing/test_framework/ujson_ottf_commands.h" #include "sw/device/lib/testing/json/mem.h" #include "sw/device/lib/testing/te...
opentitan/sw/device/lib/testing/test_framework/ujson_ottf_commands.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.214
false
false
907
-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/rstmgr.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_rstmgr.h" #include "sw/device/lib/testing/rstmgr_t...
opentitan/sw/device/tests/rstmgr_smoketest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.48
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 // -------------------- // Device sequence // -------------------- class spi_device_dma_seq extends spi_base_seq; `uvm_object_utils(spi_device_dma...
opentitan/hw/dv/sv/spi_agent/seq_lib/spi_device_dma_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.226
false
false
1,049
-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 control FSM // // This module contains the AES cipher core control FSM operating on // and producing the positive values of impo...
opentitan/hw/ip/aes/rtl/aes_cipher_control_fsm_p.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.084
false
false
12,123
-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_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(ac_range_check_env_cfg), .COV_T(ac_range_check_env_cov) ...
opentitan/hw/top_darjeeling/ip_autogen/ac_range_check/dv/env/ac_range_check_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
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 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_ENTROPY_SRC_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_ENTROPY_SRC_TESTUTILS_H_ #include "sw/devic...
opentitan/sw/device/lib/testing/entropy_src_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.722
false
false
2,137
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_ARCH_DEVICE_H_ #define OPENTITAN_SW_DEVICE_LIB_ARCH_DEVICE_H_ #include <stdbool.h> #include <stdint.h> #include "sw...
opentitan/sw/device/lib/arch/device.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.801
false
false
6,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 package prim_esc_pkg; typedef struct packed { logic esc_p; logic esc_n; } esc_tx_t; typedef struct packed { logic resp_p; log...
opentitan/hw/ip/prim/rtl/prim_esc_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.176
false
false
592
-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 "hw/top/dt/api.h" // Generated static const uint32_t clock_freqs[kDtClockCount] = { [kDtClockMain] = 1 * 1000 * 1...
opentitan/hw/top_darjeeling/sw/dt/sim_dv.c
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.312
false
false
534
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Send write only traffic class flash_ctrl_intr_wr_vseq extends flash_ctrl_otf_base_vseq; `uvm_object_utils(flash_ctrl_intr_wr_vseq) `uvm_object...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_intr_wr_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.208
false
false
884
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "hw/top/dt/dma.h" #include "hw/top/dt/pinmux.h" #include "hw/top/dt/spi_host.h" #include "sw/device/lib/arch/device.h" #include "sw/device/l...
opentitan/sw/device/tests/dma_abort.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.456
false
false
3,498
-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/otp.h" #include <stddef.h> #include "hw/top/dt/otp_ctrl.h" #include "sw/device/lib/base/abs_mmio.h"...
opentitan/sw/device/silicon_creator/lib/drivers/otp.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.113
false
false
4,357
-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 rv_plic. Intended to use with a formal tool. `include "prim_assert.sv" module rv_plic_assert_fpv #(parameter int NumSrc = 1,...
opentitan/hw/top_earlgrey/ip_autogen/rv_plic/fpv/vip/rv_plic_assert_fpv.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.216
false
false
5,380
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_TRIGGER_SCA_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_TRIGGE...
opentitan/sw/device/tests/penetrationtests/firmware/sca/trigger_sca.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.8
false
false
590
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class usbdev_enable_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_enable_vseq) `uvm_object_new task pre_start(); // need to dis...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_enable_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.372
false
false
2,009
-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 _DEFAULT_SOURCE // Make sure we get usleep() from unistd.h. #include <stddef.h> #include <unistd.h> #include "sw/device/lib/runtime/hart.h...
opentitan/sw/device/lib/runtime/hart_polyfills.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.812
false
false
692
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class clkmgr_common_vseq extends clkmgr_base_vseq; `uvm_object_utils(clkmgr_common_vseq) constraint num_trans_c {num_trans inside {[1 : 2]};} ...
opentitan/hw/top_earlgrey/ip_autogen/clkmgr/dv/env/seq_lib/clkmgr_common_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.2
false
false
2,438
-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 upper range of clkdiv values [FF+1: FFFF] class spi_host_upper_range_clkdiv_vseq extends spi_host_speed_vseq; `uvm_object_utils(spi_ho...
opentitan/hw/ip/spi_host/dv/env/seq_lib/spi_host_upper_range_clkdiv_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.298
false
false
2,606
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class jtag_agent_cov extends dv_base_agent_cov #(jtag_agent_cfg); `uvm_component_utils(jtag_agent_cov) // the base class provides the following ...
opentitan/hw/dv/sv/jtag_agent/jtag_agent_cov.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.538
false
false
531
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_BOOTSTRAP_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_BOOTSTRAP_H_ #include "sw/device/lib/bas...
opentitan/sw/device/silicon_creator/rom/bootstrap.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.854
false
false
1,333
-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 CSRNG_GLEN_COVBIN \ csrng_glen: coverpoint item.glen { \ // TODO: EDN testbench currently sends a max of 64 endpoints, which is 64/...
opentitan/hw/dv/sv/csrng_agent/csrng_agent_cov.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.127
false
false
5,315
-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_env_cfg extends cip_base_env_cfg #(.RAL_T(kmac_reg_block)); // ext interfaces kmac_vif kmac_vif; // If masking is enabled, this is...
opentitan/hw/ip/kmac/dv/env/kmac_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.288
false
false
3,436
-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 sha3pad_fpv import sha3_pkg::*; #( parameter bit EnMasking = 0, localparam int Share = (EnMasking) ? 2 : 1 ) ( input clk_i, inpu...
opentitan/hw/ip/kmac/fpv/tb/sha3pad_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.404
false
false
5,543
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/tests/penetrationtests/firmware/sca/sha2_otbn_sca.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/status....
opentitan/sw/device/tests/penetrationtests/firmware/sca/sha2_otbn_sca.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.05
false
false
12,551
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // this is a base sequence for alert_receiver side class alert_receiver_base_seq extends dv_base_seq #( .REQ (alert_seq_item), .CFG_T...
opentitan/hw/dv/sv/alert_agent/seq_lib/alert_receiver_base_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.118
false
false
1,444
-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_smoke_test extends edn_base_test; `uvm_component_utils(edn_smoke_test) `uvm_component_new function void configure_env(); super....
opentitan/hw/ip/edn/dv/tests/edn_smoke_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
560
-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/kdf.h" #include "sw/device/lib/base/math.h" #include "sw/device/lib/base/memory.h" #include "sw...
opentitan/sw/device/tests/crypto/cryptotest/firmware/kdf.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.109
false
false
7,745
-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_USB_TRANSFER_H_ #define OPENTITAN_HW_DV_DPI_USBDPI_USB_TRANSFER_H_ #include <assert.h> #include <stdbool.h> #inclu...
opentitan/hw/dv/dpi/usbdpi/usb_transfer.h
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.774
false
false
7,399
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // --------------------------------------------- // Xbar environment class // --------------------------------------------- class xbar_env extends dv...
opentitan/hw/ip/tlul/generic_dv/env/xbar_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.182
false
false
4,556
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Register file for buffered OTP partitions. ECC is used to detect up // to two simultaneous errors within each 64bit word. `include "prim_assert...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/rtl/otp_ctrl_ecc_reg.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.146
false
false
2,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 class chip_sw_pwrmgr_deep_sleep_all_wake_ups_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_pwrmgr_deep_sleep_all_wake_ups_vseq) `uvm_...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_pwrmgr_deep_sleep_all_wake_ups_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.182
false
false
6,009
-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_csrng.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/bas...
opentitan/sw/device/lib/dif/dif_csrng.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.094
false
false
12,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 class racl_ctrl_scoreboard extends cip_base_scoreboard #(.CFG_T(racl_ctrl_base_env_cfg), .RA...
opentitan/hw/ip/racl_ctrl/dv/env/racl_ctrl_scoreboard.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.335
false
false
28,874
-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/dbg_print.h" #include <assert.h> #include <stdarg.h> #include <stdbool.h> #include <stdint.h> #ifndef OT_PL...
opentitan/sw/device/silicon_creator/lib/dbg_print.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.163
false
false
6,071
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/runti...
opentitan/sw/device/lib/testing/test_framework/ottf_flow_control_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
1,953
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Sequence that glitches inputs or outputs of the lockstep or the main Ibex core and ensures that // suitable alerts are triggered. class chip_sw_rv...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_rv_core_ibex_lockstep_glitch_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.242
false
false
38,911
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_EPMP_STATE_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_EPMP_STATE_H_ #include <stdint.h> #in...
opentitan/sw/device/silicon_creator/lib/epmp_state.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.729
false
false
7,713
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/crypto/impl/state.h" #include <string.h> #include "hw/top/dt/otbn.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/...
opentitan/sw/device/lib/crypto/impl/state.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.216
false
false
4,160
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/crypto/impl/kats.h" #include "sw/device/lib/base/hardened_memory.h" #include "sw/device/lib/crypto/drivers/entropy.h" #inclu...
opentitan/sw/device/lib/crypto/impl/kats.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.155
false
false
62,470
-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 otbn_model_agent_pkg; // dep packages import uvm_pkg::*; import dv_base_agent_pkg::*; import dv_utils_pkg::*; import dv_lib_pkg::*;...
opentitan/hw/ip/otbn/dv/uvm/otbn_model_agent/otbn_model_agent_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.29
false
false
1,290
-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_env extends cip_base_env #( .CFG_T (alert_handler_env_cfg), .COV_T (alert_handler_env_cov), ...
opentitan/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/alert_handler_env.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.09
false
false
2,961
-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_UJSON_UJSON_RUST_H_ #define OPENTITAN_SW_DEVICE_LIB_UJSON_UJSON_RUST_H_ // Definitions of the UJSON macros that emit...
opentitan/sw/device/lib/ujson/ujson_rust.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.485
false
false
4,103
-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 force the alert accumulation count to large value, then check if the accum count // will saturate and won't overflow. `define CLASS...
opentitan/hw/top_darjeeling/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_alert_accum_saturation_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.115
false
false
4,226
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class usbdev_bad_traffic_vseq extends usbdev_bus_rand_vseq; `uvm_object_utils(usbdev_bad_traffic_vseq) `uvm_object_new // Number of types of ...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_bad_traffic_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.272
false
false
11,128
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <assert.h> #include <limits.h> #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base...
opentitan/sw/device/tests/alert_handler_ping_ok_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.234
false
false
9,490
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Protocol checker for TL-UL ports using assertions. Supports interface-widths // up to 64bit. `include "prim_assert.sv" module tlul_assert #( p...
opentitan/hw/ip/tlul/rtl/tlul_assert.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.245
false
false
18,437
-1
// -*- Mode: Verilog -*- // Filename : csrng_if.sv // Description : // Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 interface csrng_if (input clk, input rst_...
opentitan/hw/dv/sv/csrng_agent/csrng_if.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.211
false
false
3,523
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Byte-merge module for collecting words in SPI Host IP // module spi_host_byte_merge ( input clk_i, input rst_ni...
opentitan/hw/ip/spi_host/rtl/spi_host_byte_merge.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.121
false
false
1,804
-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/abs_mmio.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_alert_handler.h" #include "sw/device/li...
opentitan/sw/device/tests/sensor_ctrl_alerts_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.389
false
false
8,567
-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_VERIFY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_ROM_EXT_VERIFY_H_ #include...
opentitan/sw/device/silicon_creator/rom_ext/rom_ext_verify.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.789
false
false
1,875
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Provides a mechanism to manipulate and access a memory instance in the design via backdoor. // // This is a class based implementation, which on i...
opentitan/hw/dv/sv/mem_bkdr_util/mem_bkdr_util.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
41,913
-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_TEST_FRAMEWORK_OTTF_ALERTS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_OTTF_ALERTS_H_ #include...
opentitan/sw/device/lib/testing/test_framework/ottf_alerts.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.843
false
false
2,725
-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_and2 #( parameter int Width = 1 ) ( input [Width-1:0] in0_i, input [Width-1:0] in1_i, ou...
opentitan/hw/ip/prim_generic/rtl/prim_and2.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
396
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Passthrough mode filtering of commands scenario, filter on and off class spi_device_pass_cmd_filtering_vseq extends spi_device_pass_base_vseq; `...
opentitan/hw/ip/spi_device/dv/env/seq_lib/spi_device_pass_cmd_filtering_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.31
false
false
1,369
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Description: entropy_src Repetition Count Test module // module entropy_src_repcnt_ht #( parameter int RegWidth = 16, parameter in...
opentitan/hw/ip/entropy_src/rtl/entropy_src_repcnt_ht.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.177
false
false
4,272
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module mbx_fsm #( parameter bit CfgOmbx = 1'b1 // 1'b1: Obmbx, 1'b0: Ibmbx ) ( input logic clk_i, input logic rs...
opentitan/hw/ip/mbx/rtl/mbx_fsm.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.17
false
false
6,520
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class usbdev_av_empty_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_av_empty_vseq) `uvm_object_new // Choose the Available SETUP Bu...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_av_empty_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
2,968
-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 all ERR_CODE fields are asserted as expected, as well as the ERR_CODE_TEST register class entropy_src_err_vseq extends entropy_src_base_vseq...
opentitan/hw/ip/entropy_src/dv/env/seq_lib/entropy_src_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.114
false
false
8,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 // Trigger a software reset (CONTROL.SW_RST) randomly during an ongoing transaction // - Check rx and tx queues are empty post SW_RST application // ...
opentitan/hw/ip/spi_host/dv/env/seq_lib/spi_host_sw_reset_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.274
false
false
3,558
-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/csr.h" #include "sw/device/lib/base/hardened_memory.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/cryp...
opentitan/sw/device/lib/base/hardened_memory_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.063
false
false
20,665
-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 will program DUT in illegal mode // then trigger start to see if triggering // an illegal configuration can be forced // scoreboard is disab...
opentitan/hw/ip/aes/dv/env/seq_lib/aes_manual_config_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.381
false
false
3,062
-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 virtual sequence triggers OTP macro and check fatal errors by backdoor injecting ECC errors // and read back the injected error via DAI inter...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_otp_ctrl_escalation_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.389
false
false
2,091
-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_sleep_pin_mio_dio_val_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_sleep_pin_mio_dio_val_vseq) `uvm_object_new type...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_sleep_pin_mio_dio_val_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.302
false
false
8,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 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_SIGVERIFY_KEYS_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_SIGVERIFY_KEYS_H_ #include...
opentitan/sw/device/silicon_creator/rom_ext/sigverify_keys.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.817
false
false
2,851
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Register slice conforming to Comportability guide. module prim_subreg_ext #( parameter int unsigned DW = 32 ) ( input re, input ...
opentitan/hw/ip/prim/rtl/prim_subreg_ext.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.296
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 // // Description: entropy_src main state machine module // // determines when new entropy is ready to be forwarded `include "prim_assert.sv" modu...
opentitan/hw/ip/entropy_src/rtl/entropy_src_main_sm.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.129
false
false
9,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 class chip_sw_inject_scramble_seed_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_inject_scramble_seed_vseq) `uvm_object_new virtu...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_inject_scramble_seed_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
2,005
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rv_timer_random_vseq extends rv_timer_base_vseq; `uvm_object_utils(rv_timer_random_vseq) `uvm_object_new rand bit [NUM_TIMERS-1:0] en_ti...
opentitan/hw/ip/rv_timer/dv/env/seq_lib/rv_timer_random_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.185
false
false
6,999
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // One chip level interface to rule them all, and in the IOs, bind them... // // The top_earlgrey SoC provides a bunch of fixed-function and muxed IO ...
opentitan/hw/top_earlgrey/dv/env/chip_if.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.241
false
false
57,248
-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_SPX_PROD_KEY_1_SPX_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_KEYS_FAKE_SPX_PROD_KE...
opentitan/sw/device/silicon_creator/rom/keys/fake/spx/prod_key_1_spx.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.583
false
false
711
-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 to walk through DAI states and request keys // Leave out the last 64 bits of a partition, which usually hold its digest. Zeroizabl...
opentitan/hw/top_earlgrey/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.11
false
false
9,889
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Memory walk for the windows of the I3C block. // // The generic walk covers the memories that are not excluded from it (see // `i3c_env_cfg::set_m...
opentitan/hw/ip/i3c/dv/env/seq_lib/i3c_csr_mem_walk_seq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.254
false
false
3,263
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // AST AON-Main Domain Communication Package // Defines structured communication between AON and Main power domains // //##########################...
opentitan/hw/top_englishbreakfast/ip/ast/rtl/ast_aon_main_pkg.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
2,749
-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_CSRNG_SHARED_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_CSRNG_SHARED_H_ #include "sw/device/lib/base/bitfiel...
opentitan/sw/device/lib/dif/dif_csrng_shared.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.73
false
false
3,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 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_KMAC_SCA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_KMAC_SCA_COMMAND...
opentitan/sw/device/tests/penetrationtests/json/kmac_sca_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
2,085
-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 package has functions that perform mem_bkdr_util accesses to different partitions in OTP. // These functions end up performing reads and writ...
opentitan/hw/top_earlgrey/ip_autogen/otp_ctrl/dv/env/otp_ctrl_mem_bkdr_util_pkg.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.113
false
false
10,938
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This sequence will randomly issue key otbn, sram, nvm key requests during or after partition // is locked. // This sequence will check if nonce, s...
opentitan/hw/top_earlgrey/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_parallel_key_req_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.204
false
false
1,749
-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_SYSRST_CTRL_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_SYSRST_CTRL_TESTUTILS_H_ #include <stdint.h...
opentitan/sw/device/lib/testing/sysrst_ctrl_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.891
false
false
1,885
-1