Commit Graph
33 Commits
Author SHA1 Message Date
maksyuki 6be73fa6b7 feat: refactor RIB to APB bridge and update related components
- Changed the interface from ribp to rib in soc_topology.json and related files.
- Updated formal.mk to reflect the new rib2apb naming convention.
- Implemented rib2apb module to handle RIB to APB communication.
- Modified bus.sv to integrate the new rib2apb module and adjust signal assignments accordingly.
- Updated testbench files to use the new rib interface and validate the RIB to APB functionality.
- Created rib2apb_tb for testing the direct RIB to APB bridge.
- Adjusted script tools and test scripts to accommodate the new naming and structure.
2026-08-05 16:03:41 +08:00
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 d51d58dd25 feat: add formal properties for sysctrl and update related files
- Introduced  to define formal properties for the sysctrl module.
- Updated  to include new formal properties and source files.
- Renamed  to  in the bus module and created a new  file.
- Implemented a testbench for  in .
- Removed the obsolete  test file.
- Updated test scripts to reference the new  instead of the old RAM module.
- Adjusted various test files to ensure compatibility with the new structure and naming conventions.
2026-08-04 12:50:39 +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 7a604ec86b feat: refactor NMI interface and remove unused variables
- Removed CORE and IP variables from common.tcl and synth.tcl scripts.
- Updated yosys.mk to exclude CORE and IP from environment variables.
- Modified bus_fault_tb to enhance NMI interface with management and user NMI signals.
- Added user access denial handling in bus_fault_tb.
- Updated pll_ctrl_tb and sysctrl_fault_tb to reflect changes in NMI interface.
- Adjusted test_gpio_user_mux.py to remove IP_MDD definition.
- Enhanced memory map tests to include user extensions and ensure proper generation.
- Updated test_script_tools.py to reflect changes in core management and user extensions.
- Refined topology tests to ensure user APB target is always added.
- Adjusted tech cell configuration tests to use simplified profile paths.
- Improved user extensions tests for scalar bindings and slot validation.
2026-07-26 09:03:33 +08:00
maksyuki 82e5c605a8 feat: refactor memory map definitions and enhance fault handling in Mini SoC
- Updated core_wrapper and mgmt_core_wrapper to use new SOC reset and IRQ addresses.
- Removed obsolete mmap_define.svh file and integrated memory map generation into the build process.
- Enhanced ip_nmi_wrapper to handle fault signals and updated NMI interface assignments.
- Added bus fault and sysctrl fault testbenches to validate fault handling mechanisms.
- Improved memory map generation script and added tests for memory map validation and fault responder behavior.
2026-07-20 12:01:48 +08:00
maksyuki 3652385ea1 feat: add register slice to bus modules to optimize timing 2026-03-24 22:56:23 +08:00
maksyuki 19f7131946 feat: use gpio to pinmux all application ip 2026-03-14 15:08:16 +08:00
maksyuki 8a87fe0f2a style: update license header date 2026-03-07 15:03:21 +08:00
maksyuki a965becfe8 fix: fix the wrong sdram addr range 2026-01-27 11:17:50 +08:00
maksyuki 03988ffbc0 feat: integrate sdram module into SoC env 2026-01-24 11:03:29 +08:00
maksyuki c1ab6fa6c2 feat: remove unused spi flash IP, model and instance 2026-01-13 21:17:32 +08:00
maksyuki e9980bdb8f chore: use global macros to replace bus bridge 2025-11-01 13:15:41 +08:00
maksyuki 5285918800 feat: expand tf card range to 1GB 2025-10-31 21:58:20 +08:00
maksyuki aa0cf8357a fix: fix the valid chnl value for dma channel 2025-10-09 22:43:11 +08:00
maksyuki 725142ab9e feat: add new regslice modue for nmi bus 2025-10-09 21:33:13 +08:00
maksyuki b158c3b428 feat: add start and status reg func impl 2025-10-05 17:00:06 +08:00
maksyuki cfaee8bb0b feat: add dma module design and wire connection 2025-10-04 16:34:42 +08:00
maksyuki baa62decf2 fix: fix wrong addr assignment in bus module 2025-09-28 17:14:51 +08:00
maksyuki 165375f3b2 feat: use apb if to rewrite the mem2apb bridge 2025-09-16 10:51:16 +08:00
maksyuki 59904df47d feat: add interface support for the ram module 2025-09-16 09:05:56 +08:00
maksyuki 5ebd4167cd feat: rewrite all natv ip and bus modules 2025-09-14 11:27:03 +08:00
maksyuki 3fb9d07f20 feat: change apb if to nmi interface impl 2025-09-13 10:59:06 +08:00
maksyuki 0f96f753be feat: change natv if to nmi interface impl 2025-09-13 10:46:43 +08:00
maksyuki 3de05acd4b feat: replace core mem if with interface impl 2025-09-13 10:29:55 +08:00
maksyuki f3f69895b0 style: chg the name of mem if name from 'mmap' to 'apb' 2025-09-12 20:44:50 +08:00
maksyuki 98360bdcce feat: add aud clk and rst signal connect 2025-08-26 13:09:15 +08:00
maksyuki 7ac440b163 feat: add bus decoder support for the spisd 2025-08-23 16:05:38 +08:00
maksyuki 6f5a9b4867 feat: add sram_if and sram_macro define 2025-08-09 17:26:47 +08:00
maksyuki 6df30dc3b9 feat: mv SoC specific components into mini repo 2025-06-21 16:06:05 +08:00