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 // module tb; // dep packages (test) import uvm_pkg::*; import dv_utils_pkg::*; import sram_ctrl_bkdr_util_pkg::sram_ctrl_bkdr_util; import ...
opentitan/hw/ip/otbn/dv/uvm/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.201
false
false
14,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 `include "rv_dm_base_vseq.sv" `include "rv_dm_smoke_vseq.sv" `include "rv_dm_common_vseq.sv" `include "rv_dm_jtag_dtm_csr_vseq.sv" `include "rv_dm_jt...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.086
false
false
1,481
-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-UL socket M:1 module // // cheriot_socket_m1 is a copy of this module with a CHERIoT sideband; keep the two in sync. // // Verilog parameters...
opentitan/hw/ip/tlul/rtl/tlul_socket_m1.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
8,323
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // event test vseq // sequence verifies all events occur in event_enable register class spi_host_event_vseq extends spi_host_tx_rx_vseq; `uvm_objec...
opentitan/hw/ip/spi_host/dv/env/seq_lib/spi_host_event_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.044
false
false
4,172
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/base/static_critical_version.h" #include "sw/device/lib/base/macros.h" /** * Static critical region format...
opentitan/sw/device/silicon_creator/lib/base/static_critical_version.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.857
false
false
652
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_SHA3_SCA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_SHA3_SCA_COMMAND...
opentitan/sw/device/tests/penetrationtests/json/sha3_sca_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.51
false
false
2,467
-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_rv_plic.h" #include "sw/device/lib/dif/dif_uart.h" #include "sw/device/lib/runti...
opentitan/sw/device/tests/rv_plic_smoketest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.324
false
false
6,161
-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 i2c_target_stress_rd_vseq extends i2c_target_smoke_vseq; `uvm_object_utils(i2c_target_stress_rd_vseq) `uvm_object_new constraint num_tra...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_target_stress_rd_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.2
false
false
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 #include "sw/device/lib/base/status_report_unittest_c.h" #include "sw/device/lib/base/status.h" /* This part of the test needs to be written in C b...
opentitan/sw/device/lib/base/status_report_unittest_c.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.583
false
false
1,394
-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_pkt_received test vseq class usbdev_pkt_received_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_pkt_received_vseq) `uvm_objec...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_pkt_received_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.4
false
false
881
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_ENTROPY_KAT_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_ENTROPY_KAT_H_ #include <stdbool.h> #inc...
opentitan/sw/device/lib/crypto/drivers/entropy_kat.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.956
false
false
3,807
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/drivers/keymgr_dpe.h" #include <assert.h> #include "hw/top/dt/keymgr_dpe.h" #include "sw/device/lib/base/ab...
opentitan/sw/device/silicon_creator/lib/drivers/keymgr_dpe.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.382
false
false
27,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 // // RRAM Phy Write Module // // This module implements the RRAM write operations. // To hide the write latency of the RRAM, data is first written to...
opentitan/hw/ip/rram_ctrl/rtl/rram_phy_wr.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.252
false
false
9,871
-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_CHIP_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_CHIP_H_ /** * @file * @brief Chi...
opentitan/sw/device/silicon_creator/lib/base/chip.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.934
false
false
3,818
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class jtag_agent_cfg extends dv_base_agent_cfg; // interface handle used by driver, monitor & the sequencer, via cfg handle virtual jtag_if vif;...
opentitan/hw/dv/sv/jtag_agent/jtag_agent_cfg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.581
false
false
1,744
-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 esc_if(input clk, input rst_n); import uvm_pkg::*; wire prim_esc_pkg::esc_tx_t esc_tx; wire prim_esc_pkg::esc_rx_t esc_rx; ...
opentitan/hw/dv/sv/esc_agent/esc_if.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.212
false
false
2,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 class usb20_driver extends dv_base_driver #(usb20_item, usb20_agent_cfg); `uvm_component_utils(usb20_driver) `uvm_component_new // These defa...
opentitan/hw/dv/sv/usb20_agent/usb20_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.277
false
false
27,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_SILICON_CREATOR_MANUF_DATA_AST_CALIBRATION_VALUES_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_DATA_AST_CALIBRATI...
opentitan/sw/device/silicon_creator/manuf/data/ast/calibration_values.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.889
false
false
579
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Bidirectional IO buffer for Xilinx FPGAs. Implements inversion and // virtual open drain feature. `include "prim_assert.sv" module prim_pad_wr...
opentitan/hw/ip/prim_xilinx/rtl/prim_pad_wrapper.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
4,485
-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_SHUTDOWN_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SHUTDOWN_H_ #include <stdint.h> #include ...
opentitan/sw/device/silicon_creator/lib/shutdown.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.761
false
false
3,962
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_MMIO_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_MMIO_H_ #include <stdbool.h> #include <stddef.h> #include <stdint....
opentitan/sw/device/lib/base/mmio.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.641
false
false
16,384
-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 to handle signal level code for the miscellaneous signals without an attached // UVM agent interface ac_range_check_misc_io_if(); // D...
opentitan/hw/top_darjeeling/ip_autogen/ac_range_check/dv/env/ac_range_check_misc_io_if.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.212
false
false
2,222
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_device_env_cfg extends cip_base_env_cfg #(.RAL_T(spi_device_reg_block)); rand spi_agent_cfg spi_host_agent_cfg; rand spi_agent_cfg sp...
opentitan/hw/ip/spi_device/dv/env/spi_device_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.228
false
false
6,105
-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 soc_dbg_ctrl import prim_mubi_pkg::*; import lc_ctrl_pkg::*; import soc_dbg_ctrl_pkg::*; import soc_dbg_ctr...
opentitan/hw/ip/soc_dbg_ctrl/rtl/soc_dbg_ctrl.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.284
false
false
19,194
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package racl_ctrl_test_pkg; // dep packages import uvm_pkg::*; import cip_base_pkg::*; import racl_ctrl_base_env_pkg::*; // macro includes...
opentitan/hw/ip/racl_ctrl/dv/tests/racl_ctrl_test_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
480
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Filters interrupt test sequence class adc_ctrl_filters_interrupt_vseq extends adc_ctrl_filters_polled_vseq; `uvm_object_utils(adc_ctrl_filters_...
opentitan/hw/ip/adc_ctrl/dv/env/seq_lib/adc_ctrl_filters_interrupt_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.244
false
false
1,676
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Send read only traffic // No protection is applied. class flash_ctrl_ro_vseq extends flash_ctrl_otf_base_vseq; `uvm_object_utils(flash_ctrl_ro_v...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_ro_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.163
false
false
1,340
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/testing/json/chip_specific_startup.h" #include <stdbool.h> #include "sw/device/lib/base/csr.h" #include "sw/device/lib/base...
opentitan/sw/device/silicon_creator/rom/e2e/chip_specific_startup/chip_specific_startup.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.264
false
false
6,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 // // Device Address Table cache. module i3c_dat_cache import i3c_consts_pkg::*; import i3c_controller_pkg::*; import i3c_pkg::*; #( // Numbe...
opentitan/hw/ip/i3c/rtl/i3c_dat_cache.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.497
false
false
8,092
-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 usbdev_osc_tuning_if ( // Host signals. input host_clk_i, input host_rst_ni, // DUT signals. input usb_clk_i, input...
opentitan/hw/ip/usbdev/dv/env/usbdev_osc_tuning_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
1,562
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/sigverify/spx_key.h" // `extern` declarations for `inline` functions in the header. extern uint32_t sigverify...
opentitan/sw/device/silicon_creator/lib/sigverify/spx_key.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.833
false
false
369
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_host_tpm_seq extends spi_base_seq; local bit [7:0] address_q[$]; rand bit [TPM_ADDR_WIDTH-1:0] addr; rand bit [7:0] data_q[$]; rand...
opentitan/hw/dv/sv/spi_agent/seq_lib/spi_host_tpm_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.075
false
false
2,121
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Verify the JTAG has priority over TL for the Mutex class lc_ctrl_jtag_priority_vseq extends lc_ctrl_jtag_access_vseq; `uvm_object_utils(lc_ctrl_...
opentitan/hw/ip/lc_ctrl/dv/env/seq_lib/lc_ctrl_jtag_priority_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.168
false
false
5,216
-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/csrng.h" #include "hw/top/dt/edn.h" #include "hw/top/dt/rv_core_ibex.h" #include "sw/device/lib/dif/dif_csrng.h" #include "sw/dev...
opentitan/sw/device/tests/edn_kat.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.402
false
false
9,923
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdint.h> #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testing/test_framework/ottf_main.h" #include "sw/device/silicon_c...
opentitan/sw/device/silicon_creator/rom/e2e/bootstrap/rom_e2e_bootstrap_rma_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.538
false
false
544
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // base register class which will be used to generate the reg class dv_base_reg extends uvm_reg; // external reg doesn't have storage in reg modu...
opentitan/hw/dv/sv/dv_base_reg/dv_base_reg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.234
false
false
23,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 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_PINMUX_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_PINMUX_H_ /** * @file * @brief <a href="/hw/top_earlgrey...
opentitan/sw/device/lib/dif/dif_pinmux.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.754
false
false
20,616
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_KEYS_FAKE_ECDSA_TEST_KEY_0_ECDSA_P256_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_KEYS_FAKE_EC...
opentitan/sw/device/silicon_creator/rom/keys/fake/ecdsa/test_key_0_ecdsa_p256.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.583
false
false
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 // // AON timer top module which instantiates the registers, the aon_core module // and connects up all the inputs and outputs. `include "prim_assert...
opentitan/hw/ip/aon_timer/rtl/aon_timer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.235
false
false
9,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 // // Description: sysrst_ctrl pin visibility and override Module // module sysrst_ctrl_pin import sysrst_ctrl_reg_pkg::*; ( input clk_i, input...
opentitan/hw/ip/sysrst_ctrl/rtl/sysrst_ctrl_pin.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.108
false
false
4,824
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Supports writing a field that enables // a function within a module. // Requirements are that the function will // only be enabled when the fiel...
opentitan/hw/ip/entropy_src/rtl/entropy_src_field_en.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.325
false
false
1,410
-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_phy_prim_item extends uvm_sequence_item; `uvm_object_utils_begin(flash_phy_prim_item) `uvm_object_utils_end flash_phy_pkg::flash_...
opentitan/hw/dv/sv/flash_phy_prim_agent/flash_phy_prim_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
440
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_SHA3_SCA_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_SHA3_SCA_...
opentitan/sw/device/tests/penetrationtests/firmware/sca/sha3_sca.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.636
false
false
1,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 #include "sw/device/lib/dif/dif_base.h" #include "sw/device/lib/dif/dif_otbn.h" #include "sw/device/lib/dif/dif_rv_core_ibex.h" #include "sw/device/l...
opentitan/sw/device/tests/otbn_mem_scramble_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.485
false
false
10,084
-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 comparator inside the ROM checker // // This module is in charge of comparing the digest that was computed over the ROM data with the // ex...
opentitan/hw/ip/rom_ctrl/rtl/rom_ctrl_compare.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.377
false
false
5,091
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class aes_env_cov extends cip_base_env_cov #(.CFG_T(aes_env_cfg)); `uvm_component_utils(aes_env_cov) // the base class provides the following ha...
opentitan/hw/ip/aes/dv/env/aes_env_cov.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.538
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 class chip_sw_dma_spi_hw_handshake_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_dma_spi_hw_handshake_vseq) `uvm_object_new local...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_dma_spi_hw_handshake_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.186
false
false
4,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 // // Description: entropy_src high and low watermark register module // module entropy_src_watermark_reg #( parameter int RegWidth = 16, paramet...
opentitan/hw/ip/entropy_src/rtl/entropy_src_watermark_reg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.265
false
false
1,828
-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/sca/lib/simple_serial.h" #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/b...
opentitan/sw/device/sca/lib/simple_serial.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.453
false
false
7,616
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdalign.h> #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/runtime/print.h" #incl...
opentitan/sw/device/silicon_creator/lib/drivers/kmac_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.325
false
false
9,814
-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 is coded to be similar to the ram_1p.v in COCO-IBEX project // Single-port RAM with 1 cycle read/write delay module ram_1p #( param...
opentitan/hw/ip/otbn/pre_sca/alma/rtl/ram_1p.v
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.135
false
false
1,138
-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 consists of multiple parts: * - First, the test controller configures the UDID and the Message command * value (a "register"...
opentitan/sw/device/tests/i2c_target_smbus_arp_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.299
false
false
41,515
-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 lc_ctrl_regwen_during_op_vseq extends lc_ctrl_smoke_vseq; `uvm_object_utils(lc_ctrl_regwen_during_op_vseq) constraint num_trans_c {num_tra...
opentitan/hw/ip/lc_ctrl/dv/env/seq_lib/lc_ctrl_regwen_during_op_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.219
false
false
4,001
-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 driver for an error log interface. This behaves as a set of subscribers to racl_ctrl and // reports errors. class racl_error_log_driver extends...
opentitan/hw/ip/racl_ctrl/dv/env/racl_error_log_agent/racl_error_log_driver.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.325
false
false
3,855
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // this is a base sequence for esc_receiver side class esc_receiver_base_seq extends dv_base_seq #( .REQ (esc_seq_item), .CFG_T ...
opentitan/hw/dv/sv/esc_agent/seq_lib/esc_receiver_base_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
1,602
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This is an EDN interface. // It deals with the force paths in EDN interrupt and error tests, // and helps pass the disable signal to the csrng age...
opentitan/hw/ip/edn/dv/env/edn_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.176
false
false
1,544
-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 i2c_rx_tx_vseq extends i2c_base_vseq; `uvm_object_utils(i2c_rx_tx_vseq) `uvm_object_new local bit complete_program_fmt_fifo; // Keep ...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_rx_tx_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.133
false
false
9,654
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Synchronous TL-UL FIFO, used to add elasticity (the ability for // transactions to stall on one side without affecting the other side) // to a T...
opentitan/hw/ip/tlul/rtl/tlul_fifo_sync.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.104
false
false
6,738
-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 generates the initial part of Target-initiated arbitrable address headers (e.g., to // signal IBI or Controller Role Requests to the...
opentitan/hw/ip/i3c/rtl/i3c_targ_start_req.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.369
false
false
4,438
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This test verifies the behavior of different registers matches the specification. In particular: // - Initial key registers are not readable. // -...
opentitan/hw/ip/aes/dv/env/seq_lib/aes_readability_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.148
false
false
5,980
-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_AST_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_AST_H_ #include "sw/device/li...
opentitan/sw/device/silicon_creator/lib/drivers/ast.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.83
false
false
1,572
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/drivers/retention_sram.h" #include <assert.h> #include "hw/top/dt/sram_ctrl.h" #include "sw/device/lib/base...
opentitan/sw/device/silicon_creator/lib/drivers/retention_sram.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.286
false
false
2,334
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Collects sequence items from observed I2C bus transactions. // // Read and Write transactions are collected into different ports, and also // di...
opentitan/hw/dv/sv/i2c_agent/i2c_monitor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
27,082
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdalign.h> #include <stdbool.h> #include "sw/device/examples/demos.h" #include "sw/device/lib/arch/device.h" #include "sw/device/lib/dif/...
opentitan/sw/device/examples/hello_usbdev/hello_usbdev.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.26
false
false
8,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 #include "sw/device/lib/runtime/irq.h" #include "sw/device/lib/base/csr.h" static const uint32_t IRQ_EXT_ENABLE_OFFSET = 11; static const uint32_t ...
opentitan/sw/device/lib/runtime/irq.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.119
false
false
1,213
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class chip_sw_sleep_por_reset_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_sleep_por_reset_vseq) `uvm_object_new // This test si...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_sleep_por_reset_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
1,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 class jtag_monitor extends dv_base_monitor #( .ITEM_T(jtag_item), .CFG_T (jtag_agent_cfg), .COV_T (jtag_agent_cov) ); `uvm_component_utils(jt...
opentitan/hw/dv/sv/jtag_agent/jtag_monitor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
6,298
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class entropy_src_smoke_test extends entropy_src_base_test; `uvm_component_utils(entropy_src_smoke_test) `uvm_component_new function void con...
opentitan/hw/ip/entropy_src/dv/tests/entropy_src_smoke_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.217
false
false
1,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 rv_dm_dataaddr_rw_access_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_dataaddr_rw_access_vseq) `uvm_object_new task test_reg(in...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_dataaddr_rw_access_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.292
false
false
1,122
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "hw/top/dt/gpio.h" #include "hw/top/dt/pinmux.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/mmio.h" #include "sw/de...
opentitan/sw/device/tests/gpio_smoketest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.495
false
false
4,011
-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_sysrst_ctrl_in_irq_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_sysrst_ctrl_in_irq_vseq) `uvm_object_new localpara...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_sysrst_ctrl_in_irq_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.191
false
false
4,035
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_MOCK_LIFECYCLE_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_MOCK_LIFECYCLE_H_ ...
opentitan/sw/device/silicon_creator/lib/drivers/mock_lifecycle.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.48
false
false
1,126
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/dif/dif_pinmux.h" #include "sw/device/lib/dif/dif_pwrmgr.h" #include "sw/device/lib/dif/dif_rv_plic.h" #include "sw/device/li...
opentitan/sw/device/tests/rv_dm_access_after_wakeup.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.336
false
false
5,865
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This test triggers a regfile integrity error from the SV side for any // random IP instance. The alert handler is programmed to trigger a specific...
opentitan/sw/device/tests/sim_dv/all_escalation_resets_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.268
false
false
57,332
-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_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(sysrst_ctrl_env_cfg), .COV_T(sysrst_ctrl_env_cov) ); `uv...
opentitan/hw/ip/sysrst_ctrl/dv/env/sysrst_ctrl_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
401
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module prim_sec_anchor_const #( parameter int Width = 1, parameter logic [Width-1:0] ConstVal = '0 ) ( output logic ...
opentitan/hw/ip/prim/rtl/prim_sec_anchor_const.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.176
false
false
460
-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/rsa/run_rsa.h" #include "sw/device/lib/base/crc32.h" #include "sw/device/lib/base/hardened_memory.h" #include "s...
opentitan/sw/device/lib/crypto/impl/rsa/run_rsa.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.234
false
false
22,949
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_SHA2_OTBN_SCA_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_SHA2...
opentitan/sw/device/tests/penetrationtests/firmware/sca/sha2_otbn_sca.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.9
false
false
1,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 class sram_ctrl_base_vseq #( parameter int MemDepth = `SRAM_SIZE_WORDS ) extends cip_base_vseq #( .RAL_T (sram_ctrl_regs_reg_...
opentitan/hw/ip/sram_ctrl/dv/env/seq_lib/sram_ctrl_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.264
false
false
16,281
-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/spi_device_testutils.h" #include "hw/top/dt/spi_device.h" #include "sw/device/lib/dif/dif_spi_device.h" #include "sw...
opentitan/sw/device/lib/testing/spi_device_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.138
false
false
17,570
-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" /** * OTBN random number coordination * * This module implements the RND, RND_PREFETCH and URND CSRs/WSRs. The EDN (ent...
opentitan/hw/ip/otbn/rtl/otbn_rnd.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.342
false
false
19,672
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // If using this, instantiate it somewhere that "u_model" will resolve to the corresponding instance // of the otbn_core_model module. For example, y...
opentitan/hw/ip/otbn/dv/uvm/otbn_model_agent/otbn_model_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.216
false
false
6,788
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Ascon SBox unprotected implementation module prim_ascon_sbox ( output logic [4:0] state_o, input logic [4:0] state_i ); logic [4:0] tem...
opentitan/hw/ip/prim/rtl/prim_ascon_sbox.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.161
false
false
1,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 // ICEBOX(#10996): Based on kmac_app sequence, drive partial data by sending `strb` value that is not // always equal to `8'hFF`. class kmac_app_with...
opentitan/hw/ip/kmac/dv/env/seq_lib/kmac_app_with_partial_data_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.312
false
false
678
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Binds UART functional coverage interface to the top level AES module. module spi_host_cov_bind; bind spi_host spi_host_cov_if u_spi_cov_if ( ...
opentitan/hw/ip/spi_host/dv/cov/spi_host_cov_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
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 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_PENTEST_LIB_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_PENTEST_LIB_C...
opentitan/sw/device/tests/penetrationtests/json/pentest_lib_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.275
false
false
5,679
-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/abs_mmio.h" #include "sw/device/lib/ba...
opentitan/sw/device/tests/pwrmgr_normal_sleep_por_reset_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.381
false
false
4,943
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/tests/penetrationtests/firmware/sca/hmac_sca.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/status.h" #i...
opentitan/sw/device/tests/penetrationtests/firmware/sca/hmac_sca.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.231
false
false
8,841
-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 cheriot_mem_sys_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(cheriot_mem_sys_env_cfg), .COV_T(cheriot_mem_sys_env_cov...
opentitan/hw/ip/cheriot_mem_sys/dv/env/cheriot_mem_sys_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
418
-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 "hw/top/dt/rv_core_ibex.h" #include "sw/device/lib/arch/device.h" #include "hw/top/rv_core_ibex_r...
opentitan/sw/device/lib/arch/device_sim_verilator.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.339
false
false
2,587
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_FIRMWARE_DRBG_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_FIRMWARE_DRBG_H_ #include "...
opentitan/sw/device/tests/crypto/cryptotest/firmware/drbg.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.889
false
false
497
-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_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(kmac_env_cfg), .COV_T(kmac_env_cov) ); `uvm_component_utils(kma...
opentitan/hw/ip/kmac/dv/env/kmac_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
502
-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" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/dif/dif_base.h" #include "sw/device/lib/dif/dif_clkmgr.h...
opentitan/sw/device/tests/clkmgr_smoketest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.329
false
false
3,544
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * ExtWLEN (312b) Wide Register File (WDRs) * * ExtWLEN allows bits to provide integrity checking to WLEN words on a 32-bit granule. Integrity ...
opentitan/hw/ip/otbn/rtl/otbn_rf_bignum_fpga.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.429
false
false
3,460
-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_COVERAGE_API_ASM_H_ #define OPENTITAN_SW_DEVICE_LIB_COVERAGE_API_ASM_H_ #ifdef OT_COVERAGE_INSTRUMENTED /** * Init...
opentitan/sw/device/lib/coverage/api_asm.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.947
false
false
1,408
-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 to handle signal level code for the miscellaneous signals without an attached // UVM agent interface soc_dbg_ctrl_misc_io_if(); // Dep...
opentitan/hw/ip/soc_dbg_ctrl/dv/env/soc_dbg_ctrl_misc_io_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.123
false
false
6,602
-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/rescue/dfu.h" // clang-format off // We map state transitions for every DFU request for every DFU state. // ...
opentitan/sw/device/silicon_creator/lib/rescue/dfu_state_table.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.123
false
false
7,047
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_HMAC_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_HMAC_COMMANDS_H_ #...
opentitan/sw/device/tests/crypto/cryptotest/json/hmac_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.55
false
false
1,568
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/status.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testing/test_framework/check.h" #include "sw/de...
opentitan/sw/device/silicon_creator/rom_ext/e2e/dice_chain/debug_mode_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.217
false
false
3,656
-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/impl/keyblob.h" #include "sw/device/lib/crypto/include/config.h" #inclu...
opentitan/sw/device/tests/crypto/kdf_kmac_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.198
false
false
10,511
-1