Files
retroSoC/rtl/mini/top/rib_defs.svh
T
maksyuki a87236ae33 feat: refactor RIB interfaces and update test cases
- Renamed  and  to  and  respectively across various test files and modules.
- Updated response codes in tests to use new definitions ().
- Added new testbench  to validate RIB to RAM interactions.
- Created  for testing RIBP topology routing.
- Adjusted memory map tests to reflect new interface names.
- Ensured all references to old interface names were replaced in Python test scripts.
- Verified that all test cases pass with the new interface structure.
2026-08-04 16:12:22 +08:00

26 lines
872 B
Systemverilog

// Copyright (c) 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.
`ifndef RETROSOC_RIB_DEFS_SVH
`define RETROSOC_RIB_DEFS_SVH
`define RIB_RESP_OK 3'd0
`define RIB_RESP_DECERR 3'd1
`define RIB_RESP_PROTERR 3'd2
`define RIB_RESP_SLVERR 3'd3
`define RIB_RESP_TIMEOUT 3'd4
`define RIB_RESP_RESERVED 3'd5
`define RIB_RESP_BURSTERR 3'd6
`define RIB_LEN_INCR1 2'd0
`define RIB_LEN_INCR4 2'd3
`endif