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 // package tl_agent_pkg; // dep packages import uvm_pkg::*; import bus_params_pkg::*; import tlul_pkg::*; import mem_model_pkg::*; import...
opentitan/hw/dv/sv/tl_agent/tl_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.141
false
false
3,355
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/status.h" #include "sw/device/lib/crypto/impl/keyblob.h" #include "sw/device/lib/crypto/include/config.h" #include "sw/d...
opentitan/sw/device/tests/crypto/symmetric_keygen_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.306
false
false
10,792
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 module aon_timer_bind; bind aon_timer tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( .clk_i, .rst_ni, .h2d (tl_i...
opentitan/hw/ip/aon_timer/dv/sva/aon_timer_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
491
-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 ac_range_check_bind; bind ac_range_check tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( .clk_i, .rst_ni, ....
opentitan/hw/top_darjeeling/ip_autogen/ac_range_check/dv/sva/ac_range_check_bind.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
516
-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 physical pads placeholder for the open-source views. // Special physical pad outputs and power sequencing signals are just tied off. ...
opentitan/hw/top_darjeeling/rtl/physical_pads.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.438
false
false
538
-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_id_pkg; // lowRISC JEDEC Manufacturer ID, bank 13 0xEF localparam logic [10:0] JEDEC_MANUFACTURER_ID = {4'd12, 7'b110_1111}; l...
opentitan/hw/top_earlgrey/rtl/jtag_id_pkg.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.345
false
false
1,274
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_OTBN_TESTUTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_OTBN_TESTUTILS_H_ #include "sw/device/lib/base/mmi...
opentitan/sw/device/lib/testing/otbn_testutils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.828
false
false
7,616
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_MOCK_MMIO_TEST_UTILS_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_MOCK_MMIO_TEST_UTILS_H_ #include <initializer_list...
opentitan/sw/device/lib/base/mock_mmio_test_utils.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.73
false
false
4,271
-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 racl_ctrl_base_vseq extends cip_base_vseq #(.RAL_T (dv_base_reg_block), .CFG_T (racl_ct...
opentitan/hw/ip/racl_ctrl/dv/env/seq_lib/racl_ctrl_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.234
false
false
6,497
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class rstmgr_common_vseq extends rstmgr_base_vseq; `uvm_object_utils(rstmgr_common_vseq) constraint num_trans_c {num_trans inside {[1 : 2]};} ...
opentitan/hw/top_englishbreakfast/ip_autogen/rstmgr/dv/env/seq_lib/rstmgr_common_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
427
-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_bad_next_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.194
false
false
2,824
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_SEC_MMIO_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BASE_SEC_MMIO_H_ #include <stddef.h...
opentitan/sw/device/silicon_creator/lib/base/sec_mmio.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.865
false
false
8,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 `include "prim_assert.sv" /** * OTBN alu block for the bignum instruction subset * * This ALU supports all of the 'plain' arithmetic and logic big...
opentitan/hw/ip/otbn/rtl/otbn_alu_bignum.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.239
false
false
68,273
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class scoreboard_queue#(type SEQ_ITEM = uvm_object) extends uvm_object; SEQ_ITEM expected_items[$]; SEQ_ITEM actual_items[$]...
opentitan/hw/dv/sv/scoreboard/scoreboard_queue.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.104
false
false
5,790
-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_sleep_load_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_power_sleep_load_vseq) uint timeout_ns = 1; localpara...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_power_sleep_load_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.102
false
false
2,613
-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_clkoff_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.324
false
false
20,043
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class flash_phy_prim_agent_cov extends dv_base_agent_cov #(flash_phy_prim_agent_cfg); `uvm_component_utils(flash_phy_prim_agent_cov) // the base...
opentitan/hw/dv/sv/flash_phy_prim_agent/flash_phy_prim_agent_cov.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.538
false
false
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 // // Description: // Clock manager coverage bindings for multi bus input module clkmgr_cov_bind; bind clkmgr cip_mubi_cov_if #(.Width(prim_mubi_pkg...
opentitan/hw/top_darjeeling/ip_autogen/clkmgr/dv/cov/clkmgr_cov_bind.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
862
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // trans test vseq // This is a more randomized version of the corresponding test in the smoke sequence. // Starts with random units busy, set the hi...
opentitan/hw/top_darjeeling/ip_autogen/clkmgr/dv/env/seq_lib/clkmgr_trans_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.299
false
false
3,842
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package flash_ctrl_bkdr_util_pkg; // dep packages import bus_params_pkg::BUS_AW; import dv_utils_pkg::uint32_t, dv_utils_pkg::addr_range_t; i...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/flash_ctrl_bkdr_util_pkg.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.353
false
false
567
-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_next_boot_bl0_slot.h" #include "sw/device/silicon_creator/lib/error.h" void boot_svc_next...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_next_boot_bl0_slot.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.217
false
false
1,051
-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 mux selector buffer and checker // // When using sparse encodings for mux selector signals, this module can be used to: // 1. Prevent aggres...
opentitan/hw/ip/aes/rtl/aes_sel_buf_chk.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.241
false
false
3,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 class rv_dm_ndmreset_req_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_ndmreset_req_vseq) `uvm_object_new // Read the dmstatus registe...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_ndmreset_req_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.565
false
false
6,732
-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 runs a program multiple times and corrupts the // dmem registers while the otbn is still running. class otbn_dmem_err_vseq extend...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_dmem_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.295
false
false
2,202
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // WARNING: DO NOT USE THIS MODULE IF YOU DO NOT HAVE A GOOD REASON TO DO SO. // // This module is only meant to be used in special cases where a h...
opentitan/hw/ip/prim/rtl/prim_multibit_sync.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
3,965
-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" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/dif/dif_aon_timer.h" #include "sw/device/lib/...
opentitan/sw/device/silicon_creator/rom/e2e/retention_ram/rom_e2e_ret_ram_keep_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.348
false
false
6,021
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // --------------------------------------------- // TileLink interface // --------------------------------------------- interface tl_if(input clk, ...
opentitan/hw/dv/sv/tl_agent/tl_if.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.194
false
false
1,275
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // RRAM Phy Module // // This module wraps the open-source RRAM specific read/write data control modules that interact // with the RRAM macro. This...
opentitan/hw/ip/rram_ctrl/rtl/rram_phy.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.154
false
false
15,538
-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_otf_mem_entry extends uvm_object; `uvm_object_utils(flash_otf_mem_entry) `uvm_object_new logic [BankAddrW-1:0] mem_addr; logic [...
opentitan/hw/ip_templates/flash_ctrl/dv/env/flash_otf_mem_entry.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.273
false
false
467
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This module utilizes manual instantiation of standard cells to define constant values. By // employing dedicated TIE cells or specific logic gat...
opentitan/hw/ip/prim_asap7/rtl/prim_const.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.455
false
false
1,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 // combine all gpio seqs (except below seqs) in one seq to run sequentially // 1. csr seq, which requires scb to be disabled // 2. gpio_cfg_update_on...
opentitan/hw/top_darjeeling/ip_autogen/gpio/dv/env/seq_lib/gpio_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.237
false
false
1,888
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_OTBN_SCA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_OTBN_SCA_COMMAND...
opentitan/sw/device/tests/penetrationtests/json/otbn_sca_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.299
false
false
7,074
-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 smoke test sequence. This loads up the fixed "smoke.elf" binary and forces everything to be in // "simple" mode. class otbn_smoke_vseq extends ...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.429
false
false
645
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Random read write with access resolution of 1 word (4byte). class flash_ctrl_rw_rnd_wd_vseq extends flash_ctrl_otf_base_vseq; `uvm_object_utils(...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_rw_rnd_wd_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.094
false
false
1,646
-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 entropy_src_test_pkg; // dep packages import uvm_pkg::*; import cip_base_pkg::*; import entropy_src_env_pkg::*; // macro includes ...
opentitan/hw/ip/entropy_src/dv/tests/entropy_src_test_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
874
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //############################################################################ // *Name: sdc_ana // *Module Description: ADC Analog //################...
opentitan/hw/top_earlgrey/ip/ast/rtl/adc_ana.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.282
false
false
1,474
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // test the threshold interrupt of fmt_fifo and rx_fifo class i2c_host_fifo_watermark_vseq extends i2c_rx_tx_vseq; `uvm_object_utils(i2c_host_fifo_...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_host_fifo_watermark_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.321
false
false
7,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 class racl_error_log_agent_cfg extends dv_base_agent_cfg; `uvm_object_utils(racl_error_log_agent_cfg) // This is the number of subscribing IPs ...
opentitan/hw/ip/racl_ctrl/dv/env/racl_error_log_agent/racl_error_log_agent_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.471
false
false
838
-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/aes.h" #include "hw/top/dt/csrng.h" #include "hw/top/dt/edn.h" #include "hw/top/dt/entropy_src.h" #include "hw/top/dt/otbn.h" #in...
opentitan/sw/device/tests/csrng_edn_concurrency_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.414
false
false
17,038
-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 i3c_bind; bind i3c_part_primary tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( .clk_i, .rst_ni, .h2d (tl_...
opentitan/hw/ip/i3c/dv/sva/i3c_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
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 //############################################################################ // *Name: ast_dft // *Module Description: AST DFT //###################...
opentitan/hw/top_darjeeling/ip/ast/rtl/ast_dft.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.4
false
false
1,326
-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 clkmgr_bind; `ifndef GATE_LEVEL bind clkmgr tlul_assert #( .EndpointType("Device") ) tlul_assert_device (.clk_i, .rst_ni, .h2d(tl_i), ...
opentitan/hw/top_darjeeling/ip_autogen/clkmgr/dv/sva/clkmgr_bind.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.053
false
false
6,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 is base sequence for rv_dm // It runs with actual CPU (not stub) and assumes // cpu is in operation at the beginning. // So different from rv...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_jtag_base_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.279
false
false
1,622
-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_PWRMGR_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_PWRMGR_H_ /** * @file * @brief <a href="/book/hw/top_ear...
opentitan/sw/device/lib/dif/dif_pwrmgr.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.777
false
false
13,955
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // spid_csb_sync detects the deassertion edge (positive edge) of CSB for // spi_device. With a prim_edge_detector alone, CSB would have pulse width /...
opentitan/hw/ip/spi_device/rtl/spid_csb_sync.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
2,199
-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 write only traffic class flash_ctrl_wo_vseq extends flash_ctrl_otf_base_vseq; `uvm_object_utils(flash_ctrl_wo_vseq) `uvm_object_new vi...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_wo_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
770
-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_GCM_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_AES_GCM_COMMAND...
opentitan/sw/device/tests/crypto/cryptotest/json/aes_gcm_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.478
false
false
1,936
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // pick a random mem address to inject parity errors and read it back, // then check it returns d_error with all 1s data class spi_device_mem_parity_...
opentitan/hw/ip/spi_device/dv/env/seq_lib/spi_device_mem_parity_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.265
false
false
2,317
-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: interface between a req/ack interface and a fifo // `include "prim_assert.sv" module edn_ack_sm ( input logic cl...
opentitan/hw/ip/edn/rtl/edn_ack_sm.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.31
false
false
3,829
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This vseq will read IETF HMAC test vectors (used for the RFC4868 spec) and // compare computed results with the expected values. class hmac_test_...
opentitan/hw/ip/hmac/dv/env/seq_lib/hmac_test_vectors_hmac_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.308
false
false
1,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 <stdio.h> #include <stdlib.h> #include <string.h> #include "sw/device/lib/base/crc32.h" #include "sw/device/lib/base/status.h" #include "sw...
opentitan/sw/device/lib/ujson/example_roundtrip.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.101
false
false
2,944
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_RSA_RUN_RSA_KEY_FROM_COFACTOR_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_RSA_RUN_RSA_KEY_FROM_COFACTO...
opentitan/sw/device/lib/crypto/impl/rsa/run_rsa_key_from_cofactor.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.814
false
false
2,798
-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 lc_ctrl_env_pkg; // dep packages import uvm_pkg::*; import top_pkg::*; import dv_utils_pkg::*; import dv_lib_pkg::*; import dv_ba...
opentitan/hw/ip/lc_ctrl/dv/env/lc_ctrl_env_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.246
false
false
12,811
-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_ISO646_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_ISO646_H_ /** * @file * @brief C lib...
opentitan/sw/device/lib/base/freestanding/iso646.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
994
-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 clkmgr_bind; `ifndef GATE_LEVEL bind clkmgr tlul_assert #( .EndpointType("Device") ) tlul_assert_device (.clk_i, .rst_ni, .h2d(tl_i), ...
opentitan/hw/top_englishbreakfast/ip_autogen/clkmgr/dv/sva/clkmgr_bind.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.047
false
false
9,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 // // Assertions for rv_timer TB. These properties tackle prim_intr_hw // Intended to be used with a formal tool. module rv_timer_interrupts_assert_f...
opentitan/hw/ip/rv_timer/fpv/vip/rv_timer_interrupts_assert_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.37
false
false
952
-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_fdata_item extends uvm_sequence_item; rand bit [7:0] fbyte; rand bit start; rand bit stop; rand bit readb; ran...
opentitan/hw/dv/sv/i2c_agent/i2c_fdata_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
900
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SCA_LIB_PRNG_H_ #define OPENTITAN_SW_DEVICE_SCA_LIB_PRNG_H_ #include <stddef.h> #include <stdint.h> #ifdef __cplusplus ...
opentitan/sw/device/sca/lib/prng.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.905
false
false
1,932
-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 entropy_src and is bound into the dut interface entropy_src_cov_if import entropy_src_pkg::*; import prim...
opentitan/hw/ip/entropy_src/dv/cov/entropy_src_cov_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.188
false
false
51,658
-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_OWNER_VERIFY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OWNERSHIP_OWNER_VERIFY_H_ ...
opentitan/sw/device/silicon_creator/lib/ownership/owner_verify.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.8
false
false
2,072
-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 base class sequence that overrides base UVM functions. // // This sequence is not meant to be run standalone by itself (fatal error will b...
opentitan/hw/dv/sv/tl_agent/seq_lib/tl_host_base_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.481
false
false
4,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 class sram_ctrl_multiple_keys_vseq extends sram_ctrl_smoke_vseq; `uvm_object_utils(sram_ctrl_multiple_keys_vseq) `uvm_object_new // Use 2 as ...
opentitan/hw/ip/sram_ctrl/dv/env/seq_lib/sram_ctrl_multiple_keys_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
546
-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 "entropy_src_base_vseq.sv" `include "entropy_src_smoke_vseq.sv" `include "entropy_src_common_vseq.sv" `include "entropy_src_rng_vseq.sv" `in...
opentitan/hw/ip/entropy_src/dv/env/seq_lib/entropy_src_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
557
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // RV core ibex peripheral // `include "prim_assert.sv" module rv_core_ibex_peri import rv_core_ibex_peri_pkg::*; import rv_core_ibex_peri_re...
opentitan/hw/top_englishbreakfast/ip_autogen/rv_core_ibex/rtl/rv_core_ibex_peri.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.211
false
false
4,328
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/dif/dif_cs...
opentitan/sw/device/tests/csrng_kat_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.364
false
false
1,441
-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 injects arbitration faults in any of 4 arbiters with either copy grounded. // The scrambler arbiters use prim_arbiter_tree, but the host arbi...
opentitan/hw/ip_templates/flash_ctrl/dv/env/seq_lib/flash_ctrl_phy_arb_redun_vseq.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.135
false
false
6,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 // For each CSR, this sequence writes a random value to it and reads ALL CSRs back. The read value // of the CSR that was written is checked for corr...
opentitan/hw/dv/sv/csr_utils/csr_aliasing_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.279
false
false
6,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 // package prim_pkg; // The name of the technology implementation. parameter PrimTechName = "Generic"; endpackage // prim_pkg
opentitan/hw/ip/prim_generic/rtl/prim_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.625
false
false
302
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // module tb; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import tl_agent_pkg::*; import gpio_env_pkg::*; import gpio_test...
opentitan/hw/top_englishbreakfast/ip_autogen/gpio/dv/tb/tb.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.165
false
false
2,674
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_OTTF_CONSOLE_SPI_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_OTTF_CONSOLE_SPI_...
opentitan/sw/device/lib/testing/test_framework/ottf_console_spi.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.725
false
false
2,318
-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/kmac.h" #include "sw/device/lib/base/math.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/c...
opentitan/sw/device/tests/crypto/cryptotest/firmware/kmac.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.224
false
false
5,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 class chip_sw_spi_passthrough_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_spi_passthrough_vseq) // The sequence of opcodes used fo...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_spi_passthrough_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.211
false
false
9,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 // --------------------------------------------- // tl_agent environment configuration class // --------------------------------------------- class t...
opentitan/hw/dv/sv/tl_agent/dv/env/tl_agent_env_cfg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.276
false
false
1,396
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Description: UART core module // `include "prim_assert.sv" module uart_core ( input clk_i, input rst_ni,...
opentitan/hw/ip/uart/rtl/uart_core.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.104
false
false
18,145
-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: // The reset test randomly introduces external resets. class pwrmgr_sw_reset_vseq extends pwrmgr_base_vseq; `uvm_object_utils(pwrmg...
opentitan/hw/top_darjeeling/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_sw_reset_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.195
false
false
1,777
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Otp_ctrl_parallel_lc_vseq is developed to generate rand lc_otp req, which runs parallel with // normal DAI access sequences. // changing the defa...
opentitan/hw/top_earlgrey/ip_autogen/otp_ctrl/dv/env/seq_lib/otp_ctrl_parallel_lc_req_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.293
false
false
1,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 // // Key manager dpe entropy reseed controls // `include "prim_assert.sv" module keymgr_dpe_reseed_ctrl import keymgr_dpe_pkg::*; ( input clk_i, ...
opentitan/hw/ip/keymgr_dpe/rtl/keymgr_dpe_reseed_ctrl.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.189
false
false
2,658
-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/verified_boot/boot_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.194
false
false
5,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 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_CRYPTOLIB_FI_SYM_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_CRYPTOLI...
opentitan/sw/device/tests/penetrationtests/json/cryptolib_fi_sym_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.213
false
false
9,273
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // target specific signals inside the main control FSM interface fi_control_if import uvm_pkg::*; import aes_pkg::*; ( input logic clk_...
opentitan/hw/ip/aes/dv/err_injection_if/fi_control_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.267
false
false
7,562
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/dif/dif_rv_core_ibex.h" #include "sw/device/lib...
opentitan/sw/device/tests/penetrationtests/firmware/sca/edn_sca.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.388
false
false
5,335
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_IBEX_FI_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_IBEX_FI_COMMANDS_...
opentitan/sw/device/tests/penetrationtests/json/ibex_fi_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.187
false
false
7,971
-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: // Reset manager coverage bindings for multi bus input module rstmgr_cov_bind; // sec cm coverage bind bind rstmgr cip_mubi_cov...
opentitan/hw/ip_templates/rstmgr/dv/cov/rstmgr_cov_bind.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.538
false
false
448
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // The aborted low power test causes low power transitions to abort for CPU interrupts and nvms not // idle. It randomly enables wakeups, info captur...
opentitan/hw/top_englishbreakfast/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_aborted_low_power_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.181
false
false
4,453
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/base/status.h" #include "sw/device/lib/dif/dif_aon_timer.h" #include "sw/device/lib/dif/...
opentitan/sw/device/silicon_creator/rom_ext/e2e/boot_svc/boot_svc_wakeup_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.223
false
false
4,092
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_rstmgr.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testing...
opentitan/sw/device/tests/sim_dv/pwrmgr_main_power_glitch_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.564
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 otbn_sw_errs_fatal_chk_vseq extends otbn_single_vseq; `uvm_object_utils(otbn_sw_errs_fatal_chk_vseq) `uvm_object_new task body(); //...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_sw_errs_fatal_chk_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.412
false
false
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 class chip_sw_sram_ctrl_scrambled_access_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_sram_ctrl_scrambled_access_vseq) `uvm_object_...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_sram_ctrl_scrambled_access_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.173
false
false
12,681
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Combine most of the spi_device sequences in one test to run sequentially, except csr sequences. // mainly test these: // - Modes switch among FW, ...
opentitan/hw/ip/spi_device/dv/env/seq_lib/spi_device_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.261
false
false
2,117
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Simple module to split the 32-bit DWORDs read from the Target Tx Data Queue into SDR bytes or // HDR-DDR Data words for transmission. // // - th...
opentitan/hw/ip/i3c/rtl/i3c_dword_splitter.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.397
false
false
2,407
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Flash Phy Scramble Module // // This module implements the flash scramble / de-scramble operation // This operation is actually XEX. However th...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/rtl/flash_phy_scramble.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.195
false
false
7,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 class alert_agent_cfg extends dv_reactive_agent_cfg; virtual alert_if vif; bit is_async = 0; bit en_ping_cov = 1; bit en_lpg_cov ...
opentitan/hw/dv/sv/alert_agent/alert_agent_cfg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.371
false
false
2,697
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Run the JTAG DMT CSRs through our standard CSR suite via JTAG. class rv_dm_jtag_dtm_csr_vseq extends rv_dm_common_vseq; `uvm_object_utils(rv_dm_...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_jtag_dtm_csr_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.429
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 // // Testbench module for prim_arbiter_fixed. // Intended to be used with a formal tool. module prim_arbiter_fixed_tb #( parameter int N = 8, pa...
opentitan/hw/ip/prim/fpv/tb/prim_arbiter_fixed_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
891
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 package spi_device_test_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import cip_base_pkg::*; import spi_device_env_pkg::...
opentitan/hw/ip/spi_device/dv/tests/spi_device_test_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.471
false
false
503
-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_OTBN_DV_MODEL_OTBN_TRACE_CHECKER_H_ #define OPENTITAN_HW_IP_OTBN_DV_MODEL_OTBN_TRACE_CHECKER_H_ // A singleton class that lis...
opentitan/hw/ip/otbn/dv/model/otbn_trace_checker.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.707
false
false
4,198
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // SCA wrapper for otbn_mask_accelerator. Accepts all SecAddVecSize elements at once as flat input // buses and serializes them one per cycle into th...
opentitan/hw/ip/otbn/pre_sca/rtl/otbn_mask_accelerator_sca_wrapper.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.174
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 // test rx parity error // cross rx/tx watermark/overflow with parity error in this seq class uart_rx_parity_err_vseq extends uart_fifo_overflow_vseq...
opentitan/hw/ip/uart/dv/env/seq_lib/uart_rx_parity_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.312
false
false
746
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //############################################################################ // *Name: ast_alert // *Module Description: AST Alert //##############...
opentitan/hw/top_darjeeling/ip/ast/rtl/ast_alert.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.19
false
false
1,897
-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 gpio_env extends cip_base_env #( .CFG_T (gpio_env_cfg), .COV_T (gpio_env_cov), .VIRTUAL_SEQUENCER_T(gpio_virtua...
opentitan/hw/top_darjeeling/ip_autogen/gpio/dv/env/gpio_env.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
885
-1