Repository navigation
Conversation
extern/ramulator2 moves to SAFARI's Ramulator 2.1 (main c6c7a5d) with four commits on top: an External request without an address vector goes to channel 0, the two HBM refresh hold-backs, and ReqBuffer's count. The Ramulator2 wrapper moves into TOGSim (include/Ramulator2.h, src/Ramulator2.cc), and TOGSim builds the library without its Python bindings. gen_configs.py writes the three shipped configs with the 2.1 DSL: HBM12 for TPUv3 and TPUv4, HBM34 for TPUv6e. Each TPU keeps its rate, primary timings, rows of 1 KB and refresh times as named presets; Ramulator resolves the rest. tREFIpb stays tREFI over the channel's banks, as PerBank refreshes them one at a time. The HBM2 column count now counts the burst (128, rows 1<<14, same capacity), and the peak bandwidth reads channel_width as the whole channel's width. The generators of configs TOGSim does not ship are gone. The goldens of tests/cycles, held, kernels and spad_capacity, the examples' expected.txt and the documents that quote them move with the HBM34 controller, all on tpuv6e: the goldens by -1 to +6 cycles, the gemm example by +39.
YWHyuk
force-pushed
the
ramulator-v2.1
branch
from
October 17, 2026 10:16
f21a957 to
d1124b4
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.
What changes
mainc6c7a5d). Thetogsim-v2.1branch of PSAL-POSTECH/ramulator2 adds four commits on top:include/Ramulator2.h,src/Ramulator2.cc). TOGSim builds the library withRAMULATOR_PYTHON_BINDINGS OFF. The fork no longer carries TOGSim-only build changes, so it builds standalone like upstream.gen_configs.pywrites the three shipped configs with the 2.1 DSL.HBM2_TPU,HBM2_1880Mbps,HBM3_TPUv6e).channel_widthas the whole channel's width. The values are unchanged (481.28 / 614.40 / 1638.40 GB/s).Results
kernel-order) and all 217 totals are identical.configs/tpuv4goes from 1201 to 1339.examples/*/expected.txt, and the documents that quote them.channel_densitymismatch is unchanged from before.Test
python3 tests/run.py: ALL PASS (270 cases). Ramulator2 fork pytest: 330 passed, 32 skipped.