Files
retroSoC/rtl/ip/rib/peripheral/pll_ctrl_if.sv
T
maksyuki c5dfa96c6f feat: refactor NMI to RIB Interface and Update Related Tests
- Replaced instances of nmi_if with rib_if in sysctrl_fault_tb.sv, test_dma.py, test_gpio_user_mux.py, test_memory_map.py, test_performance_log.py, test_script_tools.py, test_sdram.py, test_soc_topology.py, test_sta_constraints.py, and test_user_extensions.py.
- Updated test cases to reflect changes from NMI to RIB, ensuring all references and assertions are consistent with the new interface.
- Adjusted memory map and performance log tests to validate RIB-specific configurations and behaviors.
- Ensured that all relevant file paths and definitions are updated to maintain functionality and correctness across the test suite.
2026-08-02 15:57:08 +08:00

53 lines
1.5 KiB
Systemverilog

// Copyright (c) 2023-2026 Yuchi Miao <miaoyuchi@ict.ac.cn>
// retroSoC is licensed under Mulan PSL v2.
// You can use this software according to the terms and conditions of the Mulan PSL v2.
// You may obtain a copy of Mulan PSL v2 at:
// http://license.coscl.org.cn/MulanPSL2
// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
// See the Mulan PSL v2 for more details.
interface pll_ctrl_if ();
logic [2:0] req_sel_o;
logic req_valid_o;
logic req_ready_i;
logic [2:0] rsp_active_sel_i;
logic rsp_active_valid_i;
logic rsp_safe_clk_i;
logic rsp_pll_lock_i;
logic [1:0] rsp_error_i;
logic rsp_valid_i;
logic rsp_ready_o;
logic capable_i;
modport sysctrl(
output req_sel_o,
output req_valid_o,
output rsp_ready_o,
input req_ready_i,
input rsp_active_sel_i,
input rsp_active_valid_i,
input rsp_safe_clk_i,
input rsp_pll_lock_i,
input rsp_error_i,
input rsp_valid_i,
input capable_i
);
modport rcu(
input req_sel_o,
input req_valid_o,
input rsp_ready_o,
output req_ready_i,
output rsp_active_sel_i,
output rsp_active_valid_i,
output rsp_safe_clk_i,
output rsp_pll_lock_i,
output rsp_error_i,
output rsp_valid_i,
output capable_i
);
endinterface