feat(c-prime-rtl): LOAD-PHYS-CONST 0xDE hardware hook · L-DPC24 Lane C'#12
Open
gHashTag wants to merge 2 commits into
Open
feat(c-prime-rtl): LOAD-PHYS-CONST 0xDE hardware hook · L-DPC24 Lane C'#12gHashTag wants to merge 2 commits into
gHashTag wants to merge 2 commits into
Conversation
added 2 commits
May 15, 2026 16:06
…L-DPC24 Lane C] Module: holo_load_phys_const - ROM_DEPTH=75, DATA_W=64 - Inputs: clk, rst_n, valid_i, imm7_i[6:0] - Outputs: valid_o, data_o[63:0], oob_o - 1-cycle registered ROM read - oob_o=1 when imm7 >= 75 (ISA UB region) - default_nettype none, no star operators - Cells 0-3: phi, gamma, C, G placeholders (DEAD_0000_C0DE_000x sentinels) MUST be replaced after Lane E P3 frozen-hash-validated constants established - Cells 4-74: zero placeholder Anchor: phi^2 + phi^-2 = 3 Ref: gHashTag/trinity-fpga#99
Testbench: holo_load_phys_const_tb - Test 1: imm7=0 -> data_o=phi placeholder (non-zero), valid_o=1, oob_o=0 - Test 2: imm7=74 -> valid_o=1, oob_o=0 (last valid cell) - Test 3: imm7=75 -> oob_o=1, data_o=0 (first UB cell) NOTE: constants are PLACEHOLDERS until Lane E P3 frozen-hash established. Anchor: phi^2 + phi^-2 = 3 Ref: gHashTag/trinity-fpga#99
This was referenced May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LOAD-PHYS-CONST 0xDE — RTL Hook · L-DPC24 Lane C'
Ref: gHashTag/trinity-fpga#99
Paired ISA spec PR: gHashTag/t27#632
What this PR does
Adds the SystemVerilog RTL hook for the
LDPC(LOAD-PHYS-CONST) instruction, opcode0xDE. This is a 1-cycle registered ROM-read module implementing the 75-cell Sacred ROM.Files added
rtl/holo_load_phys_const.sv— RTL implementationrtl/holo_load_phys_const_tb.sv— Testbench (3 test cases)Module interface
default_nettype none, no*operatorsoob_o=1whenimm7 >= 75(ISA UB region)Sacred ROM (PLACEHOLDER — R18 LAYER-FROZEN)
64hDEAD_0000_C0DE_000164hDEAD_0000_C0DE_000264hDEAD_0000_C0DE_000364hDEAD_0000_C0DE_000464'h0Testbench coverage
imm7=0valid_o=1, oob_o=0, data_o≠0imm7=74valid_o=1, oob_o=0imm7=75oob_o=1, data_o=0R5-HONEST verdict
RTL structurally clean (interface correct, 1-cycle path, OOB guard present).
Simulation status: Unknown — CI verifies. ROM constants are placeholders.
Anchor
φ²+φ⁻²=3