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 // This directed test aims to check the I2C block can absorb a max-length SMBus message // without software intervention mid-message (e.g. to drain t...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_target_smbus_maxlen_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.509
false
false
2,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 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT_SVC_OWNERSHIP_UNLOCK_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT_S...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_ownership_unlock.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.581
false
false
4,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 // This contains SVA assertions for trans clocks. interface clkmgr_trans_sva_if ( input logic clk, input logic rst_n, input logic hint, input...
opentitan/hw/ip_templates/clkmgr/dv/sva/clkmgr_trans_sva_if.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
1,195
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // TPM Locality test, making transactions of various locality // Targeting HW sts register, randomizing it and checking data returned to host class s...
opentitan/hw/ip/spi_device/dv/env/seq_lib/spi_device_tpm_sts_read_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.167
false
false
1,722
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #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/manuf/tests/idle_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.611
false
false
592
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // jump test vseq class aon_timer_jump_vseq extends aon_timer_base_vseq; `uvm_object_utils(aon_timer_jump_vseq) // Overrides constraint in paren...
opentitan/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_jump_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.115
false
false
2,154
-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_LIB_CRYPTO_TEST_LIB_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_LIB_CRYPTO_TEST_LIB_H_ #include "sw/device/...
opentitan/sw/device/tests/crypto/lib/crypto_test_lib.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.667
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 "prim_assert.sv" module tlul_adapter_vh import tlul_pkg::*; import prim_mubi_pkg::mubi4_t; #( parameter int ADDR_WIDTH = top_pkg::TL_...
opentitan/hw/ip/tlul/rtl/tlul_adapter_vh.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.164
false
false
5,272
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module pattgen import pattgen_reg_pkg::*; #( parameter logic [NumAlerts-1:0] AlertAsyncOn = {NumAlerts{1'b1}}, // Nu...
opentitan/hw/ip/pattgen/rtl/pattgen.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.075
false
false
3,020
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Generates random mix of reads and writes. Writes are somewhat delicate: when scrambling or ECC // are enabled we can only write full flash words (...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_rw_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.196
false
false
1,940
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // HALTED test vseq class rv_dm_mem_tl_access_halted_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_mem_tl_access_halted_vseq) `uvm_object...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_mem_tl_access_halted_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.444
false
false
1,392
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_SIVAL_KEYS_APPKEY_TEST_0_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_SIVAL_KEYS_APPKEY...
opentitan/sw/device/silicon_creator/rom_ext/sival/keys/appkey_test_0.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.538
false
false
864
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <assert.h> #include "sw/device/lib/base/memory.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testing/test_framework/ott...
opentitan/sw/device/silicon_creator/rom/e2e/retention_ram/rom_e2e_ret_ram_init_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.368
false
false
2,365
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //wrapper module to avoid having to know/write out the path from tb to bind module signal_force import uvm_pkg::*; #(parameter string Signal ...
opentitan/hw/ip/aes/dv/err_injection_if/signal_force.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.35
false
false
2,350
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * 39b General Purpose Register File (GPRs) * * 39b to support 32b register with 7b integrity. Integrity generation/checking implemented in * ...
opentitan/hw/ip/otbn/rtl/otbn_rf_base_fpga.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.447
false
false
2,967
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class clkmgr_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(clkmgr_env_cfg), .COV_T(clkmgr_env_cov) ); `uvm_component_utils(clk...
opentitan/hw/ip_templates/clkmgr/dv/env/clkmgr_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
376
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // this object stores the cfg info for a command, so that when a driver/monitor receives a flash // cmd, it knows how many addr_bytes, direction, d...
opentitan/hw/dv/sv/spi_agent/spi_flash_cmd_info.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.234
false
false
1,832
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //! This test writes some data to SRAM, sets the `INIT` bit in the `ctrl` CSR, //! then tries to read back that written data to ensure the SRAM was s...
opentitan/sw/device/tests/sram_ctrl_memset_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.364
false
false
4,069
-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/base/math.h" #include "sw/device/lib/base/m...
opentitan/sw/device/tests/alert_handler_lpg_reset_toggle.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.338
false
false
18,990
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class kmac_app_host_seq extends dv_base_seq #(.REQ (kmac_app_req_item), .CFG_T (kmac_app_...
opentitan/hw/dv/sv/kmac_app_agent/seq_lib/kmac_app_host_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.316
false
false
2,893
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_SPI_HOST_FLASH_TEST_IMPL_H_ #define OPENTITAN_SW_DEVICE_TESTS_SPI_HOST_FLASH_TEST_IMPL_H_ #include "sw/device/lib/...
opentitan/sw/device/tests/spi_host_flash_test_impl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.858
false
false
3,847
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package csrng_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import push_pull_agent_pkg::*; impor...
opentitan/hw/ip/csrng/dv/env/csrng_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.125
false
false
4,370
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // flash_ctrl_error_prog_win Test // Pseudo Code // Loop (x) // Initialize // Choose whether to violate a programming window, or not // Random...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_error_prog_win_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.353
false
false
5,597
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // TODO(#24580): A JTAG UVM agent should configure the JTAG frequency (and not this interface) `ifdef GATE_LEVEL // jtag interface with default 24M...
opentitan/hw/dv/sv/jtag_agent/jtag_if.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.261
false
false
5,264
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class otp_ctrl_wake_up_vseq extends otp_ctrl_base_vseq; `uvm_object_utils(otp_ctrl_wake_up_vseq) `uvm_object_new virtual task otp_ctrl_init()...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_wake_up_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
1,972
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class otp_ctrl_scoreboard #(type CFG_T = otp_ctrl_env_cfg) extends cip_base_scoreboard #( .CFG_T(CFG_T), .RAL_T(otp_ctrl_core_reg_block), ...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/dv/env/otp_ctrl_scoreboard.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.115
false
false
105,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 #include "sw/device/lib/dif/dif_lc_ctrl.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/bas...
opentitan/sw/device/lib/dif/dif_lc_ctrl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.122
false
false
14,983
-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 sends 'host read' over 'slow' and 'fast' return data path. // 'slow' and 'fast' return data path is created by // enabling and disabling scra...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_rd_ooo_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.159
false
false
3,203
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_EXAMPLES_TEACUP_DEMOS_DATA_BITMAPS_H_ #define OPENTITAN_SW_DEVICE_EXAMPLES_TEACUP_DEMOS_DATA_BITMAPS_H_ #include <stddef...
opentitan/sw/device/examples/teacup_demos/data/bitmaps.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.788
false
false
869
-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_earlgrey_error_injection_ifs_bind; `ifndef GATE_LEVEL // This i...
opentitan/hw/top_earlgrey/dv/env/top_earlgrey_error_injection_ifs_bind.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.462
false
false
637
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // --------------------------------------------- // tl_agent environment virtual sequencer // --------------------------------------------- class tl_...
opentitan/hw/dv/sv/tl_agent/dv/env/tl_agent_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.462
false
false
639
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // combine all pattgen seqs (except below vseqs) in one seq to run sequentially // 1. override_vseq requires scb and monitor to be disabled // 1. csr...
opentitan/hw/ip/pattgen/dv/env/seq_lib/pattgen_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.128
false
false
3,376
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/crypto/include/aes.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/crypto/include/cryptolib_build_info.h" ...
opentitan/sw/device/tests/crypto/cryptotest/firmware/aes.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.115
false
false
5,922
-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 wrap testbench module aes_wrap_tb #( ) ( input logic clk_i, input logic rst_ni, output logic test_done_o, output logic test_pass...
opentitan/hw/ip/aes/pre_dv/aes_wrap_tb/rtl/aes_wrap_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.127
false
false
1,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/crypto/impl/sha2/sha384.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/lib/base/hardened_memory.h" #include...
opentitan/sw/device/lib/crypto/impl/sha2/sha384.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.256
false
false
10,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 module flash_ctrl_bind; bind flash_ctrl tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( .clk_i, .rst_ni, .h2d (co...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/sva/flash_ctrl_bind.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
526
-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/lib/base/abs_mmio.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base...
opentitan/sw/device/silicon_creator/rom/e2e/rom_e2e_c_init_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.437
false
false
10,355
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_OWNERSHIP_ACTIVATE_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_OWNERSHIP_A...
opentitan/sw/device/silicon_creator/lib/ownership/ownership_activate.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.829
false
false
1,475
-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 reactive sequence that responds to requests, responding with a digest each time. class kmac_app_device_seq extends dv_base_seq #(.REQ (kmac_app...
opentitan/hw/dv/sv/kmac_app_agent/seq_lib/kmac_app_device_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.074
false
false
2,076
-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 transactional clocks module clkmgr_trans import clkmgr_pkg::*; import prim_mubi_pkg::mubi4_t; # ( parameter bit Fpga...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/rtl/clkmgr_trans.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.172
false
false
4,405
-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 deals with the force paths in ENTROPY_SRC interrupt and error tests. // // It is bound into an instance of entropy_src, so can addr...
opentitan/hw/ip/entropy_src/dv/env/entropy_src_path_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.152
false
false
6,775
-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 definitions for entropy_src_main_sm, provided as a separate package for use in DV package entropy_src_main_sm_pkg; // Encoding generat...
opentitan/hw/ip/entropy_src/rtl/entropy_src_main_sm_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.529
false
false
2,518
-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_base_test extends cip_base_test #( .CFG_T(spi_host_env_cfg), .ENV_T(spi_host_env) ); `uvm_component_utils(spi_host_base_t...
opentitan/hw/ip/spi_host/dv/tests/spi_host_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
1,004
-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_SPI_DEVICE_BFPT_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_SPI_DEVICE_BFPT_H_ ...
opentitan/sw/device/silicon_creator/lib/drivers/spi_device_bfpt.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.881
false
false
1,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 // performance test with 0 delay to access fifo, less delay to access interrupts class uart_perf_vseq extends uart_fifo_full_vseq; `uvm_object_util...
opentitan/hw/ip/uart/dv/env/seq_lib/uart_perf_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.135
false
false
1,109
-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/boot_policy_ptrs.h" extern const manifest_t *boot_policy_manifest_a_get(void); extern const manifest_t *boot...
opentitan/sw/device/silicon_creator/rom/boot_policy_ptrs.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.667
false
false
350
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "bkdr_loader.svh" package bkdr_loader_pkg; import bkdr_loader_reg_pkg::*; localparam int unsigned AddrWidth = 32'd32; lo...
opentitan/hw/ip/bkdr_loader/rtl/bkdr_loader_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.088
false
false
2,002
-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 flash_ctrl_legacy_base_vseq extends flash_ctrl_otf_base_vseq; `uvm_object_utils(flash_ctrl_legacy_base_vseq) `uvm_object_new flash_op_t ...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_legacy_base_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.103
false
false
2,763
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Clock manager measurement and timeout checks module clkmgr_meas_chk import prim_mubi_pkg::mubi4_t; #( // Maximum value of input clock count...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/rtl/clkmgr_meas_chk.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.171
false
false
3,419
-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/status.h" #include "sw/device/lib/dif/dif_gpio.h" #include "sw/device/lib/dif/...
opentitan/sw/device/tests/gpio_pinmux_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.367
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 // // RRAM Controller Package // package rram_ctrl_pkg; ///////////////////// // RRAM parameters // ///////////////////// parameter int uns...
opentitan/hw/ip/rram_ctrl/rtl/rram_ctrl_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.173
false
false
16,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 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_PINMUX_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_PINMUX_H_ #include <stdboo...
opentitan/sw/device/silicon_creator/lib/drivers/pinmux.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.882
false
false
2,268
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_LIB_EXTCLK_SCA_FI_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_LIB_EXTC...
opentitan/sw/device/tests/penetrationtests/firmware/lib/extclk_sca_fi.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.931
false
false
1,045
-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_otbn_vseq extends chip_sw_keymgr_dpe_key_derivation_vseq; `uvm_object_utils(chip_sw_keymgr_dpe_sideload_otbn_vseq...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_keymgr_dpe_sideload_otbn_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.318
false
false
1,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 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_OTBN_TESTUTILS_RSA_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_OTBN_TESTUTILS_RSA_H_ #include "sw/device/lib/...
opentitan/sw/device/lib/testing/otbn_testutils_rsa.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.86
false
false
4,193
-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_RSA_ENCRYPTION_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_RSA_RSA_ENCRYPTION_H_ #include <stddef...
opentitan/sw/device/lib/crypto/impl/rsa/rsa_encryption.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.849
false
false
5,303
-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 // *Module Description: Analog Sensors Top //#########...
opentitan/hw/top_darjeeling/ip/ast/rtl/ast.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.197
false
false
28,669
-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_smoke_test extends csrng_base_test; `uvm_component_utils(csrng_smoke_test) `uvm_component_new function void configure_env(); ...
opentitan/hw/ip/csrng/dv/tests/csrng_smoke_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
448
-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 sysrst_ctrl_base_vseq extends cip_base_vseq #( .RAL_T (sysrst_ctrl_reg_block), .CFG_T (sysrst_ctrl_env_cfg), .C...
opentitan/hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.161
false
false
5,802
-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: // While running smoke test, assert illegal scanmode input class rstmgr_sec_cm_scan_intersig_mubi_vseq extends rstmgr_smoke_vseq; ...
opentitan/hw/ip_templates/rstmgr/dv/env/seq_lib/rstmgr_sec_cm_scan_intersig_mubi_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.255
false
false
1,651
-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/ecc/p384.h" #include "sw/device/lib/base/crc32.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/l...
opentitan/sw/device/lib/crypto/impl/ecc/p384.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.253
false
false
21,585
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_MEMORY_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_MEMORY_H_ /** * @file * @brief OpenTitan Device Memory Library...
opentitan/sw/device/lib/base/memory.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.866
false
false
10,675
-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_AES_EXAMPLE_H_ #define OPENTITAN_HW_IP_AES_MODEL_AES_EXAMPLE_H_ // The examples below are extracted from // the Ad...
opentitan/hw/ip/aes/model/aes_example.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.17
false
false
3,147
-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: UART top level wrapper file `include "prim_assert.sv" module uart import uart_reg_pkg::*; #( parameter logic [NumAlerts-1:0...
opentitan/hw/ip/uart/rtl/uart.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.152
false
false
4,227
-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/imm_section/imm_section_epmp.h" #include "sw/device/lib/base/csr.h" #include "sw/device/lib/base/macros....
opentitan/sw/device/silicon_creator/rom_ext/imm_section/imm_section_epmp.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.379
false
false
3,723
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "hw/top/dt/clkmgr.h" // Generated #include "hw/top/dt/kmac.h" // Generated #include "sw/device/lib/dif/dif_clkmgr.h" #include "sw/device...
opentitan/sw/device/tests/kmac_idle_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.32
false
false
6,168
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_SIVAL_KEYS_APPKEY_DEV_0_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_SIVAL_KEYS_APPKEY_...
opentitan/sw/device/silicon_creator/rom_ext/sival/keys/appkey_dev_0.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.538
false
false
861
-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: I2C core module `include "prim_assert.sv" module i2c_core import i2c_pkg::*; #( parameter int unsigned InputDelayCycles = 0 ) (...
opentitan/hw/ip/i2c/rtl/i2c_core.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.082
false
false
37,061
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class csrng_cmds_test extends csrng_base_test; `uvm_component_utils(csrng_cmds_test) `uvm_component_new function void configure_env(); su...
opentitan/hw/ip/csrng/dv/tests/csrng_cmds_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.243
false
false
1,776
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_device_base_test extends cip_base_test #(.ENV_T(spi_device_env), .CFG_T(spi_device_env_c...
opentitan/hw/ip/spi_device/dv/tests/spi_device_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.278
false
false
840
-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 soc_dbg_ctrl_scoreboard extends cip_base_scoreboard #( .CFG_T(soc_dbg_ctrl_env_cfg), .RAL_T(soc_dbg_ctrl_core_reg_block), .COV_T(so...
opentitan/hw/ip/soc_dbg_ctrl/dv/env/soc_dbg_ctrl_scoreboard.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.173
false
false
5,761
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // REQ/ACK synchronizer with associated data. // // This module synchronizes a REQ/ACK handshake with associated data across a clock domain // cros...
opentitan/hw/ip/prim/rtl/prim_sync_reqack_data.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.424
false
false
7,451
-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 rv_plic_bind_fpv; import rv_plic_reg_pkg::*; bind rv_plic rv_plic_assert_fpv #( .NumSrc(rv_plic_reg_pkg::NumSrc), .NumTarget(rv_...
opentitan/hw/top_darjeeling/ip_autogen/rv_plic/fpv/tb/rv_plic_bind_fpv.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.07
false
false
996
-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 flash_ctrl_otf_scoreboard extends uvm_scoreboard; `uvm_component_utils(flash_ctrl_otf_scoreboard) `uvm_component_new // OTF data path fi...
opentitan/hw/ip_templates/flash_ctrl/dv/env/flash_ctrl_otf_scoreboard.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.09
false
false
22,548
-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 tests the transitions of the various clock status outputs for random settings of the // various ip_clk_en inputs. // // The checks are done v...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/dv/env/seq_lib/clkmgr_clk_status_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.367
false
false
1,159
-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 // // This module implements the read buffers // These buffers are straightforward flip flop storage. // There are 3 inpu...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/rtl/flash_phy_rd_buffers.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.338
false
false
2,176
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class pattgen_monitor extends dv_base_monitor #( .ITEM_T (pattgen_item), .CFG_T (pattgen_agent_cfg), .COV_T (pattgen_agent_cov) ); ...
opentitan/hw/dv/sv/pattgen_agent/pattgen_monitor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.148
false
false
6,165
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package flash_ctrl_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import dv_base_reg_pkg::*; impo...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/flash_ctrl_env_pkg.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.111
false
false
20,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 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_LC_CTRL_FI_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_LC_CTRL_FI_COM...
opentitan/sw/device/tests/penetrationtests/json/lc_ctrl_fi_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.517
false
false
1,242
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" // Description: PINI-secure Hardware Private Circuit (HPC2) / Toffoli Gadget (HPC2o) // // This module implements a Probe-...
opentitan/hw/ip/prim/rtl/prim_hpc2.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.213
false
false
7,107
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Target-side CCC handling definitions. package i3c_targ_ccc_pkg; import i3c_pkg::*; import i3c_consts_pkg::*; import i3c_reg_pkg::*; //...
opentitan/hw/ip/i3c/rtl/i3c_targ_ccc_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.484
false
false
4,076
-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_CRC32_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_CRC32_H_ #include <stddef.h> #include <stdint.h> #include "sw/de...
opentitan/sw/device/lib/base/crc32.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.841
false
false
1,734
-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_env_cfg extends cip_base_env_cfg #(.RAL_T(aon_timer_reg_block)); virtual clk_rst_if aon_clk_rst_vif; virtual pins_if #(1)...
opentitan/hw/ip/aon_timer/dv/env/aon_timer_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.205
false
false
3,244
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_HMAC_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_HMAC_H_ #include "datatypes.h" #include "sha2....
opentitan/sw/device/lib/crypto/include/hmac.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.835
false
false
5,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 // //############################################################################ // *Name: gfr_clk_mux2 // *Module Description: Glitch Free Asynchron...
opentitan/hw/top_englishbreakfast/ip/ast/rtl/gfr_clk_mux2.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
2,985
-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 pinmux_jtag_buf ( // Gates TCK/TRSTN below. Holds this TAP's clock off and reset asserted when deselected. input logic en_...
opentitan/hw/ip_templates/pinmux/rtl/pinmux_jtag_buf.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.114
false
false
1,227
-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_spi_device.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/memory.h" #include "sw/device/li...
opentitan/sw/device/lib/dif/dif_spi_device.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.073
false
false
45,086
-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 to hold register configuration values for the DUT // // This class is intended to contain all the dut register configuration values, and the...
opentitan/hw/ip/entropy_src/dv/env/entropy_src_dut_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.183
false
false
25,416
-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 pwrmgr_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(pwrmgr_env_cfg), .COV_T(pwrmgr_env_cov) ); `uvm_component_utils(pwr...
opentitan/hw/top_englishbreakfast/ip_autogen/pwrmgr/dv/env/pwrmgr_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
376
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Run OTP with reset and other misbehavior to stretch coverage class flash_ctrl_otp_reset_vseq extends flash_ctrl_base_vseq; `uvm_object_utils(fla...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_otp_reset_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.117
false
false
7,388
-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/peripherals/ssd1131_screen.h" #include "sw/device/examples/teacup_demos/data/bitmaps.h" #include "sw/device/lib/base/status....
opentitan/sw/device/lib/peripherals/ssd1131_screen.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.124
false
false
4,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 class rstmgr_env extends cip_base_env #( .CFG_T (rstmgr_env_cfg), .COV_T (rstmgr_env_cov), .VIRTUAL_SEQUENCER_T(rstmg...
opentitan/hw/top_englishbreakfast/ip_autogen/rstmgr/dv/env/rstmgr_env.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.049
false
false
2,594
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // flash_ctrl_error_prog_type Test // Pseudo Code // Outer Loop (x) // Initialize // Choose a random Program Type Scheme (Normal and/or Program ...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_error_prog_type_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.247
false
false
9,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 #include "sw/device/lib/crypto/drivers/kmac.h" #include "sw/device/lib/crypto/include/config.h" #include "sw/device/lib/crypto/include/cryptolib_buil...
opentitan/sw/device/tests/crypto/kmac_sideload_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.12
false
false
13,185
-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_edn.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/multibits.h" #include "sw/device/lib/di...
opentitan/sw/device/lib/dif/dif_edn.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.143
false
false
14,681
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class cip_base_scoreboard #(type RAL_T = dv_base_reg_block, type CFG_T = cip_base_env_cfg, ty...
opentitan/hw/dv/sv/cip_lib/cip_base_scoreboard.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.26
false
false
46,603
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * Covergroups that are dependent on run-time parameters that may be available * only in build_phase can be defined here * Covergroups may also...
opentitan/hw/ip/csrng/dv/env/csrng_env_cov.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.64
false
false
1,033
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // See pinmux_config.h for the explaination of this include ordering. #include "sw/device/lib/testing/json/pinmux.h" #undef UJSON_SERDE_IMPL #define ...
opentitan/sw/device/lib/testing/json/pinmux_config.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.327
false
false
2,073
-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 rram_ctrl_bkdr_util_pkg; // dep packages import bus_params_pkg::BUS_AW; import dv_utils_pkg::uint32_t, dv_utils_pkg::addr_range_t; im...
opentitan/hw/ip/rram_ctrl/dv/bkdr/rram_ctrl_bkdr_util_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.316
false
false
639
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // RISC-V Platform-Level Interrupt Gateways module `include "prim_assert.sv" module rv_plic_gateway #( parameter int N_SOURCE = 32 ) ( input ...
opentitan/hw/top_englishbreakfast/ip_autogen/rv_plic/rtl/rv_plic_gateway.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.615
false
false
4,666
-1