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 // A simple "wrapper" class that holds the virtual interfaces and the configuration knobs needed by // racl_ctrl_env. This avoids the tb and environm...
opentitan/hw/ip/racl_ctrl/dv/env/racl_ctrl_env_wrapper_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.611
false
false
914
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_UTIL_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_UTIL_H_ #include <stddef.h> #inclu...
opentitan/sw/device/silicon_creator/lib/base/util.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.768
false
false
2,273
-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 the otbn_alu_bignum and used to help collect ISPR information for coverage. interface otbn_alu_bignum_if ( input clk_i, ...
opentitan/hw/ip/otbn/dv/uvm/env/otbn_alu_bignum_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.275
false
false
1,620
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_JSON_PINMUX_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_JSON_PINMUX_H_ #include "sw/device/lib/ujson/ujson_der...
opentitan/sw/device/lib/testing/json/pinmux.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.07
false
false
23,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 uart_driver extends dv_base_driver #(uart_item, uart_agent_cfg); `uvm_component_utils(uart_driver) `uvm_component_new task on_enter_res...
opentitan/hw/dv/sv/uart_agent/uart_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.119
false
false
2,287
-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 sw_test_status_pkg; // Enum to indicate the SW test status. typedef enum bit [15:0] { SwTestStatusUnderReset = 16'h0000, // 'boot...
opentitan/hw/dv/sv/sw_test_status/sw_test_status_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
936
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class csrng_env extends cip_base_env #( .CFG_T (csrng_env_cfg), .COV_T (csrng_env_cov), .VIRTUAL_SEQUENCER_T(cs...
opentitan/hw/ip/csrng/dv/env/csrng_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.122
false
false
3,717
-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_keymgr_dpe_sideload_hmac_vseq extends chip_sw_keymgr_dpe_key_derivation_vseq; `uvm_object_utils(chip_sw_keymgr_dpe_sideload_hmac_vseq...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_keymgr_dpe_sideload_hmac_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.26
false
false
2,873
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 interface sw_test_status_if #( parameter int AddrWidth = 32 ) ( input logic clk_i, input logic rst_ni, // Under reset. input lo...
opentitan/hw/dv/sv/sw_test_status/sw_test_status_if.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.169
false
false
3,353
-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 "rstmgr_base_vseq.sv" `include "rstmgr_por_stretcher_vseq.sv" `include "rstmgr_reset_vseq.sv" `include "rstmgr_smoke_vseq.sv" `include "rstm...
opentitan/hw/ip_templates/rstmgr/dv/env/seq_lib/rstmgr_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
595
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // SPI Flash/ Passthrough 4B Address Enable/ Disable module // // This module manages `cfg_addr_4b_en` used in many submodules inside // SPI_DEVICE...
opentitan/hw/ip/spi_device/rtl/spid_addr_4b.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.288
false
false
5,003
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rv_dm_hart_unavail_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_hart_unavail_vseq) `uvm_object_new task check_unavailable(bit r...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_hart_unavail_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.263
false
false
1,694
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_USB_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_USB_TESTUTILS_H_ #include <stdbool.h> #include <std...
opentitan/sw/device/lib/testing/usb_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.716
false
false
12,925
-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 interface implements liveness assertions for sha3pad. interface sha3pad_assert_if # ( parameter bit EnMasking = 1 )( input ...
opentitan/hw/ip/kmac/dv/cov/sha3pad_assert_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.292
false
false
1,067
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Injects an error in the lc program request received by the OTP. class chip_sw_lc_ctrl_program_error_vseq extends chip_sw_base_vseq; `uvm_object_...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_lc_ctrl_program_error_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.278
false
false
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 // module tb; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import sysrst_ctrl_env_pkg::*; import sysrst_ctrl_test_pkg::*; /...
opentitan/hw/ip/sysrst_ctrl/dv/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.117
false
false
3,595
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // --------------------------------------------- // TileLink device driver // --------------------------------------------- class tl_device_driver...
opentitan/hw/dv/sv/tl_agent/tl_device_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.097
false
false
4,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 // A TileLink driver that behaves as a host, initiating TileLink transactions class tl_host_driver extends tl_base_driver; `uvm_component_utils(tl_...
opentitan/hw/dv/sv/tl_agent/tl_host_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.389
false
false
16,133
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A predictor for the arbiter that listens to updates in the error_logs at racl_error_i and // racl_error_external_i. class racl_ctrl_error_arb_pre...
opentitan/hw/ip/racl_ctrl/dv/env/racl_ctrl_error_arb_predictor.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.196
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 // usbdev_link_resume test vseq class usbdev_link_resume_vseq extends usbdev_link_suspend_vseq; `uvm_object_utils(usbdev_link_resume_vseq) `uvm_...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_link_resume_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.378
false
false
4,083
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Pseudo Code: // Randomize Flash Content (Backdoor) // Power Up Initialisation (With Secret Seeds and Keys Enabled) // Loop { // Randomize O...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_hw_sec_otp_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
12,505
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class chip_sw_sram_ctrl_execution_main_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_sram_ctrl_execution_main_vseq) `uvm_object_new ...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_sram_ctrl_execution_main_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.171
false
false
1,904
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Power Manager Wake Information // `include "prim_assert.sv" module pwrmgr_wake_info import pwrmgr_pkg::*; import pwrmgr_reg_pkg::*; ( input ...
opentitan/hw/ip_templates/pwrmgr/rtl/pwrmgr_wake_info.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.238
false
false
2,096
-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 edn_cmd_req_done and edn_fatal_err interrupts fired as expected class edn_intr_vseq extends edn_base_vseq; `uvm_object_utils(edn_intr_vseq...
opentitan/hw/ip/edn/dv/env/seq_lib/edn_intr_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.179
false
false
3,634
-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_UART_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_UART_H_ #include <stddef.h> ...
opentitan/sw/device/silicon_creator/lib/drivers/uart.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.857
false
false
3,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 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_BASE_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_BASE_H_ /** * @file * @brief Shared macros and headers for...
opentitan/sw/device/lib/dif/dif_base.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.602
false
false
6,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 // A general agent that represents an escalation interface. class esc_agent extends dv_reactive_agent #( .CFG_T (esc_agent_cfg), ....
opentitan/hw/dv/sv/esc_agent/esc_agent.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.146
false
false
2,133
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //############################################## //# https://csrc.nist.rip/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf //# Only ...
opentitan/hw/ip/aes/dv/test_vectors/nist_vectors_gcm_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.051
false
false
23,925
-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/ip/aes/model/aes_modes.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/base/multi...
opentitan/sw/device/tests/aes_force_prng_reseed_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.284
false
false
7,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 // OTBN mask accelerator interface module otbn_mai import otbn_pkg::*; #( // Masking accelerator interface will not randomize operand start inde...
opentitan/hw/ip/otbn/rtl/otbn_mai.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.226
false
false
23,192
-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_soc_proxy_smoke_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_soc_proxy_smoke_vseq) `uvm_object_new virtual task du...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_soc_proxy_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.245
false
false
2,367
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class key_sideload_base_seq #( parameter type KEY_T = keymgr_dpe_pkg::hw_key_req_t ) extends dv_base_seq #( .REQ (key_sideload_item#(...
opentitan/hw/dv/sv/key_sideload_agent/seq_lib/key_sideload_base_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.188
false
false
628
-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 <stdbool.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/bas...
opentitan/sw/device/tests/otp_ctrl_mem_access_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.17
false
false
5,634
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Disable TL protocol related constraint on a_chan to create a fully customized tl_item for error // cases class tl_host_custom_seq #(type REQ_T = t...
opentitan/hw/dv/sv/tl_agent/seq_lib/tl_host_custom_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.312
false
false
702
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class chip_sw_alert_handler_lpg_clkoff_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_alert_handler_lpg_clkoff_vseq) `uvm_object_new ...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_alert_handler_lpg_clkoff_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.467
false
false
825
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Interface for monitoring the state of the UART RX noise filter interface uart_nf_if ( input clk_i, input rst_ni ); ...
opentitan/hw/ip/uart/dv/env/uart_nf_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.211
false
false
539
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // adc_ctrl core module `include "prim_assert.sv" module adc_ctrl_core import adc_ctrl_reg_pkg::* ; ( input clk_aon_i,//Always-on 200KHz clock...
opentitan/hw/ip/adc_ctrl/rtl/adc_ctrl_core.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.221
false
false
8,829
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rv_dm_cmderr_not_supported_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_cmderr_not_supported_vseq) `uvm_object_new // Generate ...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_cmderr_not_supported_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.4
false
false
2,131
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * RV Core Ibex Memory Smoke Test * * This test runs checks access to each kind of memory from the Ibex. * * It is expected to run from SRAM, ...
opentitan/sw/device/tests/rv_core_ibex_mem_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.414
false
false
7,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 class rstmgr_env_cfg extends cip_base_env_cfg #( .RAL_T(rstmgr_reg_block) ); // This scoreboard handle is used to flag expected errors. rstmgr...
opentitan/hw/top_earlgrey/ip_autogen/rstmgr/dv/env/rstmgr_env_cfg.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.179
false
false
1,171
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // I3C buffer // // - This buffer implements a number of independent FIFOs as circular buffers // within a single shared memory. // - Each FIFO i...
opentitan/hw/ip/i3c/rtl/i3c_buffer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.331
false
false
12,888
-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_aes.h" #include "sw/device/lib/dif/dif_ke...
opentitan/sw/device/tests/keymgr_dpe_sideload_aes_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.294
false
false
7,771
-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 sysrst_ctrl_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import dv_lib_pkg::*; import t...
opentitan/hw/ip/sysrst_ctrl/dv/env/sysrst_ctrl_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.14
false
false
1,353
-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_rstmgr.h" #include "sw/device/lib/runtime/hart.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/test...
opentitan/sw/device/tests/rv_dm_ndm_reset_req_when_cpu_halted.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.343
false
false
1,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 #include "sw/device/silicon_creator/lib/boot_data.h" #include <stddef.h> #include <stdint.h> #include "sw/device/lib/base/hardened.h" #include "sw/...
opentitan/sw/device/silicon_creator/lib/boot_data.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.416
false
false
27,612
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Edge Detector module prim_edge_detector #( parameter int unsigned Width = 1, parameter logic [Width-1:0] ResetValue = '0, // EnSync /...
opentitan/hw/ip/prim/rtl/prim_edge_detector.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.205
false
false
1,297
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Unbuffered partition for OTP controller. // `include "prim_assert.sv" module otp_ctrl_part_unbuf import otp_ctrl_pkg::*; import otp_ctrl_r...
opentitan/hw/ip_templates/otp_ctrl/rtl/otp_ctrl_part_unbuf.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.268
false
false
25,577
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This module utilizes manual instantiation of standard cells to define constant values. By // employing dedicated TIE cells or specific logic gat...
opentitan/hw/ip/prim_asap7/rtl/prim_const_sec.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.379
false
false
1,125
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_TESTDATA_BASIC_OWNER_TESTDATA_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_...
opentitan/sw/device/silicon_creator/lib/ownership/testdata/basic_owner_testdata.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.116
false
false
15,337
-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_disable_test extends edn_base_test; `uvm_component_utils(edn_disable_test) `uvm_component_new function void configure_env(); su...
opentitan/hw/ip/edn/dv/tests/edn_disable_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
739
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // I3C top level wrapper for OpenTitan, secondary partition of the split IP. // // - Target Reset Detector, which may be placed in an Always On pow...
opentitan/hw/ip/i3c/rtl/i3c_part_secondary.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
1,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 #include "sw/device/lib/crypto/include/config.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/base/hardened.h" #include "sw/devi...
opentitan/sw/device/lib/crypto/impl/config.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.277
false
false
5,111
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Verifies that the mcounteren_writable register properly locks the mcounteren // CSR and that the register is write-protected when locked. #includ...
opentitan/sw/device/tests/rv_core_ibex_mcounteren_writable_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.236
false
false
6,786
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_ISFB_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_ISFB_H_ #include <stdint...
opentitan/sw/device/silicon_creator/lib/ownership/isfb.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.792
false
false
3,231
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module mbx_sysif import tlul_pkg::*; import mbx_reg_pkg::*; #( parameter int unsigned CfgSramAddr...
opentitan/hw/ip/mbx/rtl/mbx_sysif.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.233
false
false
15,225
-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 reg status // // This module tracks the collective status of multiple registers. module aes_reg_status #( parameter int Width = 1 ) ( i...
opentitan/hw/ip/aes/rtl/aes_reg_status.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
2,403
-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: vcmain_pgd // *Module Description: VCMAIN Power Good //#####...
opentitan/hw/top_englishbreakfast/ip/ast/rtl/vcmain_pgd.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.364
false
false
1,469
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Directed sequence to cover the remaining hard to reach RTL hole: // - StLenHi->StIdle FSM transition class hmac_directed_vseq extends hmac_smoke...
opentitan/hw/ip/hmac/dv/env/seq_lib/hmac_directed_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.205
false
false
1,524
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // RRAM control region configuration processing // // This module: // - translates all sw_region_rules into one array // - translates all sw_info_c...
opentitan/hw/ip/rram_ctrl/rtl/rram_ctrl_region_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.224
false
false
14,674
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 module chip_sim_tb ( // Clock and Reset input clk_i, input rst_ni ); logic [31:0] cio_gpio_p2d, cio_gpio_d2p, cio_gpio_en_d2p; logic [31:...
opentitan/hw/top_earlgrey/dv/verilator/chip_sim_tb.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
8,120
-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_disable_auto_req_mode_vseq extends edn_base_vseq; `uvm_object_utils(edn_disable_auto_req_mode_vseq) `uvm_object_new push_pull_host_s...
opentitan/hw/ip/edn/dv/env/seq_lib/edn_disable_auto_req_mode_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.174
false
false
8,053
-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_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_CSRNG_H_ /** * @file * @brief <a href="/book/hw/ip/csrng/...
opentitan/sw/device/lib/dif/dif_csrng.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.766
false
false
18,792
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // CSR suite of sequences that do writes and reads to CSRs // includes hw_reset, rw, bit_bash and aliasing tests for CSRs, and mem_walk for uvm_mems ...
opentitan/hw/dv/sv/csr_utils/csr_seq_lib.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.281
false
false
13,867
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class uart_env_cfg extends cip_base_env_cfg #(.RAL_T(uart_reg_block)); // ext component cfgs rand uart_agent_cfg m_uart_agent_cfg; // during...
opentitan/hw/ip/uart/dv/env/uart_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.314
false
false
1,550
-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 prim_fifo_sync. // Intended to be used with a formal tool. `include "prim_assert.sv" module prim_fifo_sync_assert_fpv #( // c...
opentitan/hw/ip/prim/fpv/vip/prim_fifo_sync_assert_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.305
false
false
8,386
-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_deinit_test extends aes_base_test; `uvm_component_utils(aes_deinit_test) `uvm_component_new virtual function void build_phase(uvm_...
opentitan/hw/ip/aes/dv/tests/aes_deinit_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.132
false
false
1,505
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_USB_TESTUTILS_DIAGS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_USB_TESTUTILS_DIAGS_H_ #include "sw/device/lib...
opentitan/sw/device/lib/testing/usb_testutils_diags.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.747
false
false
6,417
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "hw/top/dt/otbn.h" #include "sw/device/lib/dif/dif_otbn.h" #include "sw/device/lib/runtime/ibex.h" #include "sw/device/lib/runtime/log.h" #i...
opentitan/sw/device/tests/otbn_smoketest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.353
false
false
6,813
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A specialized sequence that runs each of the available binaries exactly once. This is used for // directed tests when each causes an OTBN error, s...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_sequential_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
2,434
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // The base config object for a reactive agent class dv_reactive_agent_cfg extends dv_base_agent_cfg; // True if agent's sequencer has a request ...
opentitan/hw/dv/sv/dv_base_agent/dv_reactive_agent_cfg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.4
false
false
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 #include "sw/device/silicon_creator/lib/boot_svc/boot_svc_ownership_unlock.h" #include "sw/device/lib/base/memory.h" #include "sw/device/silicon_cre...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_ownership_unlock.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.207
false
false
1,494
-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 test to create transition to invalid state from any reset transitions. class pwrmgr_reset_invalid_vseq extends pwrmgr_base_vseq; `uvm_obj...
opentitan/hw/top_englishbreakfast/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_reset_invalid_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.09
false
false
4,903
-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_RSA_RUN_RSA_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_RSA_RUN_RSA_H_ #include <stddef.h> #include <...
opentitan/sw/device/lib/crypto/impl/rsa/run_rsa.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.868
false
false
5,719
-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_RANDOM_ORDER_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_RANDOM_ORDER_H_ #include <stddef.h> #include <stdint.h> #...
opentitan/sw/device/lib/base/random_order.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.87
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/base/mmio.h" #include "sw/device/lib/dif/dif_pwrmgr.h" #include "sw/device/lib/dif/dif_rv_plic.h" #include "sw/device/lib/dif...
opentitan/sw/device/tests/sensor_ctrl_wakeup_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.333
false
false
5,234
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Life cycle gating module for TL-UL protocol. // Transactions are passed through when lc_en_i == ON. // In all other cases (lc_en_i != ON) incomi...
opentitan/hw/ip/tlul/rtl/tlul_lc_gate.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.338
false
false
6,986
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/arch/device.h" #include "sw/device/silicon_creator/lib/dbg_print.h" #include "sw/device/silicon_creator/lib/drivers/pinmux.h"...
opentitan/sw/device/lib/coverage/uart_runtime_skip.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.364
false
false
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 "sw/device/lib/base/memory.h" #include "sw/device/lib/dif/dif_aes.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testing/...
opentitan/sw/device/sca/aes_serial.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.546
false
false
30,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 // I3C Controller and Target. // // This IP block has been designed and built for compliance with the following specifications: // // - MIPI Alliance...
opentitan/hw/ip/i3c/rtl/i3c_core.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.197
false
false
116,457
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_JSON_PINMUX_CONFIG_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_JSON_PINMUX_CONFIG_H_ #include "sw/device/lib/u...
opentitan/sw/device/lib/testing/json/pinmux_config.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.655
false
false
2,530
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/macros.h" #include "sw/device/lib/crypto/impl/keyblob.h" #include "sw/device/lib/crypto/include/config.h" #include "sw/d...
opentitan/sw/device/tests/crypto/tdes_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.226
false
false
16,348
-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/hmac_testutils.h" #include <stdbool.h> #include "sw/device/lib/dif/dif_hmac.h" #include "sw/device/lib/runtime/ibex...
opentitan/sw/device/lib/testing/hmac_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.202
false
false
4,459
-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/runtime/log.h" #include "sw/device/lib/testing/test_framework/ottf_main.h" #include "sw/device/silicon_...
opentitan/sw/device/silicon_creator/rom/e2e/sigverify_spx/sigverify_spx_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.611
false
false
822
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // smoke test vseq class spi_host_smoke_vseq extends spi_host_tx_rx_vseq; `uvm_object_utils(spi_host_smoke_vseq) `uvm_object_new constraint sp...
opentitan/hw/ip/spi_host/dv/env/seq_lib/spi_host_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.163
false
false
1,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 package aes_model_dpi_pkg; import aes_pkg::*; // DPI-C imports import "DPI-C" context function void c_dpi_aes_crypt_block( input bit ...
opentitan/hw/ip/aes/dv/aes_model_dpi/aes_model_dpi_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.157
false
false
4,088
-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_STACK_UTILIZATION_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_STACK_UTILIZATION_H_ #include <s...
opentitan/sw/device/silicon_creator/lib/stack_utilization.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.792
false
false
789
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include "sw/device/lib/base/status.h" #include "sw/device/lib/testing/entropy_testutils.h" #include "sw/device/lib/testing/test...
opentitan/sw/device/tests/penetrationtests/firmware/firmware_fi.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.4
false
false
3,212
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * Covergroups that are dependent on run-time parameters that may be available * only in build_phase can be defined here * Covergroups may also...
opentitan/hw/top_earlgrey/ip_autogen/rstmgr/dv/env/rstmgr_env_cov.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.149
false
false
3,206
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Generic synchronous fifo for use in a variety of devices. `include "prim_assert.sv" // This include isn't really needed by code in prim_fifo_s...
opentitan/hw/ip/prim/rtl/prim_fifo_sync.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.245
false
false
7,837
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // RRAM Phy Read Buffers Dependency // // This module handles the dependency between meta FIFO and buffer entries. // Basically, it ensures that if...
opentitan/hw/ip/rram_ctrl/rtl/rram_phy_rd_buf_dep.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.279
false
false
4,211
-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" /** * Vectorized multiplier * * This module implements a vectorized multiplier which can compute either one 64-bit or t...
opentitan/hw/ip/otbn/rtl/otbn_vec_multiplier.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.662
false
false
3,279
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 module tb; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import alert_handler_env_pkg::*; import alert_handler_test_pkg::*; ...
opentitan/hw/top_darjeeling/ip_autogen/alert_handler/dv/tb/tb.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.101
false
false
4,783
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Run the JTAG DMT CSRs through our standard CSR suite via JTAG. class rv_dm_jtag_dmi_csr_vseq extends rv_dm_common_vseq; `uvm_object_utils(rv_dm_...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_jtag_dmi_csr_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.364
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 // An interface that is bound into the csrng module and enables/disables assertions embedded in its // code. // These hierarchical paths were meant ...
opentitan/hw/ip/csrng/dv/sva/csrng_assert_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.145
false
false
2,718
-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_keys_ecdsa_p256.h" #include "sw/device/silicon_creator/rom/sigverify_otp_keys.h" #include "hw/top...
opentitan/sw/device/silicon_creator/rom/sigverify_keys_ecdsa_p256.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.258
false
false
1,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 // Constants defined by the I3C Specifications rather than this IP block. package i3c_consts_pkg; // Special I3C Addresses typedef enum logic [6...
opentitan/hw/ip/i3c/rtl/i3c_consts_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.113
false
false
7,995
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include <stdint.h> #include "hw/top/dt/api.h" #include "hw/top/dt/rstmgr.h" #include "sw/device/lib/arch/device.h" #include "s...
opentitan/sw/device/silicon_creator/lib/drivers/alert_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.304
false
false
3,915
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Count rollover test vseq class pattgen_cnt_rollover_vseq extends pattgen_base_vseq; `uvm_object_utils(pattgen_cnt_rollover_vseq) // reduce nu...
opentitan/hw/ip/pattgen/dv/env/seq_lib/pattgen_cnt_rollover_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.241
false
false
1,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 package dv_base_agent_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; // macro includes `include "uvm_macros.svh" `inclu...
opentitan/hw/dv/sv/dv_base_agent/dv_base_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.308
false
false
821
-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_rv_plic.h" #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include "sw/device/lib/base/bitfield.h" #i...
opentitan/sw/device/lib/dif/dif_rv_plic.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.26
false
false
10,427
-1