Repository navigation
Tagctrl update - #810
Open
joncapltd wants to merge 5 commits into
Open
Tagctrl update#810joncapltd wants to merge 5 commits into
joncapltd wants to merge 5 commits into
Conversation
raylau1
reviewed
Nov 23, 2026
raylau1
left a comment
Contributor
There was a problem hiding this comment.
Initial feedback on the vendoring. Also there seems to be some non-critical warnings preventing verilator build, so please add them to the waivers.
raylau1
reviewed
Nov 24, 2026
raylau1
left a comment
Contributor
There was a problem hiding this comment.
Some feedback from Xcelium DV.
joncapltd
force-pushed
the
tagctrl-update
branch
from
November 25, 2026 17:36
314ba3e to
39f0f22
Compare
raylau1
reviewed
Nov 26, 2026
raylau1
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the fixes. Here are a few more comments, also please resolve the conflict in top_chip_system.core.
| @@ -10,25 +10,37 @@ filesets: | |||
| files_rtl: | |||
| depend: | |||
| - cosmic::pulp_axi_llc | |||
Contributor
There was a problem hiding this comment.
I think we don't need pulp_axi_llc anymore.
Follow the main branch of Capabilities-Limited/axi_cheri_tagcontroller and lock it at 30d9d698. Exclude the upstream CI and Nix files, and drop the exclusion for src/axi_llc, which upstream no longer has. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run the vendor script to import axi_cheri_tagcontroller at the locked main revision 30d9d698. Upstream has replaced the axi_llc-based tag cache with a two-level tag lookup engine built on HPDCache, and removed the register-bus wrapper. Drop all the local patches: - 0001 (compilation fixes), 0003 (tag store BRAM utilisation) and 0004 (output known assertions) only touched removed files (axi_llc_tag_store.sv, axi_tagctrl_reg_wrap.sv) or rewritten code. - 0002 (W-channel and bit-enable fixes) is superseded by the pipelined axi_tagctrl_w.sv: memory B responses are buffered and the B stage is driven by the last W beat accepted rather than the last beat sent to memory, so W beats no longer need gating on the FSM state, and the tag bit enables are cleared on every tag flush, which includes the last beat of each burst. The SoC still instantiates the removed wrapper; it is updated in a following commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Instantiate axi_tagctrl_top in place of the removed axi_tagctrl_reg_wrap. The configuration is fixed by parameters, as the old register-bus port was tied off: tags cover DRAMBase up to TagCacheMemBase, the tag table lives in the carve-out from TagCacheMemBase to the end of DRAM, the root table is zeroed out of reset (init_start) and the configuration is locked (init_locked), with the now-AXI configuration port tied off. Check at elaboration that the leaf and root tables fit in the carve-out. Supporting changes: - Add vendor patch 0001 to use the parameter names and explicit widths of the vendored pulp_axi axi_cut and axi_isolate. - Add vendor patch 0002, porting the output known assertions dropped with the register-bus wrapper to axi_tagctrl_top, now also covering the valid signals and the AXI configuration port. - Add vendor patch 0003, replacing the new tag controller's stream_fifo instances with prim_fifo_sync, as is done for pulp_axi, with OutputZeroIfEmpty off to match stream_fifo. - Update the tag controller core file list and dependencies (HPDCache, prim assert and prim fifo; register_interface is no longer needed) and drop the register_interface includes from top_chip_system. - Replace the Verilator waivers for the old tag controller sources with waivers for the new ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ray Lau <ray.lau@lowrisc.org>
Co-authored-by: Ray Lau <ray.lau@lowrisc.org>
marnovandermaas
force-pushed
the
tagctrl-update
branch
from
November 27, 2026 11:09
87a3b35 to
c0bdb07
Compare
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.
Update vendoring of Tag Controller to hierarchical design with both root and leaf caches.
This design also allows pipelining, though the SoC likely limits this for now. Nevertheless, including this functionality should improve area estimation for the final design.