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

A Error #1

Open
PeterLiudong opened this issue Apr 2, 2021 · 1 comment
Open

A Error #1

PeterLiudong opened this issue Apr 2, 2021 · 1 comment

Comments

@PeterLiudong
Copy link

When using ur repo, a bug appears ----

build/opt/dramsim3_mem_ctrl.cpp: In constructor ‘DRAMsim3Memory::DRAMsim3Memory(std::string&, std::string&, int, uint32_t, const g_string&)’:
build/opt/dramsim3_mem_ctrl.cpp:82:29: error: ‘class dramsim3::MemorySystem’ has no member named ‘GetChannelMask’
     channelMask = dramCore->GetChannelMask();
                             ^~~~~~~~~~~~~~
build/opt/dramsim3_mem_ctrl.cpp:83:26: error: ‘class dramsim3::MemorySystem’ has no member named ‘GetRankMask’
     rankMask = dramCore->GetRankMask();
                          ^~~~~~~~~~~
build/opt/dramsim3_mem_ctrl.cpp:84:26: error: ‘class dramsim3::MemorySystem’ has no member named ‘GetBankMask’
     bankMask = dramCore->GetBankMask();
                          ^~~~~~~~~~~
build/opt/dramsim3_mem_ctrl.cpp:85:25: error: ‘class dramsim3::MemorySystem’ has no member named ‘GetRowMask’
     rowMask = dramCore->GetRowMask();
                         ^~~~~~~~~~

Need Help!

@zoumo4913
Copy link
Owner

Hi,
I faced the problem at first. You can find the solution in README.me and change your DRAMsim3 code. Also, you can download DRAMsim3 from https://github.com/zoumo4913/DRAMsim3 which is a modified version fixing the bug.
Thanks.

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

No branches or pull requests

2 participants