text
stringlengths
183
150k
path
stringlengths
15
112
bucket
stringclasses
4 values
source
stringclasses
14 values
group
stringclasses
121 values
spdx
stringclasses
11 values
repo_license
stringclasses
11 values
commit
stringclasses
13 values
lang
stringclasses
4 values
def_heavy
bool
1 class
comment_ratio
float64
0
1
restricted
bool
2 classes
fresh
bool
1 class
n_bytes
int64
183
150k
n_tokens
int64
-1
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // module tb; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import tl_agent_pkg::*; import chip_env_pkg::*; import chip_commo...
opentitan/hw/top_darjeeling/dv/tb/tb.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.137
false
false
26,983
-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 error test vseq // During the channels are operating (patterns are not fully generated), // this vseq can randomly disable channels that cau...
opentitan/hw/ip/pattgen/dv/env/seq_lib/pattgen_error_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.417
false
false
1,091
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_KEY_TRANSPORT_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_INCLUDE_KEY_TRANSPORT_H_ #include "datatypes....
opentitan/sw/device/lib/crypto/include/key_transport.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.849
false
false
12,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 #ifndef OPENTITAN_SW_DEVICE_EXAMPLES_DEMOS_H_ #define OPENTITAN_SW_DEVICE_EXAMPLES_DEMOS_H_ #include <stdint.h> #include "sw/device/lib/dif/dif_gpi...
opentitan/sw/device/examples/demos.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.925
false
false
1,447
-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 sram_ctrl_bind; bind sram_ctrl tlul_assert #( .EndpointType("Device") ) tlul_assert_device_regs ( .clk_i, .rst_ni, .h2d(r...
opentitan/hw/ip/sram_ctrl/dv/sva/sram_ctrl_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.111
false
false
673
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/drivers/rram_ctrl.h" #define INFO_PAGE_STRUCT_DEF_(name_, page_id_, emulated_, num_pages_) \ const rram_ct...
opentitan/sw/device/silicon_creator/lib/drivers/rram_ctrl_info_pages.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
679
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "hw/ip/aes/model/aes_modes.h" #include "hw/top/dt/aes.h" #include "hw/top/dt/csrng.h" #include "hw/top/dt/edn.h" #include "sw/device/lib/bas...
opentitan/sw/device/tests/edn_sw_mode.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.426
false
false
4,634
-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_STATE_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_STATE_H_ #include "sw/device/lib/crypto/impl/kats.h...
opentitan/sw/device/lib/crypto/impl/state.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.618
false
false
3,990
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // // Configuration values for DUT input signals // // // This class randomizes values for DUT signal inputs // and sets constraints on these value...
opentitan/hw/top_darjeeling/ip_autogen/otp_ctrl/dv/env/otp_ctrl_ast_inputs_cfg.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.645
false
false
1,187
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // SPI Flash Read Command: Read Buffer Manager /* The SPI Device IP uses the first half of the DPSRAM as a read buffer. The IP returns data from th...
opentitan/hw/ip/spi_device/rtl/spid_readbuffer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.195
false
false
7,245
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This test triggers a ram read uncorrectable error created from the SV side // for a specific address. The alert handler is programmed to trigger a...
opentitan/sw/device/tests/sim_dv/data_integrity_escalation_reset_test.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.4
false
false
23,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 // This sequence will invert the input pins and check the corresponding output and vice versa class sysrst_ctrl_in_out_inverted_vseq extends sysrst_c...
opentitan/hw/ip/sysrst_ctrl/dv/env/seq_lib/sysrst_ctrl_in_out_inverted_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.057
false
false
5,768
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class mbx_env_cfg extends cip_base_env_cfg #( .RAL_T(mbx_core_reg_block) ); // RoT-side SRAM interface. tl_agent_cfg m_tl_agent_sram_cfg; //...
opentitan/hw/ip/mbx/dv/env/mbx_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.352
false
false
2,712
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // DMI gate for the RISC-V Debug Module // // This module latches the power-on strap for DM enablement from lc_ctrl and // gates the DMI if debugging...
opentitan/hw/ip/rv_dm/rtl/rv_dm_dmi_gate.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.293
false
false
11,175
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // targetmode performance test vseq class i2c_target_perf_vseq extends i2c_target_smoke_vseq; `uvm_object_utils(i2c_target_perf_vseq) `uvm_object...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_target_perf_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.367
false
false
1,115
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/tests/penetrationtests/firmware/sca/cryptolib_sca_sym.h" #include "sw/device/lib/base/memory.h" #include "sw/device/lib/base/sta...
opentitan/sw/device/tests/penetrationtests/firmware/sca/cryptolib_sca_sym.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.191
false
false
37,904
-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 pwrmgr_scoreboard extends cip_base_scoreboard #( .CFG_T(pwrmgr_env_cfg), .RAL_T(pwrmgr_reg_block), .COV_T(pwrmgr_env_cov) ); `uvm_compo...
opentitan/hw/top_earlgrey/ip_autogen/pwrmgr/dv/env/pwrmgr_scoreboard.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.135
false
false
13,863
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Standalone command line utility to calculate the SHA2-256/384/512 of an // input file, which may be compared directly against the output of the ...
opentitan/hw/ip/hmac/dv/cryptoc_dpi/main.c
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.3
false
false
2,490
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class usb20_item extends uvm_sequence_item; // Bus-level events ev_type_e m_ev_type; // in microseconds, 0 = default (minimum specification-co...
opentitan/hw/dv/sv/usb20_agent/usb20_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.256
false
false
11,166
-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 sequence item // --------------------------------------------- // An expression that is...
opentitan/hw/dv/sv/tl_agent/tl_seq_item.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.301
false
false
21,301
-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 accumulates incoming alert triggers. Once the current accumulator // value is greater or equal the accumulator threshold, the next o...
opentitan/hw/top_earlgrey/ip_autogen/alert_handler/rtl/alert_handler_accu.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.362
false
false
2,542
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/testing/test_framework/ottf_main.h" #include "sw/device/silicon_creator/lib/dbg_print.h" OTTF_DEFINE_TEST_CONFIG(); bool te...
opentitan/sw/device/silicon_creator/rom_ext/e2e/handoff/epmp_print.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.5
false
false
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 // module tb; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import pwrmgr_env_pkg::*; import pwrmgr_test_pkg::*; // macro in...
opentitan/hw/top_englishbreakfast/ip_autogen/pwrmgr/dv/tb.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.078
false
false
3,853
-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: aon_clk // *Module Description: Always ON Clock //###########...
opentitan/hw/top_darjeeling/ip/ast/rtl/aon_clk.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.218
false
false
1,849
-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 control read handler: // Handles data interface and counts the requested number of bus words per transaction // Transactions are then issue...
opentitan/hw/ip/rram_ctrl/rtl/rram_ctrl_rd.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.254
false
false
6,103
-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 rng_agent_pkg; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import dv_lib_pkg::*; // macro includes `include "uvm_...
opentitan/hw/dv/sv/rng_agent/rng_agent_pkg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.281
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 class soc_dbg_ctrl_smoke_vseq extends soc_dbg_ctrl_base_vseq; `uvm_object_utils(soc_dbg_ctrl_smoke_vseq) // Standard SV/UVM methods extern fun...
opentitan/hw/ip/soc_dbg_ctrl/dv/env/seq_lib/soc_dbg_ctrl_smoke_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.267
false
false
580
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_BASE_FT_DEVICE_ID_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_MANUF_BASE_FT_DEVICE_ID_H_ #inclu...
opentitan/sw/device/silicon_creator/manuf/base/ft_device_id.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.909
false
false
499
-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/sha256.c
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.169
false
false
4,500
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 module tb; // dep packages import uvm_pkg::*; import dv_utils_pkg::*; import mbx_env_pkg::*; import mbx_test_pkg::*; // macro includes ...
opentitan/hw/ip/mbx/dv/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.187
false
false
2,737
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_host_common_vseq extends spi_host_base_vseq; `uvm_object_utils(spi_host_common_vseq) `uvm_object_new constraint num_trans_c { num_tr...
opentitan/hw/ip/spi_host/dv/env/seq_lib/spi_host_common_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.333
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 class rram_ctrl_virtual_sequencer extends cip_base_virtual_sequencer #( .CFG_T(rram_ctrl_env_cfg), .COV_T(rram_ctrl_env_cov) ); `uvm_comp...
opentitan/hw/ip/rram_ctrl/dv/env/rram_ctrl_virtual_sequencer.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.286
false
false
629
-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_PRNG_SCA_COMMANDS_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_JSON_PRNG_SCA_COMMAND...
opentitan/sw/device/tests/penetrationtests/json/prng_sca_commands.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.708
false
false
976
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_AES_H_ #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_DRIVERS_AES_H_ #include "sw/device/lib/base/hardened.h" ...
opentitan/sw/device/lib/crypto/drivers/aes.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.795
false
false
6,123
-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_deep_sleep_all_reset_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_deep_sleep_all_reset_vseq) `uvm_object_new // Nu...
opentitan/hw/top_darjeeling/dv/env/seq_lib/chip_sw_deep_sleep_all_reset_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.187
false
false
5,650
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This sequence is specifically to ensure the partial overlaps between the source/destination // buffer and the DMA-enabled memory range are exercis...
opentitan/hw/ip/dma/dv/env/seq_lib/dma_mem_enabled_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.414
false
false
3,394
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A sequence that runs a program multiple times and corrupts the // imem registers while the otbn is still running. class otbn_imem_err_vseq extend...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_imem_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.298
false
false
2,309
-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_ABS_MMIO_H_ #define OPENTITAN_SW_DEVICE_LIB_BASE_ABS_MMIO_H_ #include <stddef.h> #include <stdint.h> #include ...
opentitan/sw/device/lib/base/abs_mmio.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.75
false
false
2,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 // // clkmgr interface. interface clkmgr_if ( input logic clk, input logic rst_n, input logic rst_aon_n, input logic rst_io_n, input logic ...
opentitan/hw/top_darjeeling/ip_autogen/clkmgr/dv/env/clkmgr_if.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.141
false
false
6,680
-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_vseq.sv" `include "i2c_common_vseq.sv" `include "i2c_rx_tx_vseq.sv" `include "i2c_host_smoke_vseq.sv" `include "i2c_host_override...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_vseq_list.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.07
false
false
1,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_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_FIRMWARE_HASH_H_ #define OPENTITAN_SW_DEVICE_TESTS_CRYPTO_CRYPTOTEST_FIRMWARE_HASH_H_ #include "...
opentitan/sw/device/tests/crypto/cryptotest/firmware/hash.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.889
false
false
497
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT_SVC_OWNERSHIP_ACTIVATE_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_ownership_activate.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.604
false
false
3,870
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Isochronous OUT transaction. class usbdev_out_iso_vseq extends usbdev_base_vseq; `uvm_object_utils(usbdev_out_iso_vseq) `uvm_object_new t...
opentitan/hw/ip/usbdev/dv/env/seq_lib/usbdev_out_iso_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.344
false
false
1,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 // // interface for input data from OTP `ifndef LC_CTRL_FSM_PATH `define LC_CTRL_FSM_PATH tb.dut.u_lc_ctrl_fsm `endif interface lc_ctrl_if #( para...
opentitan/hw/ip/lc_ctrl/dv/env/lc_ctrl_if.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.119
false
false
7,179
-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/nvm_testutils.h" #include <string.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/macros.h...
opentitan/sw/device/lib/testing/nvm_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.131
false
false
29,774
-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 pwrmgr seqs (except below seqs) in one seq to run sequentially // 1. csr seq, which requires scb to be disabled class pwrmgr_stress_al...
opentitan/hw/top_englishbreakfast/ip_autogen/pwrmgr/dv/env/seq_lib/pwrmgr_stress_all_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.143
false
false
1,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 // // Binds OTP_CTRL functional coverage interface to the top level OTP_CTRL module. // `define PART_MUBI_COV(__part_name, __index) ...
opentitan/hw/top_earlgrey/ip_autogen/otp_ctrl/dv/cov/otp_ctrl_cov_bind.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.096
false
false
4,258
-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 rram_ctrl_env extends cip_base_env #( .CFG_T (rram_ctrl_env_cfg), .COV_T (rram_ctrl_env_cov), .VIRTUAL_SE...
opentitan/hw/ip/rram_ctrl/dv/env/rram_ctrl_env.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.184
false
false
2,512
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This interface collect the broadcast output data from OTP, // and drive input requests coming into OTP. `define ECC_REG_PATH gen_ecc_reg.u_otp_ctrl...
opentitan/hw/top_earlgrey/ip_autogen/otp_ctrl/dv/env/otp_ctrl_if.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.139
false
false
16,306
-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 edn_env_pkg::*; import edn_test_pkg::*; // macro includes...
opentitan/hw/ip/edn/dv/tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.149
false
false
3,366
-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/lc_ctrl_testutils.h" #include <stdbool.h> #include "sw/device/lib/dif/dif_lc_ctrl.h" #include "sw/device/lib/runtim...
opentitan/sw/device/lib/testing/lc_ctrl_testutils.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.094
false
false
3,855
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // In-Band Interrupt (IBI) Status handling; HCI/Driver side, reading from queues. `include "prim_assert.sv" module i3c_hci_ibi import i3c_pkg::...
opentitan/hw/ip/i3c/rtl/i3c_hci_ibi.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.423
false
false
2,741
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_SIVAL_KEYS_OWNERSHIP_ACTIVATE_KEY_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_SIVAL_KE...
opentitan/sw/device/silicon_creator/rom_ext/sival/keys/ownership_activate_key.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.583
false
false
847
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_IBEX_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_IBEX_H_ #include <stddef.h> ...
opentitan/sw/device/silicon_creator/lib/drivers/ibex.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.697
false
false
5,339
-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_USBDEV_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_USBDEV_H_ /** * @file * @brief <a href="/book/hw/ip/usbd...
opentitan/sw/device/lib/dif/dif_usbdev.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.761
false
false
34,499
-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 configuration for a single filter class adc_ctrl_filter_cfg extends uvm_object; // An interval of values (inclusive). rand bit [ADC_CTRL_...
opentitan/hw/ip/adc_ctrl/dv/env/adc_ctrl_filter_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.204
false
false
2,500
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Bind prim_diff_decode_assert_fpv into each instance of prim_diff_decode in the design. module prim_diff_decode_bind_fpv; bind prim_diff_decode ...
opentitan/hw/ip/prim/fpv/tb/prim_diff_decode_bind_fpv.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.625
false
false
416
-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 <assert.h> #include <stdint.h> #include "sw/device/lib/base/macros.h" #ifdef OT_PLATFORM_RV32 #def...
opentitan/sw/device/lib/base/memory.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.139
false
false
8,831
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This module implements the escalation timer, which times the four escalation // phases. There are two mechanisms that can trigger the escalation...
opentitan/hw/top_darjeeling/ip_autogen/alert_handler/rtl/alert_handler_esc_timer.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.262
false
false
13,763
-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_keymgr_dpe_sideload_aes_vseq extends chip_sw_keymgr_dpe_key_derivation_vseq; `uvm_object_utils(chip_sw_keymgr_dpe_sideload_aes_vseq) ...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_keymgr_dpe_sideload_aes_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.245
false
false
2,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 // Provides abstraction for mapping a flash memory address in flash organization. class flash_mem_addr_attrs; addr_t addr; // Inpu...
opentitan/hw/ip_templates/flash_ctrl/dv/env/flash_mem_addr_attrs.sv
arch_code
opentitan
opentitan/hw/ip_templates
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.119
false
false
2,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 // This randomly requests reset or wakeup 10 times. Each time sequence waits // for 'ready for power down' log from c test and then executes reset, w...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_repeat_reset_wkup_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.209
false
false
2,661
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //////////////////////////////////////////// // SRAM address and data scrambling logic // /////////////////////////////////////////// // // There are...
opentitan/hw/ip/sram_ctrl/dv/env/sram_scrambler_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.312
false
false
20,031
-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/runtime/print.h" #include "sw/device/lib/testin...
opentitan/sw/device/silicon_creator/rom_ext/e2e/attestation/print_certs.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.291
false
false
3,065
-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_DMA_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_DMA_H_ /** * @file * @brief <a href="/book/hw/ip/dma/">DMA ...
opentitan/sw/device/lib/dif/dif_dma.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.651
false
false
12,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 #ifndef OPENTITAN_SW_DEVICE_LIB_ARCH_BOOT_STAGE_H_ #define OPENTITAN_SW_DEVICE_LIB_ARCH_BOOT_STAGE_H_ #ifdef __cplusplus extern "C" { #endif // __c...
opentitan/sw/device/lib/arch/boot_stage.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.833
false
false
1,696
-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_bind; bind rv_dm tlul_assert #( .EndpointType("Device") ) tlul_assert_device_dmi ( .clk_i, .rst_ni, .h2d (dbg_tl_d...
opentitan/hw/ip/rv_dm/dv/sva/rv_dm_bind.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.071
false
false
1,413
-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 key_sideload_agent_cfg #( parameter type KEY_T = keymgr_dpe_pkg::hw_key_req_t ) extends dv_base_agent_cfg; // interface handle used by ...
opentitan/hw/dv/sv/key_sideload_agent/key_sideload_agent_cfg.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.308
false
false
565
-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_scoreboard #(type RAL_T = chip_ral_pkg::chip_reg_block) extends cip_base_scoreboard #( .CFG_T(chip_env_cfg), .RAL_T(RAL_T), .C...
opentitan/hw/top_darjeeling/dv/env/chip_scoreboard.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.205
false
false
3,461
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Power Manager Slow FSM // `include "prim_assert.sv" module pwrmgr_slow_fsm import pwrmgr_pkg::*; ( input clk_i, input rst_ni, input rst_...
opentitan/hw/top_earlgrey/ip_autogen/pwrmgr/rtl/pwrmgr_slow_fsm.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.221
false
false
10,416
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class usb20_base_seq extends dv_base_seq #( .CFG_T (usb20_agent_cfg), .SEQUENCER_T (usb20_sequencer) ); `uvm_object_utils(usb20_base_seq)...
opentitan/hw/dv/sv/usb20_agent/seq_lib/usb20_base_seq.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.231
false
false
463
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Derived from code in the SPHINCS+ reference implementation (CC0 license): // https://github.com/sphincs/sphincsplus/blob/ed15dd78658f63288c7492c...
opentitan/sw/device/silicon_creator/lib/sigverify/sphincsplus/thash_shake_simple.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.571
false
false
1,166
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 //halt/resume/whereto test class rv_dm_halt_resume_whereto_vseq extends rv_dm_base_vseq; `uvm_object_utils(rv_dm_halt_resume_whereto_vseq) `uvm_o...
opentitan/hw/ip/rv_dm/dv/env/seq_lib/rv_dm_halt_resume_whereto_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.356
false
false
6,082
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This is a draft implementation of a low-latency memory scrambling mechanism. // // The module is implemented as a primitive, in the same spirit ...
opentitan/hw/ip/prim/rtl/prim_ram_1p_scr.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.328
false
false
24,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 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_ECC256_KEYGEN_SCA_H_ #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_...
opentitan/sw/device/tests/penetrationtests/firmware/sca/ecc256_keygen_sca.h
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.556
false
false
970
-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 triggers tb.dut.u_eflash.gen_flash_cores[0].u_core.spurious_ack_o // by force. class flash_ctrl_phy_ack_consistency_vseq extends flash_ctrl_p...
opentitan/hw/top_englishbreakfast/ip_autogen/flash_ctrl/dv/env/seq_lib/flash_ctrl_phy_ack_consistency_vseq.sv
arch_code
opentitan
opentitan/hw/top_englishbreakfast
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.246
false
false
2,768
-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/api.h" // Generated #include "hw/top/dt/rv_timer.h" // Generated #include "sw/device/lib/dif/dif_rv_timer.h" #include "sw/...
opentitan/sw/device/tests/rv_timer_smoketest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.304
false
false
3,576
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class aon_timer_base_test extends cip_base_test #( .CFG_T(aon_timer_env_cfg), .ENV_T(aon_timer_env) ); `uvm_component_utils(aon_timer_ba...
opentitan/hw/ip/aon_timer/dv/tests/aon_timer_base_test.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.435
false
false
1,035
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class chip_sw_all_escalation_resets_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_all_escalation_resets_vseq) typedef struct { /...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_all_escalation_resets_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.214
false
false
9,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 #include <stdbool.h> #include "sw/device/lib/base/status.h" #include "sw/device/lib/testing/test_framework/check.h" #include "sw/device/lib/testing/t...
opentitan/sw/device/silicon_creator/lib/sigverify/sigverify_tests/sigverify_cryptotest.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.117
false
false
7,170
-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_header.h" #include <stddef.h> #include "sw/device/silicon_creator/lib/drivers/hmac.h" /*...
opentitan/sw/device/silicon_creator/lib/boot_svc/boot_svc_header.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.412
false
false
3,434
-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: sys_osc // *Module Description: System Clock Oscillator //###...
opentitan/hw/top_darjeeling/ip/ast/rtl/sys_osc.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.228
false
false
3,920
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // timeout test vseq // this sequence sets timeout enable and value in timeout control reg // runs random i2c transactions agent is configured to pul...
opentitan/hw/ip/i2c/dv/env/seq_lib/i2c_host_timeout_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.588
false
false
873
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // This contains SVA assertions for clock gating output to alert_handler for // AON clocks: they are never gated off. interface clkmgr_aon_cg_en_sva_...
opentitan/hw/top_darjeeling/ip_autogen/clkmgr/dv/sva/clkmgr_aon_cg_en_sva_if.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.625
false
false
393
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Check power on/wakeup counters using the assertions in the testbench // Just randomize pwrup_time and wakeup_time register and enable the ADC_CTRL ...
opentitan/hw/ip/adc_ctrl/dv/env/seq_lib/adc_ctrl_counter_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.253
false
false
3,172
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // A sequence to insert 1 or 2 bit flips per word to bignum register file while // OTBN is trying to read from it. class otbn_rf_bignum_intg_err_vse...
opentitan/hw/ip/otbn/dv/uvm/env/seq_lib/otbn_rf_bignum_intg_err_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.102
false
false
2,172
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // Attempt second transition before reset class lc_ctrl_security_escalation_vseq extends lc_ctrl_errors_vseq; `uvm_object_utils(lc_ctrl_security_es...
opentitan/hw/ip/lc_ctrl/dv/env/seq_lib/lc_ctrl_security_escalation_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.182
false
false
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 #include "sw/device/lib/crypto/include/kmac.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/lib/base/hardened_memory.h" #include "sw...
opentitan/sw/device/lib/crypto/impl/kmac.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.295
false
false
14,010
-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/epmp_state.h" #include "sw/device/lib/base/csr.h" #include "sw/device/lib/base/hardened.h" #include "sw/devi...
opentitan/sw/device/silicon_creator/lib/epmp_state.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.288
false
false
2,722
-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 hmac_env_cfg extends cip_base_env_cfg #(.RAL_T(hmac_reg_block)); `uvm_object_utils(hmac_env_cfg) // A flag to notify scoreboard if digest ...
opentitan/hw/ip/hmac/dv/env/hmac_env_cfg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.409
false
false
2,369
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // The frequency timeout vseq exercises the frequency measurement counters. More details // in the clkmgr_testplan.hjson file. class clkmgr_frequency...
opentitan/hw/top_darjeeling/ip_autogen/clkmgr/dv/env/seq_lib/clkmgr_frequency_timeout_vseq.sv
arch_code
opentitan
opentitan/hw/top_darjeeling
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.191
false
false
5,372
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/drivers/hmac.h" #include "hw/top/dt/hmac.h" #include "sw/device/lib/base/abs_mmio.h" #include "sw/device/lib...
opentitan/sw/device/silicon_creator/lib/drivers/hmac.c
arch_code
opentitan
opentitan/sw/device
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.253
false
false
7,926
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // Life cycle signal decoder and sender module. `include "prim_assert.sv" module lc_ctrl_signal_decode import lc_ctrl_pkg::*; import lc_ctrl_...
opentitan/hw/ip/lc_ctrl/rtl/lc_ctrl_signal_decode.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.182
false
false
17,181
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class spi_host_base_vseq extends cip_base_vseq #( .RAL_T (spi_host_reg_block), .CFG_T (spi_host_env_cfg), .CO...
opentitan/hw/ip/spi_host/dv/env/seq_lib/spi_host_base_vseq.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.153
false
false
27,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 #include <assert.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include "spidpi.h" #define MON_BUFLEN 65 struct mon_ctx { int cp...
opentitan/hw/dv/dpi/spidpi/monitor_spi.c
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
c
false
0.303
false
false
6,490
-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 digestpp_dpi_pkg; // dep packages // macro includes // parameters // DPI-C imports import "DPI-C" context function void c_dpi_s...
opentitan/hw/ip/kmac/dv/dpi/digestpp_dpi_pkg.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.075
false
false
3,307
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class flash_phy_prim_driver extends dv_base_driver #(.ITEM_T(flash_phy_prim_item), .CFG_T (flash_phy_pr...
opentitan/hw/dv/sv/flash_phy_prim_agent/flash_phy_prim_driver.sv
arch_code
opentitan
opentitan/hw/dv
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.375
false
false
950
-1
// Copyright lowRISC contributors (OpenTitan project). // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // SHA-256/384/512 configurable mode engine (64-bit word datapath) `include "prim_assert.sv" module prim_sha2 import prim_sha2_pkg::*; #( param...
opentitan/hw/ip/prim/rtl/prim_sha2.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.134
false
false
18,731
-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_alert_handler_escalation_vseq extends chip_sw_base_vseq; `uvm_object_utils(chip_sw_alert_handler_escalation_vseq) `uvm_object_new ...
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_sw_alert_handler_escalation_vseq.sv
arch_code
opentitan
opentitan/hw/top_earlgrey
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.25
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 module aes_tb import tlul_pkg::*; import aes_pkg::*; import aes_reg_pkg::*; import aes_tb_pkg::*; #( localparam bit AES192Enable ...
opentitan/hw/ip/aes/pre_dv/aes_tb/rtl/aes_tb.sv
arch_code
opentitan
opentitan/hw/ip
Apache-2.0
Apache-2.0
41049e9deb40e0602cd5272c40398be380ae2637
other
false
0.108
false
false
12,041
-1