Skip to content

make dib_inorder_width and dib_hit_buffer_size configurable#696

Merged
ngober merged 1 commit intoChampSim:developfrom
Easyoakland:add_dib_configs
Mar 16, 2026
Merged

make dib_inorder_width and dib_hit_buffer_size configurable#696
ngober merged 1 commit intoChampSim:developfrom
Easyoakland:add_dib_configs

Conversation

@Easyoakland
Copy link
Copy Markdown

Make dib_inorder_width and dib_hit_buffer_size configurable with the config.json.

I was trying to configure champsim to get an unrealistically high IPC just to confirm that there aren't missing pieces in my understanding of how everything works and found I couldn't make IPC above 5. I believe the culprit is these configuration values being hard-coded.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 68.933%. remained the same
when pulling ee0d3ae on Easyoakland:add_dib_configs
into 3be59b0 on ChampSim:develop.

Comment on lines +67 to +69
'window_size': ' .dib_window({DIB[window_size]})',
'inorder_width': ' .dib_inorder_width(champsim::bandwidth::maximum_type{{{DIB[inorder_width]}}})',
'hit_buffer_size': ' .dib_hit_buffer_size({DIB[inorder_width]})',
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a couple tests to test/python/instantiation_file.py? At the very least, I'd like to cause a merge conflict with #564 and make sure Maccoy doesn't accidentally regress this.

Copy link
Copy Markdown
Contributor

@maccoymerrell maccoymerrell Mar 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this will need added to the legacy environment module (explicit should have already fixed this by design).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would you prefer here? Would it be better to hold off on this until after #564? It probably has at least a couple more weeks left on it. Or would it be better to put this in real quick and make sure that the legacy environment handles it?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can go ahead and merge this at will, I will add it into the legacy environment when needed.

@ngober ngober merged commit 89552ed into ChampSim:develop Mar 16, 2026
37 of 46 checks passed
github-actions Bot added a commit that referenced this pull request Mar 16, 2026
Author: Easyoakland
Committer: GitHub

make dib_inorder_width and dib_hit_buffer_size configurable (#696)

Make `dib_inorder_width` and `dib_hit_buffer_size` configurable with the
config.json.

I was trying to configure champsim to get an unrealistically high IPC
just to confirm that there aren't missing pieces in my understanding of
how everything works and found I couldn't make IPC above 5. I believe
the culprit is these configuration values being hard-coded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants