Exposing Implementation Details of Embedded DRAM Memory Controllers through Latency-based Analysis
Mohamed Hassan, Anirudh Mohan Kaushik, Hiren Patel · ACM Transactions on Embedded Computing Systems · 2018
We explore techniques to reverse-engineer DRAM embedded memory controllers (MCs), including page policies, address mapping, and command arbitration. There are several benefits to knowing this information: They allow tightening worst-case bounds of embedded systems and platform-aware optimizations at the operating system, source-code, and compiler levels. We develop a latency-based analysis, which we use to devise algorithms and C programs to extract MC properties. We show the effectiveness of the proposed approach by reverse-engineering the MC details in the XUPV5-LX110T Xilinx platform. Furthermore, to cover a breadth of policies, we use a simulation framework and document our findings.