Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configs: nvm sweep fix #1114

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions configs/nvm/sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

# Use a single-channel DDR3-1600 x64 (8x8 topology) by default
parser.add_argument(
"--nvm-type",
"--mem-type",
default="NVM_2400_1x64",
choices=ObjectList.mem_list.get_names(),
help="type of memory to use",
Expand Down Expand Up @@ -212,7 +212,7 @@ def trace():
nbr_banks,
bank,
addr_map,
args.dram_ranks,
args.nvm_ranks,
)
yield system.tgen.createExit(0)

Expand Down
2 changes: 1 addition & 1 deletion configs/nvm/sweep_hybrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@

# the following assumes that we are using the native controller
# with NVM and DRAM interfaces, check to be sure
if not isinstance(system.mem_ctrls[0], m5.objects.HeteroMemCtrl):
if not isinstance(system.mem_ctrls[0], m5.objects.MemCtrl):
fatal("This script assumes the controller is a HeteroMemCtrl subclass")
if not isinstance(system.mem_ctrls[0].dram, m5.objects.DRAMInterface):
fatal("This script assumes the first memory is a DRAMInterface subclass")
Expand Down