text
stringlengths
183
150k
path
stringlengths
15
112
bucket
stringclasses
4 values
source
stringclasses
14 values
group
stringclasses
121 values
spdx
stringclasses
11 values
repo_license
stringclasses
11 values
commit
stringclasses
13 values
lang
stringclasses
4 values
def_heavy
bool
1 class
comment_ratio
float64
0
1
restricted
bool
2 classes
fresh
bool
1 class
n_bytes
int64
183
150k
n_tokens
int64
-1
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_device_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(spi_device_env_cfg), .COV_T(spi_device_env_cov) ); ...
opentitan/hw/ip/spi_device/dv/env/spi_device_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
472
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A base class for a driver. This drives sequence items of type ITEM_T. If the subclass is designed // to do so, it responds with items of type RSP_...
opentitan/hw/dv/sv/dv_base_agent/dv_base_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.44
false
false
3,700
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/hardened.h" // `extern` declarations to give the inline functions in the corresponding // header a link location. exte...
opentitan/sw/device/lib/base/hardened.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.273
false
false
1,036
-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 i2c_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import csr_utils_pkg::*; import dv_bas...
opentitan/hw/ip/i2c/dv/env/i2c_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.177
false
false
3,850
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class chip_sw_soc_proxy_gpio_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_soc_proxy_gpio_vseq) bit muxable_soc_gpis_mapped = 1'b0; ...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_soc_proxy_gpio_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.213
false
false
7,653
-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_SIGVERIFY_SPX_KEY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_SPX_KEY_H_ #include <...
opentitan/sw/device/silicon_creator/lib/sigverify/spx_key.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.729
false
false
3,549
-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/check.h" #include "sw/device/lib/testing/t...
opentitan/sw/device/silicon_creator/lib/sigverify/sphincsplus/test/mgf1_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.408
false
false
2,081
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Implements functional coverage for rom_ctrl interface rom_ctrl_cov_if ( input logic clk_i, input kmac_pkg::app_rs...
opentitan/hw/ip/rom_ctrl/dv/cov/rom_ctrl_cov_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.224
false
false
3,999
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // KMAC MSG_FIFO // // This module converts TL-UL interface into MSG_FIFO interface used in KMAC. `include "prim_assert.sv" module kmac_msgfifo ...
opentitan/hw/ip/kmac/rtl/kmac_msgfifo.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.228
false
false
9,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 // // Leading one detector based on parallel prefix computation // See also: prim_arbiter_ppc module prim_leading_one_ppc #( parameter int unsigned...
opentitan/hw/ip/prim/rtl/prim_leading_one_ppc.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.27
false
false
1,124
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class uart_seq extends uart_base_seq; `uvm_object_utils(uart_seq) rand bit [7:0] data; rand bit parity_err; rand bit parity; r...
opentitan/hw/dv/sv/uart_agent/seq_lib/uart_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.094
false
false
1,050
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_AES_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_AES_COMMANDS_H_ #in...
opentitan/sw/device/tests/crypto/cryptotest/json/aes_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.471
false
false
1,899
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Scratch verification testbench for REQ/ACK synchronizer primitive module prim_sync_reqack_tb ( input logic clk_i, input logic rst_ni, ...
opentitan/hw/ip/prim/pre_dv/prim_sync_reqack/rtl/prim_sync_reqack_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.128
false
false
6,068
-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 system verilog unit test bench // The intent of this test bench is to get basics running, // such as clocks and res...
opentitan/hw/ip/entropy_src/pre_dv/entropy_src_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.188
false
false
12,887
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class uart_base_seq extends dv_base_seq #( .REQ (uart_item), .CFG_T (uart_agent_cfg), .SEQUENCER_T (uart_sequencer) ); ...
opentitan/hw/dv/sv/uart_agent/seq_lib/uart_base_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
510
-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_base_test extends cip_base_test #( .CFG_T(kmac_env_cfg), .ENV_T(kmac_env) ); `uvm_component_utils(kmac_base_test) `uvm_comp...
opentitan/hw/ip/kmac/dv/tests/kmac_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.421
false
false
784
-1
// Copyright 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
opentitan/hw/ip/hmac/dv/cryptoc_dpi/sha512.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.781
false
false
1,277
-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 top_pkg; localparam int TL_AW=32; localparam int TL_DW=32; // = TL_DBW * 8; TL_DBW must be a power-of-two localparam int TL_AIW=8; // ...
opentitan/hw/top_darjeeling/rtl/top_pkg.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.348
false
false
1,093
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Ascon core implementation module ascon_core import ascon_reg_pkg::*; import ascon_pkg::*; ( input clk_i, input rst_ni, // Life cycle...
opentitan/hw/ip/ascon/rtl/ascon_core.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.163
false
false
23,765
-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 clas provides knobs to set the weights for various seq random variables. class spi_host_seq_cfg extends uvm_object; `uvm_object_utils(spi_h...
opentitan/hw/ip/spi_host/dv/env/spi_host_seq_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.386
false
false
2,621
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This sequence will verify the ec and power on reset sequence. // It will explicitly release the reset by disabling the override // function and st...
opentitan/hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_ec_pwr_on_rst_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.283
false
false
1,709
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Testbench module for prim_present, drives various test vectors into all // implementations and compares intermediate and final output against //...
opentitan/hw/ip/prim/dv/prim_present/tb/prim_present_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.283
false
false
8,752
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/tests/penetrationtests/firmware/fi/cryptolib_fi_sym.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/statu...
opentitan/sw/device/tests/penetrationtests/firmware/fi/cryptolib_fi_sym.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.291
false
false
22,164
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Tile-Link UL adapter for RISC-V debug module from the PULP project. // // Note that this module can only handle one outstanding request at a tim...
opentitan/hw/ip/tlul/rtl/tlul_adapter_dmi.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.22
false
false
6,304
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // FIFO-related constants and structure descriptions. // // - The Host Controller Interface specification employs a number of FIFOs and this I3C bloc...
opentitan/hw/ip/i3c/rtl/i3c_fifo_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.486
false
false
6,079
-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/ownership/ownership_unlock.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/lib/base/macros.h...
opentitan/sw/device/silicon_creator/lib/ownership/ownership_unlock.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.239
false
false
9,055
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_LIB_NVM_INFO_FIELD_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_LIB_NVM_INFO_FIELD_H_ #inc...
opentitan/sw/device/silicon_creator/manuf/lib/nvm_info_field.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.574
false
false
6,916
-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_otbn.h" #include <assert.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/mmio.h" #include ...
opentitan/sw/device/lib/dif/dif_otbn.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.143
false
false
7,830
-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 builds on the existing host_perf test, but utilizes an additional monitor mode to // measure the bit-period of each data bit throughout ...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_host_perf_precise_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.354
false
false
2,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 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_KMAC_SCA_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_KMAC_SCA_...
opentitan/sw/device/tests/penetrationtests/firmware/sca/kmac_sca.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.618
false
false
1,280
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /* DMA 'generic' smoke test; runs smoke test with both 'memory-to-memory' and 'hardware handshaking' transfers. - FW allocates DMA enabled M...
opentitan/hw/ip/dma/dv/env/seq_lib/dma_generic_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.24
false
false
2,398
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class edn_env_cfg extends cip_base_env_cfg #(.RAL_T(edn_reg_block)); // external component cfgs csrng_agent_cfg m_csrng_agent_cfg; push_pull...
opentitan/hw/ip/edn/dv/env/edn_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.112
false
false
7,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 // // kmac_pkg package kmac_pkg; parameter int MsgWidth = sha3_pkg::MsgWidth; parameter int MsgStrbW = sha3_pkg::MsgStrbW; // Message FIFO dep...
opentitan/hw/ip/kmac/rtl/kmac_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.438
false
false
21,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 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_KMAC_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_KMAC_H_ #include "datatypes.h" /** * @file ...
opentitan/sw/device/lib/crypto/include/kmac.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.819
false
false
5,984
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // `Timed registers` cannot be guaranteed to change at an exact time, so a certain amount of // variability must be expected in the timing. class usb...
opentitan/hw/ip/usbdev/dv/env/usbdev_timed_regs.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.2
false
false
4,931
-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 rstmgr_pkg; // Power domain parameters parameter int PowerDomains = 2; parameter int DomainAonSel = 0; parameter int DomainMainSe...
opentitan/hw/top_englishbreakfast/ip_autogen/rstmgr/rtl/rstmgr_pkg.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.174
false
false
3,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 // Send errored traffic with normal traffic. // Asserted error traffics are three kinds // 1. Oversized (more than 16 bus words) program traffic // 2...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_oversize_error_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.13
false
false
3,028
-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 open source vendor_test partition status will always return 0 because the generic_otp ties // the status to 0. // For close source testing, i...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_otp_ctrl_vendor_test_csr_access_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.274
false
false
3,341
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package prim_ascon_duplex_tb_pkg; typedef enum { Idle, SendAD, WaitADRead, SendMSG, CheckMSGLen, WaitMSGRead, ReceiveTag, CheckCTL...
opentitan/hw/ip/prim/pre_dv/prim_ascon/prim_ascon_duplex_tb/rtl/prim_ascon_duplex_tb_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
432
-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_env extends cip_base_env #( .CFG_T (lc_ctrl_env_cfg), .COV_T (lc_ctrl_env_cov), .VIRTUAL_SEQUENCER_T(lc_...
opentitan/hw/ip/lc_ctrl/dv/env/lc_ctrl_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.077
false
false
5,509
-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 adc_ctrl_bind; bind adc_ctrl tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( .clk_i, .rst_ni, .h2d(tl_i), ...
opentitan/hw/ip/adc_ctrl/dv/sva/adc_ctrl_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
599
-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_ECC_P256_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_ECC_P256_H_ #include <stddef.h> #include <stdint...
opentitan/sw/device/lib/crypto/impl/ecc/p256.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.767
false
false
15,386
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "chip_callback_vseq.sv" `include "chip_base_vseq.sv" `include "chip_stub_cpu_base_vseq.sv" `include "chip_common_vseq.sv" `include "chip_jta...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_vseq_list.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.118
false
false
3,961
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Imports for the functions defined in otbn_memutil.h. There are documentation comments explaining // what the functions do there. `ifndef SYNTHESIS...
opentitan/hw/ip/otbn/dv/memutil/otbn_memutil_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.167
false
false
2,128
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/dif/dif_entropy_src.h" #include <stddef.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/memory.h" ...
opentitan/sw/device/lib/dif/dif_entropy_src.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.111
false
false
32,468
-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_ECDSA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_ECDSA_COMMANDS_H_...
opentitan/sw/device/tests/crypto/cryptotest/json/ecdsa_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.465
false
false
4,250
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This sequence is mainly used to run the CSR tests, there is no need to run multiple transactions // in this sequence. Hence, the constraint is set...
opentitan/hw/ip/soc_dbg_ctrl/dv/env/seq_lib/soc_dbg_ctrl_common_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.259
false
false
1,041
-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/status.h" #include "sw/device/lib/crypto/include/config.h" #include "sw/device/lib/crypto/include/datatypes.h" #i...
opentitan/sw/device/tests/crypto/sha256_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.29
false
false
8,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 <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_deep_sleep_por_reset_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.395
false
false
4,712
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Specialization of the `mem_bkdr_util` class for RRAM memory class rram_ctrl_bkdr_util extends mem_bkdr_util; localparam int unsigned RramDataW...
opentitan/hw/ip/rram_ctrl/dv/bkdr/rram_ctrl_bkdr_util.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.316
false
false
11,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 #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_sr...
opentitan/sw/device/tests/sram_ctrl_subword_access_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.283
false
false
6,999
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/drivers/clkmgr.h" #include "hw/top/dt/clkmgr.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device...
opentitan/sw/device/silicon_creator/lib/drivers/clkmgr.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.524
false
false
927
-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_H_ #define OPENTITAN_HW_IP_AES_MODEL_AES_H_ /** * Encrypt one data block (16 Bytes) in ECB mode. * * @param...
opentitan/hw/ip/aes/model/aes.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.545
false
false
7,399
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Covergroups for I2C protocol transitions module i2c_protocol_cov( input clk, input rst_n, // I2C IO ...
opentitan/hw/ip/i2c/dv/sva/i2c_protocol_cov.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.188
false
false
19,151
-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_lc_ctrl_program_error_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_lc_ctrl_program_error_vseq) `uvm_object_new vir...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_lc_ctrl_program_error_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
1,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/tests/penetrationtests/firmware/sca/trigger_sca.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/status.h"...
opentitan/sw/device/tests/penetrationtests/firmware/sca/trigger_sca.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.525
false
false
1,533
-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 allows injection of flash_ctrl fatal alert. interface flash_ctrl_host_gnt_fault_if ( input clk_i, input rst_ni ); `include...
opentitan/hw/top_darjeeling/dv/env/flash_ctrl_host_gnt_fault_if.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.205
false
false
1,576
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <assert.h> #include <limits.h> #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base...
opentitan/sw/device/tests/pwrmgr_normal_sleep_all_reset_reqs_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.295
false
false
4,727
-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_RND_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_RND_H_ #include "sw/device/li...
opentitan/sw/device/silicon_creator/lib/drivers/rnd.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.837
false
false
1,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 class csrng_intr_test extends csrng_base_test; `uvm_component_utils(csrng_intr_test) `uvm_component_new function void configure_env(); su...
opentitan/hw/ip/csrng/dv/tests/csrng_intr_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
520
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_CRYPTO_FI_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_CRYPTO_FI_COMMA...
opentitan/sw/device/tests/penetrationtests/json/crypto_fi_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.33
false
false
5,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 package ac_range_check_env_pkg; // Dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import tl_agent_pkg::*; imp...
opentitan/hw/top_darjeeling/ip_autogen/ac_range_check/dv/env/ac_range_check_env_pkg.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.137
false
false
3,358
-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 reg class which will be used to generate the reg field class dv_base_reg_field extends uvm_reg_field; // The access value that ...
opentitan/hw/dv/sv/dv_base_reg/dv_base_reg_field.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.198
false
false
15,743
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Default, no-op ROM hooks for the OpenTitan ROM. // // See this repository's README.md and BUILD.bazel files to understand how to // provide and us...
opentitan/sw/device/silicon_creator/rom/hooks/default_rom_hooks.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
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 // // SHA3 core is a fully functional SHA3/SHAKE/cSHAKE hashing module. // // It instantiates a keccak_round with 1600 bits of the state. `include "p...
opentitan/hw/ip/kmac/rtl/sha3.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.289
false
false
19,643
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_keymgr_dpe.h" #include "sw/device/lib/dif/dif_otp_ctrl.h" ...
opentitan/sw/device/silicon_creator/rom/e2e/keymgr_dpe/rom_e2e_keymgr_dpe_init_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.389
false
false
6,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 #ifndef OPENTITAN_HW_DV_DPI_UARTDPI_UARTDPI_H_ #define OPENTITAN_HW_DV_DPI_UARTDPI_UARTDPI_H_ #ifdef __cplusplus extern "C" { #endif // Set up the ...
opentitan/hw/dv/dpi/uartdpi/uartdpi.h
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.733
false
false
1,399
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class chip_sw_data_integrity_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_data_integrity_vseq) `uvm_object_new typedef enum bit ...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_data_integrity_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.235
false
false
4,670
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class kmac_env extends cip_base_env #( .CFG_T (kmac_env_cfg), .COV_T (kmac_env_cov), .VIRTUAL_SEQUENCER_T(kmac_...
opentitan/hw/ip/kmac/dv/env/kmac_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.12
false
false
2,520
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Created for AST domain separation - Main Domain // //############################################################################ // *Name: ast_...
opentitan/hw/top_englishbreakfast/ip/ast/rtl/ast_main.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.159
false
false
15,331
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Breakout / remapping wrapper for register file. module alert_handler_reg_wrap import alert_handler_pkg::*; ( input ...
opentitan/hw/top_earlgrey/ip_autogen/alert_handler/rtl/alert_handler_reg_wrap.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.249
false
false
16,924
-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/clkmgr_off_trans_impl.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/dif/dif_aes.h" #include "sw/device...
opentitan/sw/device/tests/clkmgr_off_trans_impl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.36
false
false
11,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 `ifndef SYNTHESIS /** * Interface designed to be bound into otbn_core and extract out signals useful for the tracer. * * The tracer takes an inst...
opentitan/hw/ip/otbn/dv/tracer/rtl/otbn_trace_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.144
false
false
32,361
-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_EDN_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_EDN_H_ /** * @file * @brief <a href="/book/hw/ip/edn/">Entr...
opentitan/sw/device/lib/dif/dif_edn.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.754
false
false
15,115
-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/mmio.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/dif/dif...
opentitan/sw/device/lib/testing/test_framework/ottf_console_spi.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.268
false
false
19,575
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/rescue/xmodem.h" #ifndef XMODEM_TESTLIB #include "sw/device/silicon_creator/lib/drivers/uart.h" #else #inclu...
opentitan/sw/device/silicon_creator/lib/rescue/xmodem.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.187
false
false
7,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 // // Decoder for life cycle control signals with additional // input buffers. module prim_lc_dec import lc_ctrl_pkg::*; ( input lc_tx_t lc_en_i...
opentitan/hw/ip/prim/rtl/prim_lc_dec.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.32
false
false
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 package mem_bkdr_scb_pkg; import uvm_pkg::*; `include "uvm_macros.svh" `include "dv_macros.svh" `include "mem_bkdr_scb.sv" endpackage
opentitan/hw/dv/sv/mem_bkdr_scb/mem_bkdr_scb_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
316
-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_gcm.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/crypto/include/aes_gcm.h" #include ...
opentitan/sw/device/tests/crypto/cryptotest/firmware/aes_gcm.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.149
false
false
6,583
-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/mlkem/mlkem.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/lib/base/hardened_memory.h" #include...
opentitan/sw/device/lib/crypto/impl/mlkem/mlkem.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.17
false
false
16,027
-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_ERROR_UNITTEST_UTIL_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_ERROR_UNITTEST_UTIL_H_ #inclu...
opentitan/sw/device/silicon_creator/lib/error_unittest_util.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.54
false
false
1,693
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Sequentially test each host to access any device // device will respond in order class xbar_smoke_vseq extends xbar_base_vseq; `uvm_object_util...
opentitan/hw/ip/tlul/generic_dv/env/seq_lib/xbar_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
522
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Target-side hardware extension. package i3c_targ_ext_pkg; // This is a placeholder for the Target-side extension. // // These structures pro...
opentitan/hw/ip/i3c/rtl/i3c_targ_ext_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.556
false
false
695
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/boot_svc/boot_svc_ownership_activate.h" #include "sw/device/lib/base/memory.h" #include "sw/device/silicon_c...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_ownership_activate.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.231
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 mbx_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(mbx_env_cfg), .COV_T(mbx_env_cov) ); tl_sequencer tl_sequencer_s...
opentitan/hw/ip/mbx/dv/env/mbx_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
429
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This test creates read buffer eviction by erase operation. class flash_ctrl_re_evict_vseq extends flash_ctrl_rw_evict_vseq; `uvm_object_utils(fl...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_re_evict_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.364
false
false
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 // // Bound into the otbn_rf_base and used to help collect call stack information for coverage. interface otbn_rf_base_if ( input clk_i, in...
opentitan/hw/ip/otbn/dv/uvm/env/otbn_rf_base_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
2,182
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Implements functional coverage for csrng. interface csrng_cov_if ( input logic clk_i ); import uvm_pkg::*; import dv_utils_pkg::*; impo...
opentitan/hw/ip/csrng/dv/cov/csrng_cov_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.14
false
false
27,677
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Testbench module for spid_readcmd // - SFDP // - Read commands // - Mailbox `define DPSRAM_DATA(x) tb.u_memory_2p.u_mem.gen_generic.u_impl_g...
opentitan/hw/ip/spi_device/pre_dv/tb/spid_readcmd_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.156
false
false
23,859
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Enable upload to test cmd upload and busy bit class spi_device_upload_vseq extends spi_device_pass_cmd_filtering_vseq; `uvm_object_utils(spi_dev...
opentitan/hw/ip/spi_device/dv/env/seq_lib/spi_device_upload_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.286
false
false
1,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 #include "sw/device/lib/dif/dif_base.h" #include <stdbool.h> #include "sw/device/lib/base/multibits.h" // `extern` declarations to give the inline...
opentitan/sw/device/lib/dif/dif_base.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
896
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_KEYS_FAKE_ACTIVATE_SPX_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_KEYS_FA...
opentitan/sw/device/silicon_creator/lib/ownership/keys/fake/activate_spx.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.778
false
false
625
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class csrng_regwen_test extends csrng_base_test; `uvm_component_utils(csrng_regwen_test) `uvm_component_new function void configure_env(); ...
opentitan/hw/ip/csrng/dv/tests/csrng_regwen_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
389
-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/log.h" #include <assert.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/memory.h" #include "...
opentitan/sw/device/lib/runtime/log.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.44
false
false
2,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 #include "sw/device/tests/penetrationtests/firmware/sca/aes_sca.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/memory.h" #in...
opentitan/sw/device/tests/penetrationtests/firmware/sca/aes_sca.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.249
false
false
39,900
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // I2C specification (revision 6): // https://web.archive.org/web/20210813122132/https://www.nxp.com/docs/en/user-guide/UM10204.pdf package i2c_agen...
opentitan/hw/dv/sv/i2c_agent/i2c_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.299
false
false
5,989
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STRING_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STRING_H_ #include <stddef.h> /** * ...
opentitan/sw/device/lib/base/freestanding/string.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.714
false
false
930
-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/mmio.h" #include "sw/device/lib/dif/dif_...
opentitan/sw/device/tests/sim_dv/exit_test_unlocked_bootstrap.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.432
false
false
1,584
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Pinmux toplevel. // `include "prim_assert.sv" module pinmux import pinmux_pkg::*; import pinmux_reg_pkg::*; import prim_pad_wrapper_pkg:...
opentitan/hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.261
false
false
20,576
-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_sideload_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.138
false
false
16,374
-1