Commit Graph

8 Commits

Author SHA1 Message Date
Anthony Gutierrez 7678ddeb46 misc: ignore object files and static libs in util/m5 2015-11-13 17:03:48 -05:00
Yasuko Eckert fbe3688de3 ext: Add a McPAT regression tester
Add a regression tester to McPAT. Joel Hestness wrote these tests and Yasuko
Eckert modified them to reflect the new McPAT interface and other changes
the previous patch made.
2014-06-04 07:48:20 -07:00
Andreas Hansson bf2f178f85 mem: Add a wrapped DRAMSim2 memory controller
This patch adds DRAMSim2 as a memory controller by wrapping the
external library and creating a sublass of AbstractMemory that bridges
between the semantics of gem5 and the DRAMSim2 interface.

The DRAMSim2 wrapper extracts the clock period from the config
file. There is no way of extracting this information from DRAMSim2
itself, so we simply read the same config file and get it from there.

To properly model the response queue, the wrapper keeps track of how
many transactions are in the actual controller, and how many are
stacking up waiting to be sent back as responses (in the wrapper). The
latter requires us to move away from the queued port and manage the
packets ourselves. This is due to DRAMSim2 not having any flow control
on the response path.

DRAMSim2 assumes that the transactions it is given are matching the
burst size of the choosen memory. The wrapper checks to ensure the
cache line size of the system matches the burst size of DRAMSim2 as
there are currently no provisions to split the system requests. In
theory we could allow a cache line size smaller than the burst size,
but that would lead to inefficient use of the DRAM, so for not we
fatal also in this case.
2014-02-18 05:50:53 -05:00
Steve Reinhardt 545a6fcd04 .hgignore: added src/doxygen 2010-07-27 20:00:38 -07:00
Brad Beckmann c6330094fb m5: Added the default m5out directory to the hg ignore list 2009-11-18 16:34:32 -08:00
Stephen Hines 0ccf9a2c37 Add base ARM code to M5
--HG--
extra : convert_revision : d811bf87d1a0bfc712942ecd3db1b48fc75257af
2008-02-05 23:44:13 -05:00
Steve Reinhardt c2b533cc3b Add cscope files to .hgignore.
--HG--
extra : convert_revision : 82598579baf50cd258714c7e533b96bc6bd1305a
2007-08-03 16:27:51 -07:00
Nathan Binkert 92bb9242fb ignore stuff that we don't want to see in the status
--HG--
extra : convert_revision : c4a4711cf515507d4debcacacef5799adcfe3bef
2007-07-13 22:39:41 -07:00