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 //############################################################################ // *Name: ast_pkg // *Module Description: AST Package //###############...
opentitan/hw/top_earlgrey/ip/ast/rtl/ast_pkg.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.095
false
false
12,199
-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 for scan sync and clock gating cell module clkmgr_root_ctrl import clkmgr_pkg::*; import prim_mubi_pkg::mubi4_t; ( input clk_i, ...
opentitan/hw/top_earlgrey/ip_autogen/clkmgr/rtl/clkmgr_root_ctrl.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
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 #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/base/csr.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/dif/dif_...
opentitan/sw/device/tests/sram_ctrl_execution_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.37
false
false
3,891
-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_pwrmgr.h" #include <assert.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/mmio.h" #includ...
opentitan/sw/device/lib/dif/dif_pwrmgr.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.222
false
false
17,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 adc_ctrl_env extends cip_base_env #( .CFG_T (adc_ctrl_env_cfg), .COV_T (adc_ctrl_env_cov), .VIRTUAL_SEQUENCER_T...
opentitan/hw/ip/adc_ctrl/dv/env/adc_ctrl_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.132
false
false
1,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 // Captures reads and writes to DMI SBA registers to infer transactions on the SBA interface. // // Unlike the name suggests, this monitor does not a...
opentitan/hw/dv/sv/jtag_dmi_agent/sba_access_monitor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.227
false
false
13,127
-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/watchdog.h" #include "hw/top/dt/aon_timer.h" #include "hw/top/dt/api.h" #include "hw/top/dt/pwrmgr.h...
opentitan/sw/device/silicon_creator/lib/drivers/watchdog.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.197
false
false
4,605
-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_RV_CORE_IBEX_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_RV_CORE_IBEX_TESTUTILS_H_ #include <stdboo...
opentitan/sw/device/lib/testing/rv_core_ibex_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.642
false
false
2,621
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A sequence that runs a program multiple times and corrupts the `acc_intg_q` register of // `otbn_mac_bignum` while OTBN is still running. class o...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_mac_bignum_acc_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.206
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 // performance test vseq class spi_host_performance_vseq extends spi_host_smoke_vseq; `uvm_object_utils(spi_host_performance_vseq) `uvm_object_ne...
opentitan/hw/ip/spi_host/dv/env/seq_lib/spi_host_performance_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.109
false
false
1,932
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // sideload test class kmac_sideload_vseq extends kmac_long_msg_and_output_vseq; `uvm_object_utils(kmac_sideload_vseq) `uvm_object_new // We ...
opentitan/hw/ip/kmac/dv/env/seq_lib/kmac_sideload_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.375
false
false
532
-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 probes into AES to verify that the masking can be switched off if // these four conditions are met together: // - The corresponding ...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_aes_masking_off_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.144
false
false
8,554
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_host_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(spi_host_env_cfg), .COV_T(spi_host_env_cov) ); spi_sequenc...
opentitan/hw/ip/spi_host/dv/env/spi_host_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
453
-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: // The wakeup_reset test randomly enables wakeups and resets, info capture, and interrupts, // and sends wakeups and resets in close t...
opentitan/hw/ip_templates/pwrmgr/dv/env/seq_lib/pwrmgr_repeat_wakeup_reset_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.118
false
false
2,788
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Handle clock manager bypass requests module clkmgr_byp import clkmgr_pkg::*; import lc_ctrl_pkg::lc_tx_t; import prim_mubi_pkg::mubi4_t; ...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/rtl/clkmgr_byp.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.129
false
false
4,044
-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_common_vseq extends kmac_base_vseq; `uvm_object_utils(kmac_common_vseq) constraint num_trans_c { num_trans inside {[1:2]}; } ...
opentitan/hw/ip/kmac/dv/env/seq_lib/kmac_common_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.133
false
false
5,625
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Faux Flash Prog Control // module flash_ctrl_prog import flash_ctrl_top_specific_pkg::*; ( input clk_i, input rst_ni, // Control Interfa...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/rtl/flash_ctrl_prog.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.179
false
false
5,574
-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_virtual_sequencer extends cip_base_virtual_sequencer #(.CFG_T(aes_env_cfg), ...
opentitan/hw/ip/aes/dv/env/aes_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
499
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/rom_ext/rom_ext_boot_services.h" #include "sw/device/silicon_creator/lib/boot_data.h" #include "sw/device/silico...
opentitan/sw/device/silicon_creator/rom_ext/rom_ext_boot_services.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.231
false
false
8,299
-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_errs_vseq is developed to randomly read/write to any address within OTP: // - A writeblank error will be triggered if write to a non-...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_dai_errs_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.209
false
false
1,522
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * OTBN vectorized adder * * This module implements a configurable vectorized adder which performs element-wise * additions on two input vecto...
opentitan/hw/ip/otbn/rtl/otbn_vec_adder.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.609
false
false
6,194
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Description: CSRNG command staging module. // `include "prim_assert.sv" module csrng_cmd_stage import csrng_pkg::*; ( input logic ...
opentitan/hw/ip/csrng/rtl/csrng_cmd_stage.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.209
false
false
21,613
-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/keyblob.h" #include "sw/device/lib/crypto/include/config.h" #include "sw/device/lib/crypto/include/cryptolib_buil...
opentitan/sw/device/tests/crypto/ecdsa_p384_sideload_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.361
false
false
5,336
-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 assertions that check the output resets read-only value of the alert and cpu_info_attr. interface rstmgr_sw_rst_sva_if ( input logic [r...
opentitan/hw/top_earlgrey/ip_autogen/rstmgr/dv/sva/rstmgr_sw_rst_sva_if.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.105
false
false
1,684
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Tests the different kinds of reset: POR, low power wakeup, hardware reset, debug_mode reset, // and software initiated peripheral resets. class rs...
opentitan/hw/top_englishbreakfast/ip_autogen/rstmgr/dv/env/seq_lib/rstmgr_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.198
false
false
5,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 class chip_sw_sensor_ctrl_status_intr_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_sensor_ctrl_status_intr_vseq) `uvm_object_new ...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_sensor_ctrl_status_intr_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.113
false
false
2,649
-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_INTERNAL_STATUS_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_INTERNAL_STATUS_H_ #ifndef USING_INTERNAL_STATUS #error...
opentitan/sw/device/lib/base/internal/status.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.786
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 class i3c_base_vseq extends cip_base_vseq #( .RAL_T (i3c_reg_block), .CFG_T (i3c_env_cfg), .COV_T ...
opentitan/hw/ip/i3c/dv/env/seq_lib/i3c_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.13
false
false
1,896
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stddef.h> #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/s...
opentitan/sw/device/tests/crt_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.345
false
false
9,575
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This module stretches the POR // module rstmgr_por #( parameter int FilterStages = 3, parameter int unsigned StretchCount = 32 ) ( input ...
opentitan/hw/top_darjeeling/ip_autogen/rstmgr/rtl/rstmgr_por.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.12
false
false
2,339
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class entropy_src_alert_test extends entropy_src_base_test; `uvm_component_utils(entropy_src_alert_test) `uvm_component_new function void con...
opentitan/hw/ip/entropy_src/dv/tests/entropy_src_alert_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.136
false
false
1,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/base/hardened.h" #include "sw/device/lib/testing/test_framework/check.h" #include "sw/device/lib/testing/test_framework/ottf_...
opentitan/sw/device/silicon_creator/lib/cert/dice_cwt_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.216
false
false
2,267
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class usb20_host_driver extends usb20_driver; `uvm_component_utils(usb20_host_driver) // the base class provides the following handles for use: ...
opentitan/hw/dv/sv/usb20_agent/usb20_host_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.391
false
false
818
-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_UTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_OTTF_UTILS_H_ #include <...
opentitan/sw/device/lib/testing/test_framework/ottf_utils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.702
false
false
4,900
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Combinational buffer with enable signal. There is no suitable primitive at present. module i3c_buf_en #( parameter int Width = 1, parameter...
opentitan/hw/ip/i3c/rtl/i3c_buf_en.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
641
-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 "hw/top/dt/adc_ctrl.h" #include "sw/device/lib/base/abs_mm...
opentitan/sw/device/tests/sim_dv/pwrmgr_random_sleep_power_glitch_reset_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.226
false
false
22,156
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/nvm_ctrl.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/lib/base/macros.h" #include "sw/dev...
opentitan/sw/device/silicon_creator/lib/nvm_ctrl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.224
false
false
33,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 #include <stdbool.h> #include "sw/device/lib/testing/test_framework/ottf_main.h" OTTF_DEFINE_TEST_CONFIG(); bool test_main(void) { return true; }
opentitan/sw/device/lib/testing/test_rom/test_rom_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.714
false
false
320
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // misc ports connectivity check class flash_ctrl_connect_vseq extends flash_ctrl_base_vseq; `uvm_object_utils(flash_ctrl_connect_vseq) `uvm_obje...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_connect_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.104
false
false
3,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 // This contains SVA assertions to check the external clock bypass control outputs. // // Notice when a condition fails we allow the logic to generat...
opentitan/hw/ip_templates/clkmgr/dv/sva/clkmgr_extclk_sva_if.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
2,906
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // #include "sw/device/lib/dif/dif_pinmux.h" #include "sw/device/lib/runtime/ibex.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/r...
opentitan/sw/device/tests/usbdev_aon_wake_disconnect_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.325
false
false
5,162
-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/shutdown.h" #include <assert.h> #include "hw/top/dt/lc_ctrl.h" #include "hw/top/dt/otp_ctrl.h" #include "hw...
opentitan/sw/device/silicon_creator/lib/shutdown.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.337
false
false
20,346
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/manuf/lib/personalize.h" #include "sw/device/lib/base/multibits.h" #include "sw/device/lib/base/status.h" #inclu...
opentitan/sw/device/silicon_creator/manuf/lib/personalize.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.333
false
false
13,589
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_LIB_SRAM_START_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_LIB_SRAM_START_H_ /* Values us...
opentitan/sw/device/silicon_creator/manuf/lib/sram_start.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
680
-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 adds interfaces that enable error injection in selected modules. module top_darjeeling_error_injection_ifs_bind; `ifndef GATE_LEVEL // This...
opentitan/hw/top_darjeeling/dv/env/top_darjeeling_error_injection_ifs_bind.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.462
false
false
642
-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_agent_pkg; // dep packages import uvm_pkg::*; import dv_base_agent_pkg::*; import dv_lib_pkg::*; import dv_utils_pkg::*; im...
opentitan/hw/dv/sv/alert_agent/alert_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.17
false
false
1,557
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/status.h" #include "sw/device/lib/dif/dif_flash_ctrl.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/t...
opentitan/sw/device/silicon_creator/rom_ext/e2e/ownership/flash_regions.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.216
false
false
2,093
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <assert.h> #include <limits.h> #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base...
opentitan/sw/device/tests/pwrmgr_all_reset_reqs_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.343
false
false
4,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 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_MOCK_BOOT_DATA_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_MOCK_BOOT_DATA_H_ #include "sw/dev...
opentitan/sw/device/silicon_creator/lib/mock_boot_data.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
1,043
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Response sequence for Push and Pull protocols. // This sequence will infinitely pol for any DUT requests detected by // the monitor, and trigger t...
opentitan/hw/dv/sv/push_pull_agent/seq_lib/push_pull_device_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
2,536
-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 DV specific pwrmgr usbdev smoketest that fakes usb activity. // Using the phy drive function of usbdev, we present the usbdev is in su...
opentitan/sw/device/tests/pwrmgr_usbdev_smoketest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.329
false
false
3,865
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_MOCK_ALERT_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_MOCK_ALERT_H_ #include...
opentitan/sw/device/silicon_creator/lib/drivers/mock_alert.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.444
false
false
1,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 #include "sw/device/silicon_creator/rom/sigverify_otp_keys.h" #include "sw/device/silicon_creator/lib/drivers/hmac.h" #include "sw/device/silicon_cr...
opentitan/sw/device/silicon_creator/rom/sigverify_otp_keys.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.295
false
false
10,672
-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 aes_err_injection_bind; // fault injection IF for state of main control FSM - see aes_fi_vseq.sv bind aes_control_fsm signal_force #(....
opentitan/hw/ip/aes/dv/err_injection_if/aes_err_injection_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.257
false
false
2,335
-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_pad_attr import prim_pad_wrapper_pkg::*; #( parameter pad_type_e PadType = BidirStd // currently ignore...
opentitan/hw/ip/prim_generic/rtl/prim_pad_attr.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.403
false
false
2,135
-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_FIRMWARE_KDF_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_FIRMWARE_KDF_H_ #include "sw...
opentitan/sw/device/tests/crypto/cryptotest/firmware/kdf.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.889
false
false
493
-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 clkmgr_env_pkg; // dep packages import uvm_pkg::*; import sec_cm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import dv_lib...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/dv/env/clkmgr_env_pkg.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.132
false
false
4,017
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //############################################################################ // *Name: sys_clk // *Module Description: System Clock //##############...
opentitan/hw/top_darjeeling/ip/ast/rtl/sys_clk.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.211
false
false
1,992
-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 tlul_request_loopback import tlul_pkg::*; #( parameter bit ErrorRsp = 1 // 1: Return TLUL error on on squash ) ( input logic ...
opentitan/hw/ip/tlul/rtl/tlul_request_loopback.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.151
false
false
4,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 class otbn_model_agent extends dv_base_agent #( .CFG_T (otbn_model_agent_cfg), .MONITOR_T (otbn_model_monitor), .DRIVER_T (...
opentitan/hw/ip/otbn/dv/uvm/otbn_model_agent/otbn_model_agent.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.217
false
false
979
-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: // This sequence creates escalation clock and reset malfunction at FastPwrStateActive state. // This event will trigger timeout count...
opentitan/hw/top_earlgrey/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_esc_clk_rst_malfunc_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.378
false
false
1,929
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rom_ctrl_common_vseq extends rom_ctrl_base_vseq; `uvm_object_utils(rom_ctrl_common_vseq) `uvm_object_new // If this flag is set, we wil...
opentitan/hw/ip/rom_ctrl/dv/env/seq_lib/rom_ctrl_common_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.186
false
false
8,449
-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/runtime/log.h" #include "sw/device/lib/testing/rstmgr_testutils.h" #include "sw/dev...
opentitan/sw/device/silicon_creator/lib/drivers/rstmgr_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.489
false
false
1,834
-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/otbn.h" #include "sw/device/lib/crypto/drivers/entropy.h" #include "sw/device/lib/dif/dif_keymgr_dpe.h" #include "sw/device/lib/d...
opentitan/sw/device/silicon_creator/lib/otbn_boot_services_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.264
false
false
11,779
-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/status.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testin...
opentitan/sw/device/silicon_creator/rom_ext/e2e/lockdown/sram_lockdown.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.273
false
false
1,162
-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 <stdint.h> #include <stdio.h> #include <stdlib.h> #include "hmac.h" #include "hmac_wrap.h" #include "sha.h" #include "s...
opentitan/hw/ip/hmac/dv/cryptoc_dpi/cryptoc_dpi.c
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.23
false
false
5,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 module otbn_top_coco #( // Instruction data width parameter ImemDataWidth = 39, // Data path width for BN (wide) instructions, in bits. param...
opentitan/hw/ip/otbn/pre_sca/alma/rtl/otbn_top_coco.v
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
7,562
-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 escalation sender/receiver pair. Intended to use with // a formal tool. `include "prim_assert.sv" module prim_esc_rxtx_assert_f...
opentitan/hw/ip/prim/fpv/vip/prim_esc_rxtx_assert_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.236
false
false
5,098
-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 sensor_ctrl_pkg; // alert position parameter int RecovAlert = 0; parameter int FatalAlert = 1; // Total events parameter int T...
opentitan/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl_pkg.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
455
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_SENSOR_CTRL_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_SENSOR_CTRL_TESTUTILS_H_ #include <assert.h...
opentitan/sw/device/lib/testing/sensor_ctrl_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.938
false
false
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 #include "sw/device/lib/base/status.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testing/test_framework/check.h" #include "sw/de...
opentitan/sw/device/tests/ottf_dual_console_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.533
false
false
1,362
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This sequence issues a read to the flash controller. Inside the flash controller // a fault is injected into the address. The goal of this sequenc...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_host_addr_infection_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.215
false
false
3,275
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_pinmux.h" #include "sw/device/lib/dif/dif_pwrmgr.h" #include "sw/device/lib/dif/...
opentitan/sw/device/tests/sim_dv/sysrst_ctrl_ec_rst_l_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.171
false
false
8,429
-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 extclk vseq causes the external clock selection to be triggered. More details // in the clkmgr_testplan.hjson file. class clkmgr_extclk_vseq e...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/dv/env/seq_lib/clkmgr_extclk_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.088
false
false
9,859
-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_stress_all_vseq extends aon_timer_base_vseq; `uvm_object_utils(aon_timer_stress_all_vseq) extern constraint num_trans_c; exte...
opentitan/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.122
false
false
1,753
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Bound into dut and used to help control assertions // This interface uses hierarchical references to control some assertions inside the design. //...
opentitan/hw/ip/otbn/dv/uvm/env/otbn_ssctrl_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.316
false
false
950
-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_SRAM_CTRL_SLEEP_SRAM_RET_CONTENTS_IMPL_H_ #define OPENTITAN_SW_DEVICE_TESTS_SRAM_CTRL_SLEEP_SRAM_RET_CONTENTS_IMPL_...
opentitan/sw/device/tests/sram_ctrl_sleep_sram_ret_contents_impl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.933
false
false
752
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class racl_ctrl_common_vseq extends racl_ctrl_base_vseq; `uvm_object_utils(racl_ctrl_common_vseq) constraint num_trans_c { num_trans inside ...
opentitan/hw/ip/racl_ctrl/dv/env/seq_lib/racl_ctrl_common_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.188
false
false
482
-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 otbn_env extends cip_base_env #( .CFG_T (otbn_env_cfg), .COV_T (otbn_env_cov), .VIRTUAL_SEQUENCER_T(otbn_...
opentitan/hw/ip/otbn/dv/uvm/env/otbn_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.097
false
false
5,689
-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 otp_ctrl_test_pkg; // dep packages import uvm_pkg::*; import cip_base_pkg::*; import otp_ctrl_env_pkg::*; // macro includes `inc...
opentitan/hw/ip_templates/otp_ctrl/dv/tests/otp_ctrl_test_pkg.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
472
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_DATATYPES_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_DATATYPES_H_ #include <stddef.h> #include...
opentitan/sw/device/lib/crypto/include/datatypes.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.653
false
false
21,748
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/dif/dif_gpio.h" #include "sw/device/lib/dif/dif_p...
opentitan/sw/device/tests/sysrst_ctrl_ulp_z3_wakeup_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.221
false
false
9,043
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * State machine to handle actions that occur around the start and stop of OTBN. * * This receives the start signals from the top-level and pas...
opentitan/hw/ip/otbn/rtl/otbn_start_stop_control.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.248
false
false
22,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 class pattgen_item extends uvm_sequence_item; bit data_q[$]; `uvm_object_utils_begin(pattgen_item); `uvm_field_queue_int(data_q, UVM_DEFAUL...
opentitan/hw/dv/sv/pattgen_agent/pattgen_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
391
-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/usb_testutils_controlep.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/dif/dif_usbdev.h" #include...
opentitan/sw/device/lib/testing/usb_testutils_controlep.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.154
false
false
18,055
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This module decodes escalation enable pulses that have been encoded using // the prim_esc_sender module. // // The module supports in-band ping ...
opentitan/hw/ip/prim/rtl/prim_esc_receiver.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.323
false
false
9,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 // Base sequence from which all other sequences must be derived. It contains the instantiation of // the "dut_cfg" class which itself contains all va...
opentitan/hw/top_darjeeling/ip_autogen/ac_range_check/dv/env/seq_lib/ac_range_check_base_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.164
false
false
8,381
-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_SOC_DBG_CTRL_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SOC_DBG_CTRL_H_ /** * @file * @brief <a href="/boo...
opentitan/sw/device/lib/dif/dif_soc_dbg_ctrl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.714
false
false
1,050
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This module implements the crash dump functionality `include "prim_assert.sv" module rstmgr_crash_info import rstmgr_pkg::*; import rstmgr_re...
opentitan/hw/top_englishbreakfast/ip_autogen/rstmgr/rtl/rstmgr_crash_info.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.196
false
false
1,854
-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_PATTGEN_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_PATTGEN_H_ /** * @file * @brief <a href="/book/hw/ip/pa...
opentitan/sw/device/lib/dif/dif_pattgen.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.784
false
false
5,344
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Pulse synchronizer: synchronizes a pulse from source clock domain (clk_src) // to destination clock domain (clk_dst). Each pulse has the length ...
opentitan/hw/ip/prim/rtl/prim_pulse_sync.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.424
false
false
3,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 class keymgr_dpe_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(keymgr_dpe_env_cfg), .COV_T(keymgr_dpe_env_cov) ); `uvm_c...
opentitan/hw/ip/keymgr_dpe/dv/env/keymgr_dpe_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
398
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class push_pull_item #(parameter int HostDataWidth = 32, parameter int DeviceDataWidth = HostDataWidth) extends uvm_sequence...
opentitan/hw/dv/sv/push_pull_agent/push_pull_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.152
false
false
1,935
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_HW_IP_AES_MODEL_CRYPTO_H_ #define OPENTITAN_HW_IP_AES_MODEL_CRYPTO_H_ /** * AES cipher mode */ typedef enum crypto_mode { kCry...
opentitan/hw/ip/aes/model/crypto.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.694
false
false
2,766
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Implementation of a number of Standby Controller-related registers that exhibit special behavior, // e.g. those that demand conditional writing....
opentitan/hw/ip/i3c/rtl/i3c_stby_cr_regs.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.228
false
false
13,359
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STDINT_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STDINT_H_ /** * @file * @brief C lib...
opentitan/sw/device/lib/base/freestanding/stdint.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.767
false
false
6,654
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // N:1 fixed priority arbiter module (index 0 has highest prio) // // Verilog parameter // N: Number of request ports // DW: ...
opentitan/hw/ip/prim/rtl/prim_arbiter_fixed.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.397
false
false
6,132
-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_TRIGGER_SCA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_TRIGGER_SCA_C...
opentitan/sw/device/tests/penetrationtests/json/trigger_sca_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.739
false
false
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 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_SHA2_SHA512_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_SHA2_SHA512_H_ #include "stdint.h" #include "...
opentitan/sw/device/lib/crypto/impl/sha2/sha512.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.809
false
false
4,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 // // Flash Phy Read Buffers Dependency // // This module handles the dependency between response order FIFO // and the buffers. // Basically, it ensu...
opentitan/hw/ip_templates/flash_ctrl/rtl/flash_phy_rd_buf_dep.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.315
false
false
4,450
-1