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
module PS_flops_fetch_wavepool ( buff_tag, buff_instr, buff_ack, flopped_buff_wfid, flopped_buff_instr_pc, flopped_buff_first, flopped_buff_ack, clk, rst ); input [38:0] buff_tag; input [31:0] buff_instr; input buff_ack; output [5:0] flopped_buff_wfid; output [63:0] flopped_buff_instr_pc; output flopped_buff_...
miaow/src/verilog/rtl/wavepool/PS_flops_fetch_wavepool.v
arch_code
miaow
miaow/src/verilog
BSD-3-Clause
BSD-3-Clause
dbc5d7cc6e5fd58828239b59491eeb4f66503074
other
false
0
false
false
735
-1
module instr_info_table (/*AUTOARG*/ // Outputs vgpr_alu_rd_data, vgpr_lsu_rd_data, sgpr_alu_rd_data, sgpr_lsu_rd_data, issued_rd_data, // Inputs f_decode_valid, clk, rst, f_decode_wfid, decode_wr_data, f_vgpr_alu_wr_done_wfid, f_vgpr_lsu_wr_done_wfid, f_sgpr_alu_wr_done_wfid, f_sgpr_lsu_instr_d...
miaow/src/verilog/rtl/issue/instr_info_table.v
arch_code
miaow
miaow/src/verilog
BSD-3-Clause
BSD-3-Clause
dbc5d7cc6e5fd58828239b59491eeb4f66503074
other
false
0.091
false
false
2,875
-1
/** * issue_definitions.v * File that contains all definitions used throughout issue * stage ***/ `ifndef _issue_definitions_v_ `define _issue_definitions_v_ // PC + Opcode + IMM0 + IMM1 + SRC1 + SRC2 + SRC3 + SRC4 + // DST1 + DST2 `define ISSUE_INSTR_INFO_LENGTH (16+1+1+1+1+1+32+32+16+32+14+13+13+14+14+13) `defi...
miaow/src/verilog/rtl/common/issue_definitions.v
arch_code
miaow
miaow/src/verilog
BSD-3-Clause
BSD-3-Clause
dbc5d7cc6e5fd58828239b59491eeb4f66503074
other
false
0.097
false
false
2,819
-1
module vacant_mask_gen( new_wfid, new_vacant, wf_id_done, vacant, halt, wr ); input [5:0] new_wfid; input wr; input [39:0] vacant; input [5:0] wf_id_done; input halt; output [39:0] new_vacant; wire [39:0] halt_reset_mask, masked_vacant; wire [39:0] new_slot_mask_neg, new_slot_mask; assign new_vacant = ha...
miaow/src/verilog/rtl/fetch/vacant_mask_gen.v
arch_code
miaow
miaow/src/verilog
BSD-3-Clause
BSD-3-Clause
dbc5d7cc6e5fd58828239b59491eeb4f66503074
other
false
0
false
false
675
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This sequence walk through all partitions via DAI access and TLUL interface class otp_ctrl_partition_walk_vseq extends otp_ctrl_base_vseq; `uvm_...
opentitan/hw/ip_templates/otp_ctrl/dv/env/seq_lib/otp_ctrl_partition_walk_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.191
false
false
2,076
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_KMAC_KDF_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_KMAC_KDF_H_ #include "datatypes.h" /** *...
opentitan/sw/device/lib/crypto/include/kmac_kdf.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.857
false
false
2,190
-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_alert_cg_wrap; // This covergroup samples alerts triggered. covergroup alert_cg(string name) with function sample (bit triggered); ...
opentitan/hw/top_darjeeling/dv/env/chip_env_cov.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.257
false
false
1,294
-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/lz4.h" #include <stdint.h> int LZ4_decompress(const char *src_in, char *dst_in, int compressed_size, ...
opentitan/sw/device/lib/base/lz4.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.262
false
false
2,618
-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 usbdev_test_pkg; // dep packages import uvm_pkg::*; import cip_base_pkg::*; import usbdev_env_pkg::*; // macro includes `include...
opentitan/hw/ip/usbdev/dv/tests/usbdev_test_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
466
-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_device_driver extends usb20_driver; `uvm_component_utils(usb20_device_driver) // the base class provides the following handles for u...
opentitan/hw/dv/sv/usb20_agent/usb20_device_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
466
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A sequence that repeatedly sends alert_seq_item items that are configured to request pings. These // ping requests are configured with large ping_...
opentitan/hw/dv/sv/alert_agent/seq_lib/alert_receiver_ping_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.308
false
false
2,063
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rom_ctrl_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(rom_ctrl_env_cfg), .COV_T(rom_ctrl_env_cov) ); `uvm_compone...
opentitan/hw/ip/rom_ctrl/dv/env/rom_ctrl_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
436
-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 gathers and synchronizes the clock gating and reset indication signals for all // low-power groups (LPGs), synchronizes them to the ...
opentitan/hw/top_earlgrey/ip_autogen/alert_handler/rtl/alert_handler_lpg_ctrl.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.301
false
false
3,229
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Padring substitute for the Verilator simulation top. // // This module models the (otherwise absent) padring for the Verilator // simulation top...
opentitan/hw/top_earlgrey/rtl/padring_verilator.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.278
false
false
9,737
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // AES prng reseeding test vseq class aes_reseed_vseq extends aes_base_vseq; `uvm_object_utils(aes_reseed_vseq) `uvm_object_new aes_message_i...
opentitan/hw/ip/aes/dv/env/seq_lib/aes_reseed_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.211
false
false
14,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 // // Synchronous two-port SRAM register model // This module is for simulation and small size SRAM. // Implementing ECC should be done inside wra...
opentitan/hw/ip/prim_generic/rtl/prim_ram_1r1w.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.342
false
false
3,458
-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 responses to ping pins by sending the alert pins class alert_sender_ping_rsp_seq extends alert_sender_base_seq; `uvm_object_utils...
opentitan/hw/dv/sv/alert_agent/seq_lib/alert_sender_ping_rsp_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.094
false
false
1,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 class uart_agent extends dv_base_agent#( .CFG_T (uart_agent_cfg), .DRIVER_T (uart_driver), .SEQUENCER_T (uart_sequencer...
opentitan/hw/dv/sv/uart_agent/uart_agent.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.162
false
false
1,352
-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_i2c.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/...
opentitan/sw/device/lib/dif/dif_i2c.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.086
false
false
30,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 class chip_sw_lc_raw_unlock_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_lc_raw_unlock_vseq) `uvm_object_new // Mapped to plusar...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_lc_raw_unlock_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.341
false
false
3,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 // This is a base sequence that serves as a template for the scenarios below: // Two sequences run in parallel: // 1. One sequence is otp_ctrl's DAI ...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_parallel_base_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.265
false
false
1,184
-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 smoke test brings the pwrmgr through a POR reset, followed by a low // power sequence, followed by reset. // smoke test vseq class pwrmgr_smo...
opentitan/hw/top_earlgrey/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.243
false
false
3,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 typedef class flash_ctrl_callback_vseq; class flash_ctrl_base_vseq extends cip_base_vseq #( .RAL_T (flash_ctrl_core_reg_block), .CFG...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_base_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.16
false
false
72,496
-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_fifo_overflow_vseq extends uart_fifo_full_vseq; `uvm_object_utils(uart_fifo_overflow_vseq) `uvm_object_new // don't wait for fifo ...
opentitan/hw/ip/uart/dv/env/seq_lib/uart_fifo_overflow_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.385
false
false
564
-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/sha.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.794
false
false
1,286
-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_STDBOOL_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_STDBOOL_H_ /** * @file * @brief C L...
opentitan/sw/device/lib/base/freestanding/stdbool.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
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 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_WATCHDOG_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_WATCHDOG_H_ #include <st...
opentitan/sw/device/silicon_creator/lib/drivers/watchdog.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.764
false
false
2,352
-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/testing/test_framework/ottf_test_config.h" OTTF_DEFINE_TEST_CONFIG();
opentitan/sw/device/tests/rv_core_ibex_isa_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.857
false
false
307
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package aes_tb_pkg; import tlul_pkg::*; import aes_pkg::*; import aes_reg_pkg::*; // AES register fields offsets. parameter int AES_CTRL_...
opentitan/hw/ip/aes/pre_dv/aes_tb/rtl/aes_tb_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.186
false
false
4,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 // interface uart_if #(realtime UartDefaultClkPeriod = 104166.667ns) (); wire uart_tx; logic uart_rx; // generate local clk realtime uart_clk...
opentitan/hw/dv/sv/uart_agent/uart_if.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.148
false
false
1,735
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // prim_alert_to_diff: This module receives an alert signal (using the alert protocol) and // translates it into a differentially encoded signal (w...
opentitan/hw/ip/prim/rtl/prim_alert_to_diff.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.362
false
false
2,349
-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_pwrmgr_deep_sleep_all_wake_ups_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_pwrmgr_deep_sleep_all_wake_ups_vseq) `uvm_...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_pwrmgr_deep_sleep_all_wake_ups_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.169
false
false
5,611
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package aes_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import csr_utils_pkg::*; import dv_bas...
opentitan/hw/ip/aes/dv/env/aes_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.181
false
false
3,505
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Flash Memory Properties // `include "prim_assert.sv" module flash_mp import prim_mubi_pkg::mubi4_t; import flash_ctrl_top_specific_pkg::*; imp...
opentitan/hw/ip_templates/flash_ctrl/rtl/flash_mp.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.222
false
false
13,615
-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_RV_DM_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_RV_DM_H_ /** * @file * @brief <a href="/book/hw/ip/rv_dm/...
opentitan/sw/device/lib/dif/dif_rv_dm.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.821
false
false
2,109
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_OTBN_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_OTBN_H_ #include <stdbool.h> #include <stddef....
opentitan/sw/device/lib/crypto/drivers/otbn.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.823
false
false
16,945
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Flash Controller for life cycle / key management handling // module flash_ctrl_lcmgr import flash_ctrl_top_specific_pkg::*; import lc_ctrl_...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/rtl/flash_ctrl_lcmgr.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.179
false
false
26,590
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class aon_timer_env extends cip_base_env #( .CFG_T (aon_timer_env_cfg), .COV_T (aon_timer_env_cov), .VIRTUAL_SE...
opentitan/hw/ip/aon_timer/dv/env/aon_timer_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.111
false
false
1,595
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_HW_DV_VERILATOR_CPP_RANGED_MAP_H_ #define OPENTITAN_HW_DV_VERILATOR_CPP_RANGED_MAP_H_ // Utility class representing disjoint segmen...
opentitan/hw/dv/verilator/cpp/ranged_map.h
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.429
false
false
6,981
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package csrng_test_pkg; // dep packages import uvm_pkg::*; import cip_base_pkg::*; import csrng_env_pkg::*; // macro includes `include "...
opentitan/hw/ip/csrng/dv/tests/csrng_test_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
631
-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_ROM_FI_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_ROM_FI_COMMANDS_H_...
opentitan/sw/device/tests/penetrationtests/json/rom_fi_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.556
false
false
1,111
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_BOOT_FI_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_BOOT_FI_COMMANDS_...
opentitan/sw/device/tests/penetrationtests/json/boot_fi_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.577
false
false
1,080
-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_power_virus_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_power_virus_vseq) `uvm_object_new virtual function int sw...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_power_virus_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.2
false
false
11,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 adc_ctrl_base_test extends cip_base_test #( .CFG_T(adc_ctrl_env_cfg), .ENV_T(adc_ctrl_env) ); `uvm_component_utils(adc_ctrl_base_test) ...
opentitan/hw/ip/adc_ctrl/dv/tests/adc_ctrl_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.385
false
false
1,607
-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_CRYPTOLIB_SCA_ASYM_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA...
opentitan/sw/device/tests/penetrationtests/firmware/sca/cryptolib_sca_asym.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.91
false
false
10,236
-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_cfg extends cip_base_env_cfg #(.RAL_T(aes_reg_block_extended)); `uvm_object_utils_begin(aes_env_cfg) `uvm_object_utils_end `uvm_...
opentitan/hw/ip/aes/dv/env/aes_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.21
false
false
14,585
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "spi_base_seq.sv" `include "spi_host_seq.sv" `include "spi_host_flash_seq.sv" `include "spi_host_tpm_seq.sv" `include "spi_device_flash_seq....
opentitan/hw/dv/sv/spi_agent/seq_lib/spi_seq_list.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
456
-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" /** * Ibex RISC-V core * * 32 bit RISC-V core supporting the RV32I + optionally EMC instruction sets. * Instruction an...
opentitan/hw/top_englishbreakfast/ip_autogen/rv_core_ibex/rtl/rv_core_ibex.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.134
false
false
58,726
-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 <string.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/macros.h" #include ...
opentitan/sw/device/silicon_creator/lib/rescue/rescue_spi.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.37
false
false
4,778
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // The test to create transition to invalid state from any lowpower transitions. class pwrmgr_lowpower_invalid_vseq extends pwrmgr_base_vseq; `u...
opentitan/hw/top_englishbreakfast/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_lowpower_invalid_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.109
false
false
5,140
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // In this sequence, we randomly send a lifecycle escalation during operation of some memory // transactions, which is expected lock up the SRAM memo...
opentitan/hw/ip/sram_ctrl/dv/env/seq_lib/sram_ctrl_lc_escalation_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.295
false
false
4,385
-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 alert sender/receiver pair. Intended to use with // a formal tool. module prim_alert_rxtx_async_fatal_tb import prim_ale...
opentitan/hw/ip/prim/fpv/tb/prim_alert_rxtx_async_fatal_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.107
false
false
3,571
-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 pwm_monitor_cfg extends dv_base_agent_cfg; int monitor_id = 0; bit invert = 1'b0; // 0: active high, 1: active low bit active = ...
opentitan/hw/dv/sv/pwm_monitor/pwm_monitor_cfg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.267
false
false
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 // // Debounce and detector module. // // The module is able to detect either low/high levels, or transitions to low/high levels (edges). // The event...
opentitan/hw/ip/sysrst_ctrl/rtl/sysrst_ctrl_detect.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.307
false
false
10,957
-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_scoreboard extends cip_base_scoreboard #( .CFG_T(rv_dm_env_cfg), .RAL_T(rv_dm_regs_reg_block), .COV_T(rv_dm_env_cov) ); `...
opentitan/hw/ip/rv_dm/dv/env/rv_dm_scoreboard.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.165
false
false
22,290
-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/ottf_main.h" #include "s...
opentitan/sw/device/silicon_creator/rom_ext/e2e/boot_svc/boot_svc_primary_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.184
false
false
3,555
-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_AES_KWP_AES_KWP_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_AES_KWP_AES_KWP_H_ #include <stddef.h> #i...
opentitan/sw/device/lib/crypto/impl/aes_kwp/aes_kwp.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.887
false
false
3,593
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_CSRNG_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_CSRNG_TESTUTILS_H_ #include "sw/device/lib/base/s...
opentitan/sw/device/lib/testing/csrng_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.709
false
false
6,142
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // basic wake up sequence in place to verify that environment is hooked up correctly. // static test that is running same data set every time class a...
opentitan/hw/ip/aes/dv/env/seq_lib/aes_wake_up_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.133
false
false
3,253
-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 rstmgr_cnsty_chk. // // The test runs pairs of events separated by a variable number of cycles in order to determine // whe...
opentitan/hw/top_earlgrey/ip_autogen/rstmgr/dv/rstmgr_cnsty_chk/tb.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.075
false
false
15,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 // This contains SVA assertions to check losing calibration turns off clock measurements. interface clkmgr_lost_calib_ctrl_en_sva_if ( input logic...
opentitan/hw/ip_templates/clkmgr/dv/sva/clkmgr_lost_calib_ctrl_en_sva_if.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.45
false
false
1,018
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 /** * Scramble control for OTBN * * This provides a key and nonce for scrambling the OTBN IMem and DMem. The OTP * key interface is used to reque...
opentitan/hw/ip/otbn/rtl/otbn_scramble_ctrl.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.108
false
false
9,221
-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_SPHINCSPLUS_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_SPHINCSPLUS...
opentitan/sw/device/tests/crypto/cryptotest/json/sphincsplus_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.558
false
false
2,130
-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_rom_e2e_jtag_debug_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_rom_e2e_jtag_debug_vseq) `uvm_object_new virtual ta...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_rom_e2e_jtag_debug_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.109
false
false
11,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 // // Binds SYSRST_CTRL functional coverage interface to the top level SYSRST_CTRL module. module sysrst_ctrl_cov_bind; bind sysrst_ctrl sysrst_ctrl...
opentitan/hw/ip/sysrst_ctrl/dv/cov/sysrst_ctrl_cov_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.625
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 package jtag_dmi_agent_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import dv_base_reg_pkg::*; import csr_utils_pkg::*; ...
opentitan/hw/dv/sv/jtag_dmi_agent/jtag_dmi_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.164
false
false
2,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 "sw/device/lib/arch/device.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/memory.h" #include "sw...
opentitan/sw/device/tests/pmod/i2c_host_clock_stretching_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.246
false
false
8,342
-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_TDES_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_TDES_H_ #include "datatypes.h" /** * @file ...
opentitan/sw/device/lib/crypto/include/tdes.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.797
false
false
6,826
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Serial Peripheral Interface (SPI) Trusted Platform Module (TPM) /* */ `include "prim_assert.sv" module spi_tpm import spi_device_pkg::*; i...
opentitan/hw/ip/spi_device/rtl/spi_tpm.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.309
false
false
54,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 class rv_dm_common_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_common_vseq) `uvm_object_new constraint num_trans_c { num_trans i...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_common_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.347
false
false
2,451
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 module kmac_cov_bind; bind kmac kmac_cov_if kmac_cov_if ( .sw_cmd_process (reg2msgfifo_flush), .keccak_st (u_sha3.u_keccak.keccak_st),...
opentitan/hw/ip/kmac/dv/cov/kmac_cov_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.107
false
false
1,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_LIB_BASE_GLOBAL_MOCK_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_GLOBAL_MOCK_H_ #include <sstream> #include <typeinfo> #incl...
opentitan/sw/device/lib/base/global_mock.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.573
false
false
2,816
-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_KDF_CTR_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_KDF_CTR_H_ #include "datatypes.h" /** * @...
opentitan/sw/device/lib/crypto/include/kdf_ctr.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.837
false
false
1,974
-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/entropy_src_kat_impl.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib...
opentitan/sw/device/tests/entropy_src_kat_impl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.339
false
false
4,462
-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 alert_handler_base_test extends cip_base_test #( .ENV_T(alert_handler_env), .CFG_T(alert_handler_env_cfg) ); `uvm_component_utils(...
opentitan/hw/top_darjeeling/ip_autogen/alert_handler/dv/tests/alert_handler_base_test.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.533
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 #include "hw/top/dt/dma.h" #include "hw/top/dt/pinmux.h" #include "hw/top/dt/rv_core_ibex.h" #include "hw/top/dt/rv_plic.h" #include "hw/top/dt/spi_h...
opentitan/sw/device/tests/dma_inline_hashing.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.389
false
false
9,631
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <assert.h> #include <limits.h> #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/base/math.h" #include "sw/device/lib/base/m...
opentitan/sw/device/tests/alert_handler_lpg_sleep_mode_pings.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.351
false
false
19,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 // // Implements functional coverage for OTP_CTRL interface otp_ctrl_cov_if import otp_ctrl_reg_pkg::*; ( input pwrmgr_pkg::pwr_otp_rsp_t ...
opentitan/hw/top_earlgrey/ip_autogen/otp_ctrl/dv/cov/otp_ctrl_cov_if.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.049
false
false
5,597
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdint.h> #include <string.h> #include "hmac.h" #include "sha.h" #include "sha256.h" #include "sha384.h" #include "sha512.h" const uint8_...
opentitan/hw/ip/hmac/dv/cryptoc_dpi/hmac_wrap.c
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.304
false
false
1,563
-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_ECC_P256_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_ECC_P256_H_ #include "datatypes.h" /** *...
opentitan/sw/device/lib/crypto/include/ecc_p256.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.822
false
false
35,014
-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 edn functional coverage interface to the top-level edn module. module edn_cov_bind; bind edn edn_cov_if u_edn_cov_if ( .clk_i (c...
opentitan/hw/ip/edn/dv/cov/edn_cov_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.417
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 class edn_disable_vseq extends edn_base_vseq; `uvm_object_utils(edn_disable_vseq) `uvm_object_new push_pull_host_seq#(edn_pkg::FIPS_ENDPOINT_B...
opentitan/hw/ip/edn/dv/env/seq_lib/edn_disable_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.221
false
false
4,487
-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/rstmgr.h" // Generated #include "sw/device/lib/dif/dif_rstmgr.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/...
opentitan/sw/device/tests/rstmgr_sw_req_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.333
false
false
1,342
-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_memory.h" #include "sw/device/lib/crypto/drivers/otbn.h" #include "sw/device/lib/crypto/impl/keyblob.h" #includ...
opentitan/sw/device/tests/crypto/ecdsa_p384_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.182
false
false
21,484
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This module implements reset consistency checks // The main goal is to check whether conditions allow for a reset to be asserted // For example,...
opentitan/hw/top_englishbreakfast/ip_autogen/rstmgr/rtl/rstmgr_cnsty_chk.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.302
false
false
8,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 #include <stdint.h> #include "sw/device/lib/arch/device.h" #include "sw/device/lib/dif/dif_otp_ctrl.h" #include "sw/device/lib/dif/dif_uart.h" #incl...
opentitan/sw/device/silicon_creator/manuf/tests/sram_exec_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.365
false
false
4,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 class chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq extends chip_sw_rom_e2e_base_vseq; `uvm_object_utils(chip_sw_rom_e2e_sigverify_always_a_b...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
885
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Agent-Target sequence which accepts all write-transfer data and returns it in read-transfers. // aka. 'autoresponder' // - Write transfers to any ...
opentitan/hw/dv/sv/i2c_agent/seq_lib/i2c_device_response_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.487
false
false
3,969
-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_driver extends dv_base_driver #(i2c_item, i2c_agent_cfg); `uvm_component_utils(i2c_driver) `uvm_component_new rand bit [7:0] rd_dat...
opentitan/hw/dv/sv/i2c_agent/i2c_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.162
false
false
10,786
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // The lowpower_wakeup race test randomly enables wakeups, info capture, and interrupts, // and sends wakeups in the temporal vecinity of low power e...
opentitan/hw/top_englishbreakfast/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_lowpower_wakeup_race_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.19
false
false
5,300
-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 Characteristics Table (HCI 8.2). // // - conveys the properties of each assigned Target to the driver software. // - hardware requires only...
opentitan/hw/ip/i3c/rtl/i3c_dct.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.18
false
false
4,548
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/testing/test_framework/ottf_main.h" #include "sw/device/tests/usbdev_suspend.h" OTTF_DEFINE_TEST_CONFIG(); bool test_main(v...
opentitan/sw/device/tests/usbdev_sleep_disconnect_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
454
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class flash_ctrl_common_vseq extends flash_ctrl_otf_base_vseq; `uvm_object_utils(flash_ctrl_common_vseq) `uvm_object_new virtual function voi...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_common_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.116
false
false
11,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 class chip_sw_uart_tx_rx_vseq extends chip_sw_uart_smoke_vseq; `uvm_object_utils(chip_sw_uart_tx_rx_vseq) `uvm_object_new localparam uint UAR...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_uart_tx_rx_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.197
false
false
2,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 // Virtual base class used for alert_sender_driver and alert_receiver_driver virtual class alert_base_driver extends dv_base_driver#(alert_seq_item,...
opentitan/hw/dv/sv/alert_agent/alert_base_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.308
false
false
1,500
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This tests that disabling the HMAC clock causes CSR accesses to it to fail. #include "sw/device/tests/clkmgr_off_trans_impl.h" bool test_main(vo...
opentitan/sw/device/tests/clkmgr_off_hmac_trans_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.833
false
false
375
-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 Adaptive Proportion Test module // module entropy_src_adaptp_ht #( parameter int RegWidth = 16, parameter...
opentitan/hw/ip/entropy_src/rtl/entropy_src_adaptp_ht.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.179
false
false
4,439
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class otbn_zero_state_err_urnd_vseq extends otbn_single_vseq; `uvm_object_utils(otbn_zero_state_err_urnd_vseq) `uvm_object_new task body(); ...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_zero_state_err_urnd_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.243
false
false
1,799
-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 usbdev_stall_trans_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_stall_trans_vseq) `uvm_object_new task body(); // Config...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_stall_trans_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.412
false
false
739
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/rom/rom.h" #include <assert.h> #include <stdbool.h> #include <stdint.h> #include "hw/top/dt/otp_ctrl.h" // Gen...
opentitan/sw/device/silicon_creator/rom/rom.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.379
false
false
43,044
-1