Need help with cacti?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

143 Stars 67 Forks 4 Commits 8 Opened issues


An integrated cache and memory access time, cycle time, area, leakage, and dynamic power model

Services available


Need anything else?

Contributors list

/\ `\ /\ _ __ /_____ \ /'`\
\ \ \/_\ __ __\ \ ,\/_\ \/
//'/'/\ \/\ \
\ \ \/
/_ /'`\ /'\ \ \/\/\ \ /' /' \ \ \ \ \ \ \ \L\ \/\ \L._/\ _/\ \ _\ \ \ /' /'__ \ \ _\ \ \ _/\ _/._\ _\ _\ _\ /_/ /_\ \ _/ \// \//\/_/\// \// \// \// \// \/___/

A Tool to Model Caches/Memories, 3D stacking, and off-chip IO

CACTI is an analytical tool that takes a set of cache/memory para- meters as input and calculates its access time, power, cycle time, and area. CACTI was originally developed by Dr. Jouppi and Dr. Wilton in 1993 and since then it has undergone six major revisions.

List of features (version 1-7):

The following is the list of features supported by the tool.

  • Power, delay, area, and cycle time model for direct mapped caches set-associative caches fully associative caches Embedded DRAM memories Commodity DRAM memories

  • Support for modeling multi-ported uniform cache access (UCA) and multi-banked, multi-ported non-uniform cache access (NUCA).

  • Leakage power calculation that also considers the operating temperature of the cache.

  • Router power model.

  • Interconnect model with different delay, power, and area properties including low-swing wire model.

  • An interface to perform trade-off analysis involving power, delay, area, and bandwidth.

  • All process specific values used by the tool are obtained from ITRS and currently, the tool supports 90nm, 65nm, 45nm, and 32nm technology nodes.

  • Chip IO model to calculate latency and energy for DDR bus. Users can model different loads (fan-outs) and evaluate the impact on frequency and energy. This model can be used to study LR-DIMMs, R-DIMMs, etc.

Version 7.0 is derived from 6.5 and merged with CACTI 3D. It has many new additions apart from code refinements and bug fixes: new IO model, 3D memory model, and power gating models. Ref: CACTI-IO: CACTI With OFF-chip Power-Area-Timing Models MemCAD: An Interconnect Exploratory Tool for Innovative Memories Beyond DDR4 CACTI-3DD: Architecture-level modeling for 3D die-stacked DRAM main memory

Version 6.5 has a new c++ code base and includes numerous bug fixes. CACTI 5.3 and 6.0 activate an entire row of mats to read/write a single block of data. This technique improves reliability at the cost of
power. CACTI 6.5 activates minimum number of mats just enough to retrieve a block to minimize power.

How to use the tool?

Prior versions of CACTI take input parameters such as cache size and technology node as a set of command line arguments. To avoid a long list of command line arguments, CACTI 6.5 & & let users specify their cache model in a more detailed manner by using a config file (cache.cfg).

-> define the cache model using cache.cfg -> run the "cacti" binary <./cacti -infile cache.cfg>

CACTI also provides a command line interface similar to earlier versions. The command line interface can be used as

./cacti cachesize linesize associativity rwports exclreadports exclwriteports singleendedreadports searchports banks technode outputwidth specifictag tagwidth accessmode cache mainmem objfuncdelay objfuncdynamicpower objfuncleakagepower objfunccycletime objfuncarea devfuncdelay devfuncdynamicpower devfuncleakagepower devfuncarea devfunccycletime eded2none temp wt dataarrramcelltechflavorin dataarrperiglobaltechflavorin tagarrramcelltechflavorin tagarrperiglobaltechflavorin interconnectprojectiontypein wireinsidemattypein wireoutsidemattypein REPEATERSINHTREESEGMENTSin VERTICALHTREEWIRESOVERTHEARRAYin BROADCASTADDRDATAINOVERVERTICALHTREESin PAGESIZEBITSin BURSTLENGTHin INTERNALPREFETCHWIDTHin forcewiretype wiretype forceconfig ndwl ndbl nspd ndcm ndsam1 ndsam2 ecc

For complete documentation of the tool, please refer to the following publications and reports.

CACTI-5.3 & 6 reports - Details on Meory/cache organizations and tradeoffs.

Latency/Energy tradeoffs for large caches and NUCA design: "Optimizing NUCA Organizations and Wiring Alternatives for Large Caches With CACTI 6.0", that appears in MICRO 2007.

Memory IO design: CACTI-IO: CACTI With OFF-chip Power-Area-Timing Models, MemCAD: An Interconnect Exploratory Tool for Innovative Memories Beyond DDR4 CACTI-IO Technical Report -

3D model: CACTI-3DD: Architecture-level modeling for 3D die-stacked DRAM main memory

We are still improving the tool and refining the code. If you have any comments, questions, or suggestions please write to us.

Naveen Muralimanohar
[email protected]

Ali Shafiee [email protected]

Vaishnav Srinivas [email protected]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.