Commit Graph
68 Commits
Author SHA1 Message Date
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
maksyuki 1b4b53c650 feat: refactor RIB to RIBP: Update tests and scripts to reflect RIBP interface changes
- Updated test cases in , , , , , , , and  to replace references from RIB to RIBP.
- Modified file names and paths in tests to align with the new RIBP naming conventions.
- Ensured that all assertions and checks in the tests are consistent with the updated RIBP interfaces and functionality.
- Added a new test for migrating user core RIBP interfaces in .
2026-08-04 10:56:36 +08:00
maksyuki bef5881149 feat: enhance DMA and RIB functionality with burst support and performance tests
- Updated dma_error_tb to implement burst transfer handling and performance measurement for INCR4 transfers.
- Introduced rib_burst_bus_tb to validate RIB burst arbitration and protocol compliance.
- Added soc_rib_burst_ram_tb to test SRAM behavior with burst commands.
- Created spill_register_tb to verify the functionality of the spill register under various conditions.
- Modified test_dma.py to reflect changes in DMA error handling and performance reporting.
- Updated test_memory_map.py to include new RIB burst interfaces and spill register utilities.
- Enhanced test_rib_burst.py with directed tests for RIB burst building blocks and spill register behavior.
- Adjusted test_soc_topology.py to ensure correct instantiation counts for RIB interfaces.
- Improved test_user_extensions.py to validate the generation of isolated scalar bindings for burst interfaces.
2026-08-03 22:23:37 +08:00
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
maksyuki 0a6055134e feat: refactor NMI interface and enhance performance logging
- Updated NMI interface references from  to  in multiple files for consistency.
- Added a new script  to convert UART performance records into structured JSON format.
- Enhanced the README documentation to include details about the new performance log parser.
- Implemented tests for the new performance log parser to ensure correct functionality.
- Added new test cases for DMA error handling and SDRAM data integrity to improve coverage.
- Updated existing test cases to accommodate changes in the NMI interface and added performance metrics.
- Refactored bus fault testbench to include fault code checks and improved error handling.
- Adjusted memory map generation and pin mapping tests to reflect recent changes in RTL structure.
2026-08-02 10:21:09 +08:00
maksyuki fc898bc4ab feat: add PLL controller and related testbench functionality
- Removed legacy clock definitions and added a dynamic PLL timing template in retrosoc_pll.sdc.
- Introduced a new SystemVerilog testbench (pll_ctrl_tb.sv) for the PLL controller, including clock generation, register read/write tasks, and validation of PLL configuration and timing.
- Updated sysctrl_fault_tb.sv to include PLL controller interface and initialization.
- Enhanced memory map tests to verify PLL configuration and status offsets.
- Added tests for PLL controller dynamic reconfiguration and fallback to safe clock.
2026-07-20 22:12:17 +08:00
maksyuki fb3621e6b8 feat: add QSPI Flash and Flash Read Binder modules
- Introduced  for handling QSPI flash memory operations, including command and address handling.
- Added  to interface with the C++ flash memory implementation, allowing for read operations via DPI-C.
- Created  for the flash memory implementation, supporting initialization, reading, and memory copying.
- Updated  to integrate the new QSPI Flash module and connect it with the existing system.
- Refactored file paths in various filelists and scripts to accommodate the new directory structure under .
- Enhanced the Python scripts for generating memory maps and preparing the environment for the new structure.
- Adjusted test scripts to reflect changes in the directory structure and ensure compatibility with the new modules.
2026-07-20 16:50:57 +08:00
maksyuki 6e51304e14 feat: modify fifo impl to solve timing issues 2026-03-24 10:19:39 +08:00
maksyuki 68c7ff8401 chore: add generated filelist to support different target comp in different folder 2026-03-18 16:46:25 +08:00
maksyuki 650559df4d chore: split ip filelist into smaller one and add condi inc for debug 2026-03-18 11:01:06 +08:00
maksyuki 4efb9c6c65 style: chg the name of spi into xpi 2026-03-14 15:30:58 +08:00
maksyuki 4823363555 feat: add void opisdram and sdio module 2026-03-13 20:53:45 +08:00
maksyuki 941cbad7c1 feat: add reg and clkgen module of i2s ip 2026-01-31 10:05:53 +08:00
maksyuki 68329735e3 feat: add clk div func and reg for the sdram ip 2026-01-29 17:26:54 +08:00
maksyuki 01408139c8 feat: split sdram main func into core module 2026-01-29 13:01:57 +08:00
maksyuki e4a8a1ffa1 feat: add init dvp ip design 2026-01-27 16:38:25 +08:00
maksyuki 03988ffbc0 feat: integrate sdram module into SoC env 2026-01-24 11:03:29 +08:00
maksyuki 8ef5799f55 feat: add init new version impl of qspi module 2026-01-21 11:42:15 +08:00
maksyuki f7debcc7a7 chore: remove unused spifs include path 2026-01-15 00:02:50 +08:00
maksyuki c1ab6fa6c2 feat: remove unused spi flash IP, model and instance 2026-01-13 21:17:32 +08:00
maksyuki 11c75c7a79 chore: change the ip name for nmi uart module 2026-01-10 23:51:50 +08:00
maksyuki 539b0b2653 style: change style name for nmi timer 2026-01-10 23:45:45 +08:00
maksyuki bf3fbad719 feat: add full func for gpio and remove unused i2c1 and qspi1 sdk 2026-01-10 23:32:23 +08:00
maksyuki 8905c28561 feat: remove 3rd-party baesd ip implement 2026-01-10 13:03:31 +08:00
maksyuki 611bee6357 feat: add clint module to the SoC 2025-12-26 16:34:06 +08:00
maksyuki ddd54187a0 chore: mv common rtl flist config into home folder of mini project 2025-12-21 16:44:40 +08:00
maksyuki 38480d109d feat: add ahbl2nmi bridge module 2025-12-11 14:31:32 +08:00
maksyuki 1ab853f262 style: rm module name from 'mem2apb' to 'nmi2apb' 2025-11-10 10:50:25 +08:00
maksyuki 7be7f9b771 chore: rm unsed qspi send and recv modules 2025-10-26 20:12:49 +08:00
maksyuki c98e886672 feat: add fsm and clkgen impl for qspi module 2025-10-17 11:12:56 +08:00
maksyuki f5cb32e621 feat: add new nmi if qspi and module wire 2025-10-15 17:32:55 +08:00
maksyuki 510107d732 chore: add and modify new ip inc/src path 2025-10-10 19:44:47 +08:00
maksyuki e669b23cbe chore: add new IPs to comp script 2025-10-10 15:09:23 +08:00
maksyuki 2d91c02c4b feat: use no-sys signal version apb4 if to replace 2025-10-10 10:51:34 +08:00
maksyuki 725142ab9e feat: add new regslice modue for nmi bus 2025-10-09 21:33:13 +08:00
maksyuki ec0a29235b feat: add lower and upper bound for i2s tx fifo 2025-10-05 23:41:18 +08:00
maksyuki cfaee8bb0b feat: add dma module design and wire connection 2025-10-04 16:34:42 +08:00
maksyuki 4f06f5d481 feat: add bypass logic bus for spisd cache and reg modules 2025-09-29 20:20:23 +08:00
maksyuki 5060bd705f feat: add init sysctrl module design 2025-09-26 22:08:27 +08:00
maksyuki 412e6e9bb7 feat: add wire to connect the onewire pins 2025-09-20 17:33:29 +08:00
maksyuki c7cdc38afe feat: add the i2s send and recv test modules 2025-09-19 10:01:15 +08:00
maksyuki b34278f00e feat: add i2s module and wires 2025-09-18 16:16:57 +08:00
maksyuki 59904df47d feat: add interface support for the ram module 2025-09-16 09:05:56 +08:00
maksyuki 867643d1b3 style: use if to simplify the sort of modules impl 2025-09-15 16:07:55 +08:00
maksyuki 3de05acd4b feat: replace core mem if with interface impl 2025-09-13 10:29:55 +08:00
maksyuki e2542ddbee chore: change default ip's name 2025-09-12 20:33:19 +08:00
maksyuki 01fb3c6530 feat: add init NMI if i2c module 2025-09-12 14:20:43 +08:00
maksyuki fc2992f2a4 chore: add spi data to filelist 2025-09-05 15:46:34 +08:00
maksyuki fb14fef2ae feat: rewrite the spisd modules 2025-09-04 15:26:52 +08:00
maksyuki 7625fc9091 feat: add async nmi bridge impl 2025-08-26 12:31:37 +08:00