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 // //############################################################################ // *Name: ast_clks_byp_aon // *Module Description: AST Clocks Bypass...
opentitan/hw/top_englishbreakfast/ip/ast/rtl/ast_clks_byp_aon.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.407
false
false
3,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 module i2c_bind; bind i2c tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( .clk_i, .rst_ni, .h2d (tl_i), .d2h ...
opentitan/hw/ip/i2c/dv/sva/i2c_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.111
false
false
687
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // i2c_fifo_reset_fmt test vseq // this sequence fills fmt fifo with random bytes and resets fmt fifo. // checks for fifo empty high class i2c_hos...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_host_fifo_fmt_empty_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.167
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 // // This sequence enables entropy refresh by changing the `entropy_refresh_c` constraint: // 1). Allow `hash_threshold` to be any random value. // 2...
opentitan/hw/ip/kmac/dv/env/seq_lib/kmac_entropy_refresh_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.4
false
false
850
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <assert.h> #include <limits.h> #include <stdbool.h> #include <stdint.h> #include "hw/top/dt/aon_timer.h" // Generated #include "hw/top/...
opentitan/sw/device/tests/aon_timer_irq_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.449
false
false
9,507
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Minimal smoke test: brings the DUT out of reset (via dut_init()/rram_ctrl_init()) and does // nothing else. Real content is still TODO(#31293) (wr...
opentitan/hw/ip/rram_ctrl/dv/env/seq_lib/rram_ctrl_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.375
false
false
721
-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_eeprom_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.284
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 package str_utils_pkg; `include "dv_macros.svh" string msg_id = "str_utils_pkg"; // Returns 1 if string 's' has substring 'sub' within the gi...
opentitan/hw/dv/sv/str_utils/str_utils_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.262
false
false
8,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 // This test vseq is paired with SW test `sw/device/tests/gpio_smoketest.c`. class chip_sw_gpio_smoke_vseq extends chip_sw_base_vseq; `uvm_object_u...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_gpio_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.172
false
false
2,804
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Description: I2C top level wrapper file `include "prim_assert.sv" module i2c import i2c_reg_pkg::*; #( parameter logic [NumAlerts-1:0] ...
opentitan/hw/ip/i2c/rtl/i2c.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.106
false
false
6,009
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A very simple interface that represents RACL error log signals. This uses the "maximum footprint" // approach, sizing for the maximum plausible nu...
opentitan/hw/ip/racl_ctrl/dv/env/racl_error_log_agent/racl_error_log_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.438
false
false
1,382
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_sequencer extends dv_reactive_sequencer #(spi_item, spi_agent_cfg, spi_item); `uvm_component_utils(spi_sequencer) // Analysis imp to r...
opentitan/hw/dv/sv/spi_agent/spi_sequencer.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.3
false
false
960
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class kmac_app_device_agent extends dv_base_agent #(.CFG_T (kmac_app_agent_cfg), .DRIVER_T ...
opentitan/hw/dv/sv/kmac_app_agent/kmac_app_device_agent.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.22
false
false
2,028
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Covergroup: pending_req_on_rst_cg // define bins for having pending request while on reset covergroup pending_req_on_rst_cg(string name, string pa...
opentitan/hw/dv/sv/tl_agent/tl_agent_cov.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.114
false
false
5,320
-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_riscv_agent_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import dv_base_agent_pkg::*; import dv_lib_pkg::*;...
opentitan/hw/dv/sv/jtag_riscv_agent/jtag_riscv_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.097
false
false
4,432
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SPI_HOST_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SPI_HOST_H_ /** * @file * @brief <a href="/book/hw/ip/s...
opentitan/sw/device/lib/dif/dif_spi_host.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.648
false
false
14,879
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // smoke test vseq class aon_timer_smoke_vseq extends aon_timer_base_vseq; `uvm_object_utils(aon_timer_smoke_vseq) extern function new (string n...
opentitan/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.121
false
false
1,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 #include "sw/device/lib/arch/boot_stage.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base...
opentitan/sw/device/tests/flash_ctrl_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.268
false
false
13,909
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // --------------------------------------------- // Escalator sender receiver interface monitor // --------------------------------------------- ...
opentitan/hw/dv/sv/esc_agent/esc_monitor.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.157
false
false
11,603
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 interface entropy_src_xht_if import entropy_src_pkg::*; ( input wire clk, input wire rst_n ); localparam int RngBusWidth = `RNG_BUS_WIDTH; lo...
opentitan/hw/dv/sv/entropy_src_xht_agent/entropy_src_xht_if.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.088
false
false
1,071
-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" // SEC_CM: LOGIC.SHADOW // TODO(#30572): Implement lockstep operation for this module // SEC_CM: CORED_TAG.INTERSIG.MUBI /...
opentitan/hw/ip/cheriot_mem_sys/rtl/cheriot_mem_sys.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.176
false
false
33,016
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module prim_flop_no_rst #( parameter int Width = 1 ) ( input logic clk_i, input logic [Width-1:0] d_i,...
opentitan/hw/ip/prim_asap7/rtl/prim_flop_no_rst.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
602
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_TESTS_OTBN_RANDOMNESS_IMPL_H_ #define OPENTITAN_SW_DEVICE_TESTS_OTBN_RANDOMNESS_IMPL_H_ #include <stdbool.h> #include "...
opentitan/sw/device/tests/otbn_randomness_impl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.92
false
false
1,851
-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 main control FSM // // This module contains the main control FSM handling the interplay of input/output registers and // the AES cipher core...
opentitan/hw/ip/aes/rtl/aes_control_fsm_n.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.077
false
false
26,417
-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 S-Box with First-Order Domain-Oriented Masking // // This is the unpipelined version using DOM-dep multipliers. It has a latency of 5 clock ...
opentitan/hw/ip/aes/rtl/aes_sbox_dom.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.267
false
false
41,942
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Standardize look & feel of report phase and uvm logging messages. class dv_report_server extends uvm_default_report_server; `uvm_object_utils(dv...
opentitan/hw/dv/sv/dv_utils/dv_report_server.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.182
false
false
2,921
-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_phy_prim_agent_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import dv_base_agent_pkg::*; import dv_lib_pkg...
opentitan/hw/dv/sv/flash_phy_prim_agent/flash_phy_prim_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.262
false
false
1,743
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testing/test_framework/check.h" #include "sw/device/lib/testing/...
opentitan/sw/device/silicon_creator/rom/e2e/boot_policy_big_image/resizable_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.538
false
false
1,020
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class edn_stress_all_test extends edn_base_test; `uvm_component_utils(edn_stress_all_test) `uvm_component_new function void configure_env(); ...
opentitan/hw/ip/edn/dv/tests/edn_stress_all_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
false
false
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 #include "sw/device/lib/testing/test_framework/ottf_main.h" OTTF_DEFINE_TEST_CONFIG(); // This test does nothing beyond booting. bool test_main(voi...
opentitan/sw/device/tests/fpga_priming_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.714
false
false
340
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Extends tl_host_single_seq to enable control over command integrity fields. // // This is useful to set up integrity error sequences, // test exec...
opentitan/hw/dv/sv/cip_lib/seq_lib/cip_tl_host_single_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.379
false
false
1,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 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_FREESTANDING_ABSL_STATUS_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_FREESTANDING_ABSL_STATUS_H_...
opentitan/sw/device/lib/crypto/include/freestanding/absl_status.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.894
false
false
9,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 // Basic smoke test vseq class i2c_target_smoke_vseq extends i2c_base_vseq; `uvm_object_utils(i2c_target_smoke_vseq) `uvm_object_new typedef i...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_target_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.153
false
false
5,479
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // N:1 arbiter module // // Verilog parameter // N: Number of request ports // DW: Data width // DataPort: Set to 1 to ...
opentitan/hw/ip/prim/rtl/prim_arbiter_tree.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.424
false
false
12,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 class chip_sw_spi_host_tx_rx_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_spi_host_tx_rx_vseq) `uvm_object_new rand int spi_host...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_spi_host_tx_rx_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.426
false
false
2,682
-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_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_COMMANDS_H_ #include "sw/...
opentitan/sw/device/tests/penetrationtests/json/commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.341
false
false
1,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 package sram_ctrl_prim_ral_pkg; import uvm_pkg::*; import dv_base_reg_pkg::*; `include "uvm_macros.svh" typedef class sram_ctrl_prim_mem_s...
opentitan/hw/ip/sram_ctrl/dv/env/sram_ctrl_prim_ral_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.113
false
false
2,545
-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 dv_lib_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import csr_utils_pkg::*; import dv_base_reg_pkg::*; import...
opentitan/hw/dv/sv/dv_lib/dv_lib_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.357
false
false
823
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Specialization of the `mem_bkdr_util` class for flash memories. class flash_ctrl_bkdr_util extends mem_bkdr_util; localparam int unsigned Flas...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/flash_ctrl_bkdr_util.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.139
false
false
5,772
-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 clkmgr_pkg; typedef enum int { HintMainAes = 0, HintMainHmac = 1, HintMainKmac = 2, HintMainOtbn = 3 } hint_names_e; ...
opentitan/hw/top_earlgrey/ip_autogen/clkmgr/rtl/clkmgr_pkg.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.068
false
false
2,373
-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 multiple resets with setting lc_* inputs with random value. class pwrmgr_disable_rom_integrity_check_vseq extends pwrmgr_base_vseq; `uvm_o...
opentitan/hw/top_englishbreakfast/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_disable_rom_integrity_check_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.12
false
false
5,442
-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 "uart_base_vseq.sv" `include "uart_tx_rx_vseq.sv" `include "uart_smoke_vseq.sv" `include "uart_common_vseq.sv" `include "uart_fifo_full_vseq...
opentitan/hw/ip/uart/dv/env/seq_lib/uart_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
754
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/arch/boot_stage.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/base/macros.h" #include "sw/device/lib/ba...
opentitan/sw/device/silicon_creator/rom/e2e/boot_policy_flash_ecc_error/flash_ecc_error_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.378
false
false
13,230
-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 check LPG by randomly turn off alert_handler's clock, and check if ping timer can // resume correctly without sending some spurious ...
opentitan/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_lpg_stub_clk_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.167
false
false
1,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 // Package-level (not class-bound) helpers for backdoor-accessing one row of the open-source // rram_macro's storage arrays. // // Free functions tha...
opentitan/hw/ip/rram_ctrl/dv/bkdr/rram_bkdr_helpers.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.557
false
false
5,153
-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_ED25519_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_JSON_ED25519_COMMAND...
opentitan/sw/device/tests/crypto/cryptotest/json/ed25519_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.611
false
false
4,197
-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_subreg_pkg; // Register access specifier typedef enum logic [2:0] { SwAccessRW = 3'd0, // Read-write SwAccessRO = 3'd1, /...
opentitan/hw/ip/prim/rtl/prim_subreg_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.267
false
false
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 module rv_dm_enable_checker import rv_dm_reg_pkg::NrHarts; ( input logic clk_i, input logic rst_ni, input lc_ctrl_pkg::lc_tx...
opentitan/hw/ip/rv_dm/dv/sva/rv_dm_enable_checker.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.31
false
false
2,365
-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/sha384.h
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.781
false
false
1,277
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // package prim_sha2_pkg; localparam int NumRound256 = 64; // SHA-224, SHA-256 localparam int NumRound512 = 80; // SHA-512, SHA-384 typed...
opentitan/hw/ip/prim/rtl/prim_sha2_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.095
false
false
12,152
-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/rv_plic_testutils.h" #include "sw/device/lib/dif/dif_base.h" #include "sw/device/lib/dif/dif_rv_plic.h" #include "sw...
opentitan/sw/device/lib/testing/rv_plic_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.375
false
false
1,248
-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/abs_mmio.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/crypto/drivers/otbn.h" #include "sw/device/li...
opentitan/sw/device/sca/ecc384_serial.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.551
false
false
11,707
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This clas provides knobs to set the weights for various seq random variables. class i2c_seq_cfg extends uvm_object; `uvm_object_utils(i2c_seq_cf...
opentitan/hw/ip/i2c/dv/env/i2c_seq_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.22
false
false
5,985
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_OTP_CTRL_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_OTP_CTRL_H_ /** * @file * @brief <a href="/hw/top_earlg...
opentitan/sw/device/lib/dif/dif_otp_ctrl.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.82
false
false
25,519
-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 <stddef.h> #include <stdint.h> #include "sw/device/lib/base/macros.h" #include "sw/device/lib/base/memory.h" #include ...
opentitan/sw/device/lib/base/memory_perftest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.235
false
false
8,320
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/crypto/drivers/entropy.h" #include "sw/device/lib/crypto/impl/keyblob.h" #include "sw/device/lib/crypto/impl/sha2/hkdf.h" #in...
opentitan/sw/device/tests/crypto/hkdf_otbn_masked_functest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.068
false
false
12,720
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class csrng_agent extends dv_reactive_agent #( .CFG_T (csrng_agent_cfg), .DRIVER_T (csrng_driver), .HOST_DRIVER_T (csrng_host_d...
opentitan/hw/dv/sv/csrng_agent/csrng_agent.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.083
false
false
3,743
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_CSR_REGISTERS_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_CSR_REGISTERS_H_ /** * Ibex Control and Status Register ...
opentitan/sw/device/lib/base/csr_registers.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
5,115
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // -------------------- // Device sequence // -------------------- class spi_device_seq extends spi_base_seq; `uvm_object_utils(spi_device_seq) ...
opentitan/hw/dv/sv/spi_agent/seq_lib/spi_device_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.162
false
false
979
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // I3C Controller global state. // // - Handles the transitions between the global states of the Host Controller: // Disabled/Enabled, Suspend/Resu...
opentitan/hw/ip/i3c/rtl/i3c_controller_state.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.331
false
false
7,663
-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 exercises the flow defined in the wfi_test.s program. Exercises DMEM writes and // reads whilst paused. class otbn_wfi_smoke_vseq...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_wfi_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
5,211
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_MOCK_BOOT_SVC_HEADER_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_MOCK_BOOT_S...
opentitan/sw/device/silicon_creator/lib/boot_svc/mock_boot_svc_header.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.571
false
false
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 // // This is the integration wrapper layer for AST `include "prim_assert.sv" module sensor_ctrl import sensor_ctrl_pkg::*; import sensor_ctrl_r...
opentitan/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.217
false
false
12,896
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 interface sram_ctrl_exec_if; string path = "exec_if"; lc_ctrl_pkg::lc_tx_t lc_hw_debug_en; prim_mubi_pkg::mubi8_t otp_en_sram_ifetch; // L...
opentitan/hw/ip/sram_ctrl/dv/env/sram_ctrl_exec_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.211
false
false
789
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class chip_sw_sysrst_ctrl_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_sysrst_ctrl_vseq) `uvm_object_new // two key rsts + one p...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_sysrst_ctrl_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.092
false
false
3,244
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/base/status.h" #include "sw/device/lib/testing/keymgr_dpe_testutils.h" #include "sw...
opentitan/sw/device/silicon_creator/rom_ext/e2e/flash_ecc_error/secret_page_setup.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.615
false
false
514
-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 mbx_test_pkg; // dep packages import uvm_pkg::*; import cip_base_pkg::*; import mbx_env_pkg::*; // macro includes `include "uvm_...
opentitan/hw/ip/mbx/dv/tests/mbx_test_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.5
false
false
471
-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 pattgen_if #( parameter int unsigned NumChannels = 2 ); logic clk_i; logic rst_ni; // standard pattgen interface pins logic [Num...
opentitan/hw/dv/sv/pattgen_agent/pattgen_if.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
false
false
403
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 `include "prim_assert.sv" module mbx_sramrwarb import tlul_pkg::*; #( parameter int unsigned CfgSramAddrWidth = 32, parameter int unsigned Cf...
opentitan/hw/ip/mbx/rtl/mbx_sramrwarb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.29
false
false
6,822
-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_FI_LC_CTRL_FI_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_FI_LC_CTRL_F...
opentitan/sw/device/tests/penetrationtests/firmware/fi/lc_ctrl_fi.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.914
false
false
1,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 #include "sw/device/silicon_creator/lib/bootstrap.h" #include <assert.h> #include <stdalign.h> #include <stdint.h> #include "sw/device/lib/base/bit...
opentitan/sw/device/silicon_creator/lib/bootstrap.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.496
false
false
8,528
-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 prim_alert_rxtx_fatal_bind_fpv; // this reuses the synchronous VIP. bind prim_alert_rxtx_tb prim_alert_rxtx_assert_fpv prim_al...
opentitan/hw/ip/prim/fpv/tb/prim_alert_rxtx_fatal_bind_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.185
false
false
682
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/arch/boot_stage.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/...
opentitan/sw/device/tests/flash_ctrl_clock_freqs_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.257
false
false
7,583
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class jtag_item extends uvm_sequence_item; // random variables // Indicates the sizes of IR and DR transactions respectively. // // In case...
opentitan/hw/dv/sv/jtag_agent/jtag_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.264
false
false
4,193
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Key manager dpe interface to kmac // `include "prim_assert.sv" module keymgr_dpe_kmac_if import keymgr_dpe_pkg::*; #( parameter rand_perm_...
opentitan/hw/ip/keymgr_dpe/rtl/keymgr_dpe_kmac_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.227
false
false
12,797
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // set volatile unlock to 1 and check if raw -> unlock0 transition is successful. class lc_ctrl_volatile_unlock_smoke_vseq extends lc_ctrl_smoke_vseq...
opentitan/hw/ip/lc_ctrl/dv/env/seq_lib/lc_ctrl_volatile_unlock_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.116
false
false
4,946
-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 cipher core control FSM // // This module contains the AES cipher core control FSM operating on and producing the negated // values of impor...
opentitan/hw/ip/aes/rtl/aes_cipher_control_fsm_n.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.109
false
false
13,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 // // Timer module that reports on timed events such as bus activity and receiver responses. // // - configured for a number of independent timers, ea...
opentitan/hw/ip/i3c/rtl/i3c_timers.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.532
false
false
4,534
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // State definitions for entropy_src_ack_sm, provided as a separate package for use in DV package entropy_src_ack_sm_pkg; // Encoding generated...
opentitan/hw/ip/entropy_src/rtl/entropy_src_ack_sm_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.75
false
false
1,015
-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 "sysrst_ctrl_base_vseq.sv" `include "sysrst_ctrl_smoke_vseq.sv" `include "sysrst_ctrl_common_vseq.sv" `include "sysrst_ctrl_in_out_inverted_...
opentitan/hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.15
false
false
951
-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 top_earlgrey_bind; `ifndef GATE_LEVEL bind earlgrey_pd_aon clk_ctrl_and_main_pd_sva_if clk_ctrl_and_main_pd_sva_if ( .clk_slow_i(u_pwrmg...
opentitan/hw/top_earlgrey/dv/sva/top_earlgrey_bind.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.125
false
false
1,614
-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 "i2c_base_seq.sv" `include "i2c_device_response_seq.sv" `include "i2c_target_base_seq.sv" `include "i2c_target_may_nack_seq.sv" `include "i2...
opentitan/hw/dv/sv/i2c_agent/seq_lib/i2c_seq_list.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.375
false
false
346
-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 "hw/top/dt/alert_handler.h" // Generated #include "hw/top...
opentitan/sw/device/tests/rv_core_ibex_nmi_irq_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.386
false
false
11,621
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 interface sram_ctrl_lc_if; lc_ctrl_pkg::lc_tx_t lc_esc_en; // LC escalation signal must be stable before reset ends task automatic init(); ...
opentitan/hw/ip/sram_ctrl/dv/env/sram_ctrl_lc_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.308
false
false
473
-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 rom_ctrl_vseqs_pkg; import uvm_pkg::*; import dv_utils_pkg::*; import dv_base_reg_pkg::*; import cip_base_pkg::*; import sec_cm_pk...
opentitan/hw/ip/rom_ctrl/dv/env/seq_lib/rom_ctrl_vseqs_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.136
false
false
760
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_HW_DV_DPI_USBDPI_USB_MONITOR_H_ #define OPENTITAN_HW_DV_DPI_USBDPI_USB_MONITOR_H_ #include <stdbool.h> #include <stdint.h> /** * ...
opentitan/hw/dv/dpi/usbdpi/usb_monitor.h
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.75
false
false
2,417
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/crypto/impl/ecc/p256.h" #include "sw/device/lib/base/crc32.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/l...
opentitan/sw/device/lib/crypto/impl/ecc/p256.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.25
false
false
22,149
-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_sensor_ctrl.h" #include <assert.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/mmio.h" #i...
opentitan/sw/device/lib/dif/dif_sensor_ctrl.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.153
false
false
5,738
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 module usbdev_bind; bind usbdev tlul_assert #( .EndpointType("Device") ) tlul_assert_device ( .clk_i, .rst_ni, .h2d (tl_i), ...
opentitan/hw/ip/usbdev/dv/sva/usbdev_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.158
false
false
476
-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/csr.h" #include "sw/device/lib/runtime/hart.h" #include "sw/device/lib/runtime/irq.h" #include "sw/device/lib/runtime/pm...
opentitan/sw/device/tests/pmp_smoketest_napot.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.37
false
false
3,251
-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 pattgen_chan import pattgen_ctrl_pkg::*; ( input clk_i, input rst_ni, input pattgen_chan_...
opentitan/hw/ip/pattgen/rtl/pattgen_chan.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.198
false
false
6,909
-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_agent_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import dv_base_agent_pkg::*; import dv_lib_pkg::*; // ...
opentitan/hw/dv/sv/spi_agent/spi_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.193
false
false
3,872
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Convenience module for wrapping prim_and2 for use in blanking. // When en_i == 1 the input is fed through to the output. // When en_i == 0 the out...
opentitan/hw/ip/prim/rtl/prim_blanker.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.316
false
false
599
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class flash_ctrl_scoreboard #( type CFG_T = flash_ctrl_env_cfg ) extends cip_base_scoreboard #( .CFG_T(CFG_T), .RAL_T(flash_ctrl_core_reg_block...
opentitan/hw/ip_templates/flash_ctrl/dv/env/flash_ctrl_scoreboard.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.05
false
false
37,298
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_EPMP_DEFS_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_EPMP_DEFS_H_ /** * Constants for use w...
opentitan/sw/device/silicon_creator/lib/epmp_defs.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
1
false
false
2,257
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // inherit from spi_device_flash_and_tpm_vseq and override the task to always // use `min_idle_ns_after_csb_drop`. class spi_device_flash_and_tpm_min...
opentitan/hw/ip/spi_device/dv/env/seq_lib/spi_device_flash_and_tpm_min_idle_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.4
false
false
713
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/base/status.h" #include "sw/device/lib/runtime/log.h" #include "sw/device/lib/testing/test_framework/check.h" #include "sw/de...
opentitan/sw/device/tests/penetrationtests/firmware/testdata/bl0_rom_ext_flash_rollback.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.333
false
false
4,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 // class : gpio_dout_din_regs_random_rw_vseq // This gpio random test sequence does any of the following: // (i) drives random gpio input data values...
opentitan/hw/top_darjeeling/ip_autogen/gpio/dv/env/seq_lib/gpio_dout_din_regs_random_rw_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.305
false
false
3,937
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Description: I2C bus idle and timeout monitoring, plus Start/Stop // detection. module i2c_bus_monitor import i2c_pkg::*; ( input ...
opentitan/hw/ip/i2c/rtl/i2c_bus_monitor.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.236
false
false
11,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 // // TL-UL socket M:1 module with CHERIoT sideband // // Carries, next to each TL-UL port, the flat sideband of the tag filter's meta port: the tag a...
opentitan/hw/ip/cheriot_mem_sys/rtl/cheriot_socket_m1.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.252
false
false
9,781
-1