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

Row read and write timing parameter bug fix #204

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libpimeval/src/pimParamsDDRDram.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class pimParamsDDRDram : public pimParamsDram
int getDeviceWidth() const override { return m_deviceWidth;}
int getBurstLength() const override { return m_BL;}
int getNumChipsPerRank() const override {return m_busWidth / m_deviceWidth; }
double getNsRowRead() const override { return m_tCK * (m_tRCD + m_tRP); }
double getNsRowWrite() const override { return m_tCK * (m_tWR + m_tRP + m_tRCD); }
double getNsRowRead() const override { return m_tCK * (m_tRAS + m_tRP); }
double getNsRowWrite() const override { return m_tCK * (m_tRAS + m_tRP); }
double getNsTCCD_S() const override { return m_tCK * m_tCCD_S; }
double getNsTCAS() const override { return m_tCK * m_CL; }
double getNsAAP() const override { return m_tCK * (m_tRAS + m_tRP); }
Expand Down
4 changes: 2 additions & 2 deletions libpimeval/src/pimParamsLPDDRDram.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class pimParamsLPDDRDram : public pimParamsDram
int getDeviceWidth() const override { return m_deviceWidth;}
int getBurstLength() const override { return m_BL;}
int getNumChipsPerRank() const override {return m_busWidth / m_deviceWidth; }
double getNsRowRead() const override { return m_tCK * (m_tRCD + m_tRP); }
double getNsRowWrite() const override { return m_tCK * (m_tWR + m_tRP + m_tRCD); }
double getNsRowRead() const override { return m_tCK * (m_tRAS + m_tRP); }
double getNsRowWrite() const override { return m_tCK * (m_tRAS + m_tRP); }
double getNsTCCD_S() const override { return m_tCK * m_tCCD_S; }
double getNsTCAS() const override { return m_tCK * m_CL; }
double getNsAAP() const override { return m_tCK * (m_tRAS + m_tRP); }
Expand Down