12 Commits
Author SHA1 Message Date
maksyuki a542f1ee57 feat: enhance validation and error handling in RTL modules
- Added geometry validation for BIT_WIDTH, WORD_DEPTH, and ADDR_WIDTH in tech_ram, tech_ram_bm, tech_regfile, and tech_regfile_bm modules to ensure proper configurations.
- Implemented address range checks in tech_ram, tech_ram_bm, tech_regfile, and tech_regfile_bm modules to prevent out-of-bounds access.
- Improved error messages for unsupported access types in regfield module, including validation for DATA_WIDTH.
- Added DATA_WIDTH validation in spill_register module to ensure positive values.
- Refactored APB4AXI4Master and APB4Master classes to streamline constructor definitions and improve readability.
- Enhanced AXI4Master class with additional burst address calculations and legality checks for read/write operations.
- Updated read/write tasks in AXI4Master to include error handling for response mismatches and illegal burst conditions.
- Simplified the filtering of reference data in rd_check task of AXI4Master to improve clarity and maintainability.
- Cleaned up the TestBase class constructor for consistency and clarity.
2026-08-03 20:10:19 +08:00
maksyuki d4de33c291 feat: refactor RTL modules and utilities for improved consistency and error handling
- Updated license headers to use SPDX format across all RTL files.
- Enhanced error checking in various modules (e.g., tech_ram, tech_regfile, bin2gray, gray2bin, lfsr) to validate parameters and prevent invalid configurations.
- Refactored FIFO implementation to simplify pointer management and ensure proper handling of push/pop operations.
- Introduced new scripts for checking formatting and license headers, ensuring compliance with project standards.
- Added style guidelines to maintain consistent coding practices across the RTL codebase.
- Updated testbench files to include license headers and maintain compatibility with legacy structures.
2026-08-03 17:56:27 +08:00
maksyuki 0a5c98847c style: update license header date 2026-03-07 14:53:32 +08:00
maksyuki cfbd59b004 style: remove unused #delay statement 2026-02-26 15:18:05 +08:00
maksyuki cc368e0352 chore: restructure the all common modules 2025-04-20 12:44:26 +08:00
maksyuki a1c120a17d chore: fix setting to config sv header 2025-03-09 16:47:52 +08:00
maksyuki 804a1bbb34 chore: change copyright info on the file header 2025-03-09 15:44:53 +08:00
maksyuki 1bf2d680e6 chore: modify license holder to author name 2024-12-14 16:28:14 +08:00
maksyuki ac5ccade08 feat: replace reg delay value to the marcro define 2024-08-16 12:19:31 +08:00
maksyuki 7ec4ae2977 chore: add include macro and modify reset val 2023-11-25 10:54:21 +08:00
maksyuki 5884fbd4cf fix: fix error parameter define 2023-10-18 11:19:17 +08:00
maksyuki 27ba187e6a feat: add 2phase cdc module 2023-10-18 10:49:17 +08:00