| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | test(trap_ctrl): add store page fault unit test case | Richard Qin | 2026-03-31 | 1 | -2/+10 |
| | | | | | | | | | | Added a specific test scenario for Store Page Fault in tb/unit/tb_trap_ctrl.cc. - Defined EXC_STORE_PAGE_FAULT (15) constant. - Implemented a test case that asserts trap_store_page_fault and verifies mcause and mtval. - Improved clarity by renaming existing page fault test labels to LoadPageFault. Co-authored-by: Richard-Qin-001 <69390919+Richard-Qin-001@users.noreply.github.com> | ||||
| * | feat: Complete CSR/privileged/exception interrupt path and fill in strict ↵ | Richard Qin | 2026-04-01 | 8 | -66/+859 |
| | | | | | | | | | | | | | | | | | | acceptance tests - Refactor trap/CSR data path in the Core, unified with trap_ctrl interface to drive CSR update and return process - Improve critical paths for exception/interrupt handling: ecall, illegal, load fault, external interrupt, mret/sret return - Adjust pipeline stage registers with flush/stall coordination, fix residual control signal issues in trap scenarios - Enhance decode and related pipeline module behavior consistency, fill in missing control signal propagation across registers - Expand core integration testing, add trap/interrupt scenarios and CLI dispatch that can be executed per case - Extend CSR unit test coverage: read/write semantics, privilege switching, delegation and nested returns, illegal access protection, etc. - Register new core scenario cases in CTest to form a regression-capable P2 strict acceptance suite Verification: - Build passed - Full CTest passed (22/22) | ||||
| * | Trap Control unit and tests | Richard Qin | 2026-03-19 | 2 | -0/+202 |
| | | |||||
| * | CSR unit and tests | Richard Qin | 2026-03-19 | 2 | -9/+346 |
| | | |||||
| * | Add fibonacci tests and fix bugs | Richard Qin | 2026-03-18 | 2 | -6/+68 |
| | | |||||
| * | fixed vm_trace bug | Richard Qin | 2026-03-18 | 1 | -6/+6 |
| | | |||||
| * | CPU Core: Assembles a 5-stage pipeline, 4 inter-stage registers, and Hazard Unit | Richard Qin | 2026-03-18 | 4 | -8/+696 |
| | | |||||
| * | Hazard unit and tests | Richard Qin | 2026-03-18 | 2 | -0/+294 |
| | | |||||
| * | test(core): fix WB stage tests after naming and logic refactor | Richard Qin | 2026-03-17 | 1 | -5/+8 |
| | | | | | | | | | | - Renamed `wb_reg_write_data` to `wb_rd_wdata` in all assertions to match the updated module ports. - Renamed `wb_reg_write_addr` to `wb_rd_addr` in all assertions. - Initialized the new `mem_wb_pc_plus_4` input in the testbench setup to correctly test the JAL/JALR datapath. - Added assertions to explicitly test that `wb_reg_write_en` and `csr_req` are gated when an exception occurs. Co-authored-by: Richard-Qin-001 <69390919+Richard-Qin-001@users.noreply.github.com> | ||||
| * | Write Back stage unit and tests | Richard Qin | 2026-03-18 | 2 | -0/+124 |
| | | |||||
| * | docs: Finalized Richard CPU RTL architectural and naming convention audit ↵ | Richard Qin | 2026-03-17 | 6 | -3/+595 |
| | | | | | | | | | report. No source code changes were made; this branch serves as the finalized state for the provided audit. Co-authored-by: Richard-Qin-001 <69390919+Richard-Qin-001@users.noreply.github.com> | ||||
| * | Execute Stage unit and tests | Richard Qin | 2026-03-17 | 2 | -0/+229 |
| | | |||||
| * | ID/EX Pipeline Register and tests | Richard Qin | 2026-03-17 | 2 | -0/+180 |
| | | |||||
| * | IF/ID RegFile and tests | Richard Qin | 2026-03-17 | 2 | -0/+136 |
| | | |||||
| * | Instruction Decoder Stage unit and tests | Richard Qin | 2026-03-17 | 2 | -0/+203 |
| | | |||||
| * | Instruction fetching stage unit and test | Richard Qin | 2026-03-16 | 2 | -0/+120 |
| | | |||||
| * | branch unit and test | Richard Qin | 2026-03-16 | 2 | -0/+109 |
| | | |||||
| * | format output | Richard Qin | 2026-03-16 | 3 | -13/+20 |
| | | |||||
| * | expand tests and format output | Richard Qin | 2026-03-16 | 3 | -9/+124 |
| | | |||||
| * | fix naming problems | Richard Qin | 2026-03-16 | 3 | -37/+37 |
| | | |||||
| * | Decoder unit and test | Richard Qin | 2026-03-16 | 2 | -9/+307 |
| | | |||||
| * | Register file unit and test | Richard Qin | 2026-03-16 | 2 | -13/+112 |
| | | |||||
| * | License | Richard Qin | 2026-03-15 | 1 | -0/+17 |
| | | |||||
| * | Add and test alu unit | Richard Qin | 2026-03-15 | 2 | -8/+75 |
| | | |||||
| * | initial commit: project architecture | Richard Qin | 2026-03-15 | 7 | -0/+135 |
